javaaemassets

Get all dynamic media scene7 URL from Asset object in AEM


Why is the asset.listRenditions() function in AEM only returning Static renditions and not Dynamic renditions, even though I can confirm the presence of Dynamic renditions for the asset in the AEM Asset manager?

Java Code Snap: enter image description here

Asset Renditions: We are only getting Static Renditions and original rendition but not Dynamic.

enter image description here


Solution

  • From personal experience, you better create your own class to read the metadata properties to get the URLs you need.