Issue with asset synching between 2 publishers | Community
Skip to main content
Level 2
December 29, 2020
Solved

Issue with asset synching between 2 publishers

  • December 29, 2020
  • 1 reply
  • 961 views

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

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

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=en#sling-distribution 

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

 

1 reply

Kunal_Gaba_
Kunal_Gaba_Accepted solution
December 29, 2020

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=en#sling-distribution 

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