How to replicate content to preview in aem as cloud | Community
Skip to main content
May 18, 2024
Solved

How to replicate content to preview in aem as cloud

  • May 18, 2024
  • 1 reply
  • 816 views

Aem as cloud provides the preview instance before publish any lead on how to replicate the content into preview.

Best answer by gkalyan

@somchaitu 

You can create a workflow model that uses the Publish Content Tree process step and set the "agentId" parameter to "preview" in the Arguments field.

 

agentId=preview (default is publish) - replicated to preview instead of publish

includeChildren=true (default is  false) - children are published too instead of just the path

 

Check the below documentation for more clarity about "Publish Content Tree" and all other params that you can use.

https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/operations/replication#publish-content-tree-workflow

 

1 reply

gkalyan
Community Advisor and Adobe Champion
gkalyanCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
May 28, 2024

@somchaitu 

You can create a workflow model that uses the Publish Content Tree process step and set the "agentId" parameter to "preview" in the Arguments field.

 

agentId=preview (default is publish) - replicated to preview instead of publish

includeChildren=true (default is  false) - children are published too instead of just the path

 

Check the below documentation for more clarity about "Publish Content Tree" and all other params that you can use.

https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/operations/replication#publish-content-tree-workflow