Skip to main content
Adobe Employee
Jan 11, 2023 1:46 PM UTC

Publishing to Dynamic Media from AEMaaCS programmatically

Hi Team,

 

Looking for a recommendation to publish assets programmatically from AEMaaCS to DM (Scene 7), specifically from a custom step in a workflow.

 

Currently, the DM Publish Servlet ([asset].dmpublish.json) will be invoked from the UI when publishing manually any asset to DM. Is there a way to programmatically do the same from the backend following best practices?

 

Thanks in advance! 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

4 replies

Adobe Employee
Jan 11, 2023 2:36 PM UTC

Can you not add the 'Dynamic media upload' step directly in your workflow?

 

Else if you meet the below conditions, like setting this scene7filestatus property , the ootb launcher should get called to upload it to DM . 

Translate
acc74867Adobe EmployeeAuthor
Adobe Employee
Jan 11, 2023 2:43 PM UTC

Thanks @digarg17, this step will not publish the asset automatically (we tested it).

Translate
Adobe Employee
Jan 17, 2023 2:03 PM UTC

Hi,

Welcome to AEM Community !!
To publish an asset programmatically, you might not find any workflow or a way on AEM User Interface.

Dynamic Media Classic IPS API is used to perform operations programmatically on assets.

This might help : https://experienceleague.adobe.com/docs/dynamic-media-developer-resources/image-production-api/operation-methods/operation-parameters/r-set-asset-publish-state.html?lang=en

Thanks,

Vikram Gaur

Translate
Level 2
Jan 19, 2023 4:26 AM UTC

Hi acc74867 , 

are you able to find the solution for this , because we also have the similar usecase, where we want to publish asset to dynamic media using an api.

 

If you found a solution , please let me know.

 

Thanks in advance

Translate