Expand my Community achievements bar.

SOLVED

Replication from author to author and sync publisher

Avatar

Level 5

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.. 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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.



View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

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.



Avatar

Community Advisor

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

Avatar

Administrator

@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