۶Ƶ Asset Link leaves links in an inaccessible state when using InDesign
This article explains how to resolve an issue where ۶Ƶ Asset Link causes asset links in InDesign to become inaccessible. The root cause is a misconfiguration in ۶Ƶ Experience Manager (AEM), specifically related to the Maximum number of resources property. The resolution involves lowering this value to reduce the number of asset paths included in a single request URL, ensuring compatibility with URL length limits across clients, servers, and network components.
Description description
Environments
۶Ƶ Experience Manager (AEM) Assets integration with Creative Cloud applications, specifically InDesign
Issue/Symptoms
When using ۶Ƶ Asset Link within InDesign, the status of embedded links to assets stored in AEM Assets can become “inaccessible”.
Cause
- The issue is caused by a misconfiguration of the Maximum number of resources property in the OSGi settings for
DAM Batch Metadata Servlet
within AEM. - When InDesign connects to AEM via Asset Link, it reads this property during the initial connection. InDesign uses it while constructing a request URL for AEM to check the status of linked assets in open InDesign documents.
- However, there is a limit to the maximum URL length that can be processed—by InDesign’s HTTP client, the AEM server, and any intermediate network components that handle the HTTP request between the client (InDesign) and the server (AEM).
- InDesign could construct a URL with a long list of asset paths in a single
link status
request. If the URL exceeds the length of a supported HTTP request, it fails silently, resulting in an invalid link status in InDesign.
Resolution resolution
To address the issue in ۶Ƶ Asset Link when using InDesign, follow these steps:
-
Verify the current setting for the Maximum number of resources (
cq.dam.batch.metadata.maxresources
) in theDAM Batch Metadata Servlet
(com.day.cq.dam.core.impl.servlet.BatchMetadataServlet
):-
Log in to the Author instance.
-
In your browser, send a GET request to:
/content/dam/dam.batch.metadata.json
-
The response will be a JSON object, such as:
{ "limit": 100 }
, indicating the current resource limit.
-
-
If this value is set to its default (100), reduce it to a lower value, such as 15.
-
Once changed, confirm the new limit by sending a GET request as above.
-
Use the Links panel within InDesign to verify that all asset links are displaying the correct status.
-
If issues persist, capture TRACE-level logs during occurrences for further analysis.
Related reading
۶Ƶ Asset Link and AEM creative workflows