HI ,
In my Project in Author instance we have three replication Agents . When we Activate any Page/Pages from **Site-Admin/Using Tree Activation** Page/Pages getting Activated with All the three replication Agents. But our requirement is when we Active , Page Should not be sent to All the replication Agents . Based on the some conditions it should be sent to only one specific replication Agent. Could you please let us know how this requirement can be implemented?. In simple terms, We want to send Page/Pages to only one specific replication Agent (**Not to All Available Replication Agents**), when we do Activation form **Site-Admin/Using Tree Activation**.
Any Help/Pointers to implement above requirement is really Appreciated.
Thanks
K Chaitanya
Solved! Go to Solution.
When you configure out of the box replication agents - you cannot set complex conditions or expressions that are used to select a a specific agent, See this AEM doc topic:
https://docs.adobe.com/docs/en/aem/6-0/deploy/configuring/replication.html#Configuring your Replication Agents
You can configure your replication agents based on a site (but not conditions)- as discussed in this community article:
http://aemfaq.blogspot.ca/2013/05/how-to-configure-replication-agent-to.html
However - if you want to use specific conditions to select a replication agent from site admin - the best way to proceed may be to use the AEM Replication API:
https://docs.adobe.com/docs/en/cq/5-6-1/javadoc/com/day/cq/replication/Replicator.html
This is why this API is exposed as a public API. To handle specific use cased like this one.
When you configure out of the box replication agents - you cannot set complex conditions or expressions that are used to select a a specific agent, See this AEM doc topic:
https://docs.adobe.com/docs/en/aem/6-0/deploy/configuring/replication.html#Configuring your Replication Agents
You can configure your replication agents based on a site (but not conditions)- as discussed in this community article:
http://aemfaq.blogspot.ca/2013/05/how-to-configure-replication-agent-to.html
However - if you want to use specific conditions to select a replication agent from site admin - the best way to proceed may be to use the AEM Replication API:
https://docs.adobe.com/docs/en/cq/5-6-1/javadoc/com/day/cq/replication/Replicator.html
This is why this API is exposed as a public API. To handle specific use cased like this one.
You can achieve this by creating a new user and give permissions to that user for only that particular site which you are activating. In the replication agent configuration set the Agent User Id field to the new user name. The other two replication agents can have different user ids which will not have access to the site content.
For more details refer the documentation shared by Scott.
Views
Replies
Total Likes
Views
Replies
Total Likes
Hi Chaitanya,
Good to hear that you could solve the issue, As @scott and @kunal mentioned we have multiple ways to handle this usecase, if you could mention the approach you followed as a solution here, it would help others who would have the similar requirement.
Views
Replies
Total Likes
HI Bsloki
Both @scott and @kunal suggested same approach. I followed same . If there are any new approaches please let me know.
Thanks
k Chaitanya
Views
Replies
Total Likes
Views
Likes
Replies