Hi team,
Assets are uploaded to dynamic media. We have a requirement to sync the asset that are uploaded in dynamic media to aem by accessing DM using Adobe i/o assets compute process. Has anyone worked on the similar functionalities. How to make the connection from i/o to dynamic media?
referred this document but didn't have much details on how to access DM and sync the asset to AEM. Please let me know if there's a better way to accomplish this process.
Thank you.
Views
Replies
Total Likes
The Adobe Asset Compute Service is designed primarily to process assets that come into AEM, not to pull assets from external systems. Typically, you use it to generate thumbnails, previews, metadata, etc., for assets uploaded to AEM.
However, syncing assets from DM to AEM is a different challenge and requires integrating Adobe APIs differently.
There are two likely scenarios here:
If your DM assets are hosted in Scene7, you can access them via Scene7 APIs:
Use Scene7 REST APIs:
Authenticate via OAuth or IMS.
Get a list of assets via getAssets or similar endpoints.
Download the asset (usually by building a Scene7 URL).
Push to AEM DAM:
Use the AEM HTTP API (Assets HTTP API or custom servlet).
Upload the assets to the DAM via AEM endpoints.
POST https://<aem-host>/api/assets/<path> Authorization: Bearer <token> Content-Type: multipart/form-data
If you're using Dynamic Media with AEMaaCS, the assets are generally uploaded to AEM first and then published to DM.
But if assets are exclusively uploaded to Dynamic Media (not AEM), you may need to:
Query Adobe Experience Platform Assets APIs if available.
Or use Adobe I/O Events + custom Asset Compute worker to listen for DM uploads, and sync to AEM.
However, Adobe does not expose a direct API to pull assets from DM into AEM via Asset Compute workers.
Rather than relying on Asset Compute, build a custom Adobe I/O Runtime action or Adobe App Builder app to:
Query Dynamic Media (Scene7) using its API.
Download the asset file.
Upload to AEM via HTTP API (Assets API or Sling POST Servlet).
(Optional) Schedule or trigger this via Adobe I/O Events or webhooks.
Asset Compute workers are triggered by asset uploads to AEM, not designed to pull assets into AEM. So it’s not the right tool for DM → AEM syncing.
Views
Replies
Total Likes
You can go through this article on accessing DM APIs - https://medium.com/@bsaravanaprakash/programmatic-crud-operations-on-adobe-dynamic-media-2e0eae67f40...
Hope this helps!
Thanks
Narendra
Views
Replies
Total Likes
Hi @Keerthana_H_N ,
Adobe Asset Compute Workers are designed to enhance assets after they are uploaded to AEM not to pull assets from external systems like DM into AEM.
So, to sync DM => AEM, you must use:
- Adobe I/O Runtime App (via Adobe App Builder)
- Scene7 API (Dynamic Media Classic) or other DM APIs
- AEM Assets HTTP API or Sling POST endpoint
Regards,
Amit
Views
Replies
Total Likes