Replication from author to author and sync publisher | Community
Skip to main content
AEMLearner-1989
Level 4
February 2, 2024
Solved

Replication from author to author and sync publisher

  • February 2, 2024
  • 3 replies
  • 726 views

Hi,

 

We have requirement as follows

Dam author - publish tags from dam author instance to AEM sites author instance and sync to publish instance. It's working as expected via launcher.

 

But there is an issue with unpublish scenario from dam author to author and sync with publisher.. Getting path not found exception becos dam author is source for tags management  hence it's deleting the tags from AEM sites author first and trying to replicate the tags to publisher instance.. 

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 Raja_Reddy

Hi @aemlearner-1989 
you can modify the replication configuration to ensure that the tags are replicated to the publish instance before being deleted from the AEM sites author instance

  1. Open the replication configuration for the AEM sites author instance.

  2. Locate the replication agent that is responsible for replicating the tags to the publish instance.

  3. Edit the replication agent configuration and add the following properties:

    cq:replicateFromAuthor=true
    cq:replicateOnDelete=true

    The cq:replicateFromAuthor property ensures that the replication agent replicates the tags from the AEM sites author instance to the publish instance.

    The cq:replicateOnDelete property ensures that the replication agent replicates the tags to the publish instance before deleting them from the AEM sites author instance.

  4. Save the replication agent configuration and restart the replication agent.

3 replies

Raja_Reddy
Community Advisor
Raja_ReddyCommunity AdvisorAccepted solution
Community Advisor
February 2, 2024

Hi @aemlearner-1989 
you can modify the replication configuration to ensure that the tags are replicated to the publish instance before being deleted from the AEM sites author instance

  1. Open the replication configuration for the AEM sites author instance.

  2. Locate the replication agent that is responsible for replicating the tags to the publish instance.

  3. Edit the replication agent configuration and add the following properties:

    cq:replicateFromAuthor=true
    cq:replicateOnDelete=true

    The cq:replicateFromAuthor property ensures that the replication agent replicates the tags from the AEM sites author instance to the publish instance.

    The cq:replicateOnDelete property ensures that the replication agent replicates the tags to the publish instance before deleting them from the AEM sites author instance.

  4. Save the replication agent configuration and restart the replication agent.

aanchal-sikka
Community Advisor
Community Advisor
February 2, 2024

Hello @aemlearner-1989 

 

If I am understanding it right. For replication, your set-up is:

DAM Author -> Sites Author -> Sites publish

 

  • Can you please confirm?
  • Are you getting the error on Sites Author on deleting?
  • Can you also please share the replication settings from both the Author instances (Triggers Tab)? 

 

 

Aanchal Sikka
kautuk_sahni
Community Manager
Community Manager
February 6, 2024

@aemlearner-1989 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni