Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Issue with asset synching between 2 publishers

binoyp
Level 2
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
kunal23
Correct answer by
Level 10
Level 10

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
kunal23
Correct answer by
Level 10
Level 10

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