AEM with dynamic media and connected aseets content sync from prodto stage | Community
Skip to main content
Level 2
March 16, 2024

AEM with dynamic media and connected aseets content sync from prodto stage

  • March 16, 2024
  • 3 replies
  • 2302 views

we are using central dam which is connected to the sites dam, our central dam is configured with dynamic media.  

 

we have the latest content in prod which we want to sync to stage, the architecture is the same. 

 

How do we plan a full content sync to stage. so that the dynamic media references are not pointing to prod and connected assets dont break

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

3 replies

Raja_Reddy
Community Advisor
Community Advisor
March 17, 2024

Hi @pradeep_varmape 

To plan a full content sync from production to stage while ensuring that dynamic media references are not pointing to production and connected assets don't break.

  1. Backup: Before starting the sync process, it is always recommended to take a backup of your stage environment to ensure you have a restore point in case anything goes wrong during the sync.

  2. Content Sync: Use the appropriate content sync mechanism provided by Adobe AEM to sync the content from the production environment to the stage environment. This could be using replication agents, package deployment, or any other method that suits your setup.

  3. Dynamic Media Configuration: After the content sync, you need to update the dynamic media configuration in the stage environment to ensure that the references are not pointing to the production environment. This involves updating the dynamic media URLs and paths in the stage environment to reflect the stage environment's dynamic media server.

  4. Asset References: Check for any asset references in your content that may be pointing to assets in the production environment. Update these references to point to the corresponding assets in the stage environment. This could include updating image paths, video URLs, or any other references to dynamic media assets.

  5. Testing: Perform thorough testing in the stage environment to ensure that all the content and dynamic media references are working as expected. Test various scenarios and use cases to validate that the connected assets are not broken and the dynamic media functionality is functioning correctly.

Level 2
March 17, 2024

is there a way to correct the dynamic url references based on the environment like running a workflow or something?

diksha_mishra
Community Advisor
Community Advisor
March 18, 2024

@pradeep_varmape Once you see assets available in Stage DAM, you can run the following workflow to sync DM Stage URLs : Dynamic Media Reprocess Assets. More info here: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager-assets/dynamic-media-reprocess-assets/td-p/431414 

kautuk_sahni
Community Manager
Community Manager
May 16, 2024

@pradeep_varmape Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni
kautuk_sahni
Community Manager
Community Manager
May 16, 2024

@pradeep_varmape Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni