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

How to replicate content to preview in aem as cloud

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

gkalyan
gkalyanAccepted solution
Level 1
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

 

1 reply

gkalyan
gkalyanAccepted solution
Level 1
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

 

Translate