Publishing to Dynamic Media from AEMaaCS programmatically | Community
Skip to main content
Adobe Employee
January 11, 2023

Publishing to Dynamic Media from AEMaaCS programmatically

  • January 11, 2023
  • 3 replies
  • 1646 views

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.

3 replies

Adobe Employee
January 11, 2023

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 . 

acc74867Adobe EmployeeAuthor
Adobe Employee
January 11, 2023

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

Adobe Employee
January 17, 2023

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

Level 2
January 19, 2023

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