Skip to main content
Pankaj_Datt
Level 1
May 15, 2026
Question

Dynamic Media URL format inconsistency across AEM delivery methods 

  • May 15, 2026
  • 0 replies
  • 6 views

Hi Everyone,

I am working on Dynamic Media integration in AEM as a Cloud Service using the AssetDelivery API.

Currently, my Sling Model generates URLs like:

/adobe/dynamicmedia/deliver/dm-aid--e3ba909d-36de-46ea-ba72-bd8737f9c61f/OIP.jpeg.webp?preferwebp=true

using:

assetDelivery.getDeliveryURL(assetResource, options);

However, from the AEM Assets Console, I can see URLs in the following format:

/adobe/assets/urn:aaid:aem:20c84486-5512-4ac8-b8f7-a8ba2c735155/as/OIP.avif?width=1024&quality=65&assetName=OIP.jpeg

My understanding is:

  • /adobe/dynamicmedia/deliver/... → Scene7 / Dynamic Media Deliver URLs
  • /adobe/assets/urn:aaid:aem:... → Dynamic Media with OpenAPI (Next-Gen DM) URLs

I want to understand:

  1. Can AssetDelivery#getDeliveryURL() generate the OpenAPI-style /adobe/assets/urn:aaid:aem:... URLs?
  2. If not, what is the recommended API/service to generate those URLs programmatically inside Sling Models?
  3. Is additional OpenAPI configuration required in AEM Cloud Service to expose asset URNs/asset IDs?
  4. Is there any metadata/property available on the Asset object that maps to the urn:aaid:aem: identifier?
  5. How can we determine programmatically whether an asset is configured for Scene7 delivery vs OpenAPI delivery?

Currently:

  • Assets are approved and published
  • Dynamic Media is enabled
  • AssetDelivery service is available and working
  • No hardcoded URLs are being used

Any guidance or documentation references would be really helpful.

Thanks!