Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

Issue with asset synching between 2 publishers

Avatar

Level 2

Hi all, 

Stuck with an issue where a dynamically generated pdf is created and stored in dam on form submission and then reverse replicated using the model or cq:distribute property to author. 

I can see that the pdf reaching author keeps getting replicated continuously without being successfully processed

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

You need to clear the cq:distribute property on author instance before the PDF gets replicated back to publish instances. This is mentioned in the documentation of reverse replication- 

 

Make sure that you clear the cq:distribute value in your workflow, if you reactivate the content on author to the publish, otherwise it goes in an endless loop !!!

 https://helpx.adobe.com/in/experience-manager/kb/HowToUseReverseReplication.html 

 

I will recommend you to use Sling Content distribution rather than reverse replication as sling content distribution is more reliable and with it you will never see endless loops. Also, it is built for future and is supported in AEM as a cloud service offering. The reverse replication mechanism will not work in cloud service version as it is not supported. 

https://experienceleague.adobe.com/docs/experience-manager-65/administering/security/sync.html?lang=... 

https://medium.com/tech-learnings/sling-content-distribution-in-aem-part-1-35158614dc53 

 

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

You need to clear the cq:distribute property on author instance before the PDF gets replicated back to publish instances. This is mentioned in the documentation of reverse replication- 

 

Make sure that you clear the cq:distribute value in your workflow, if you reactivate the content on author to the publish, otherwise it goes in an endless loop !!!

 https://helpx.adobe.com/in/experience-manager/kb/HowToUseReverseReplication.html 

 

I will recommend you to use Sling Content distribution rather than reverse replication as sling content distribution is more reliable and with it you will never see endless loops. Also, it is built for future and is supported in AEM as a cloud service offering. The reverse replication mechanism will not work in cloud service version as it is not supported. 

https://experienceleague.adobe.com/docs/experience-manager-65/administering/security/sync.html?lang=... 

https://medium.com/tech-learnings/sling-content-distribution-in-aem-part-1-35158614dc53