Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

How to replicate content to preview in aem as cloud

Avatar

Level 1

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@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/repli...

 

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

@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/repli...