Hi AEM Community,
I'm implemented web optimized URL feature of Dynamic Media for custom components.
I'm following the documentation to create a proxy OSGi service that can deliver web optimized images. https://experienceleague.adobe.com/en/docs/experience-manager-learn/cloud-service/developing/advance...
The code is deployed to all AEM cloud environments.
Now the code works on lower environment like DEV and RDE which are using the same Company root folder. Example: companynamedev
But AssetDelivery is retuning "null" in higher environments like STAGE and PROD which are using same Company root folder. Example: companynameprod
Any help in debugging and fixing the issue is highly appreciated.
Thanks.
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Could you check the logs to see if any errors are being logged?
Based on my experience, the sample code you shared can run into issues on the following line when assets have spaces in their names, since the "seoname"
field doesn't allow spaces:
options.put("seoname", StringUtils.defaultString((String) options.get("seoname"), asset.getName()));
Reviewing the logs should help confirm if that’s what's happening in your case.
Hope this helps!
Could you check the logs to see if any errors are being logged?
Based on my experience, the sample code you shared can run into issues on the following line when assets have spaces in their names, since the "seoname"
field doesn't allow spaces:
options.put("seoname", StringUtils.defaultString((String) options.get("seoname"), asset.getName()));
Reviewing the logs should help confirm if that’s what's happening in your case.
Hope this helps!
Is your Stage and Prod pointing to the same Dynamic Media instance as that of Dev?
Thanks!
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies