Expand my Community achievements bar.

SOLVED

Push content only to specific publisher

Avatar

Level 6

I have a situation, I have 3 publishers but I would like to push only one publisher in some specific scenarios.

Thanks In Advance. :)

1 Accepted Solution

Avatar

Correct answer by
Level 9

FYI: There isn't any OOTB Solution. however, One option is that you can enable & disabled them manually as per you need. If you want to push content to a specific publisher, disabled others manually.

Other options are customized one and you could build your own.

----Jitendra

View solution in original post

5 Replies

Avatar

Employee Advisor

The following article describes this use case - http://aemfaq.blogspot.com/2013/05/how-to-configure-replication-agent-to.html. Basically you will have to create a specific users for your replication agent and assign permission to the one which you want to use and not to others. 

Avatar

Correct answer by
Level 9

FYI: There isn't any OOTB Solution. however, One option is that you can enable & disabled them manually as per you need. If you want to push content to a specific publisher, disabled others manually.

Other options are customized one and you could build your own.

----Jitendra

Avatar

Administrator

Hi

Apart from what Kunal has mentioned, please find below one more community article to help you:-

Link:- http://www.aemcq5tutorials.com/tutorials/restrict-content-specific-publishers-aem/

1. Assign specific permission to user from useradmin console:

        Go to USERADMIN [ http://localhost:4502/useradmin ] console.
        Create a new user with name “japan-queue“. [ Click here to Learn how to create a user in AEM]
        Double click on japan-queue user and go to Permissions tab. Provide read permission to / root level
        From content allow only and deny access to all folders.

2. Creating a forward replication agent:

        Go to MiscAdmin [ http://localhost:4502/miscadmin ].
        Select Agents on Author page under Replication folder and create a new page using Replication Agent as Template.
        Double click on newly created replication agent and edit its settings.

 

Please refer to the article to more help.

Thanks and Regards

Kautuk Sahni



Kautuk Sahni

Avatar

Level 6

Thanks everyone for the quick response. It helps me a lot. 

My purpose is simple , I am following the Jitendra's solution as a quick fix.  

I will take note of all these , In future we might need to implement these .

 

Thanks everyone :) :)

Avatar

Employee Advisor

Hi,

disabling the other agents isn't a good general solution to your problem, because all activations, which happen at the same time (while the other agents are disabled) are also only sent through the active agents. So you might have collateral damage.

The only way to manage this per activation is to use the API. The Replicator interface offers a replicate() method with ReplicationOptions [1]; in these options you set a filter, which just accepts the agent you're interested in.

Kind regards,
Jörg

 

[1] https://docs.adobe.com/docs/en/aem/6-0/develop/ref/javadoc/com/day/cq/replication/Replicator.html#re...