Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

New Custom Action in sidekick for activating page

Avatar

Level 6

I need a custom action in sidekick to activate a page for a particular publishing destination alone. How can I publish to a single destination alone ? I need control for selecting publishing destination

1 Accepted Solution

Avatar

Correct answer by
Level 10

You can make use of workflow. If not have to custom develop based on your need. Below might help in that journey.

http://www.aemstuff.com/#article993

http://www.aemstuff.com/#article999

View solution in original post

3 Replies

Avatar

Correct answer by
Level 10

You can make use of workflow. If not have to custom develop based on your need. Below might help in that journey.

http://www.aemstuff.com/#article993

http://www.aemstuff.com/#article999

Avatar

Level 6

 CQ.HTTP.post(
        CQ.shared.HTTP.externalize("/bin/replicate.json"),
        callback,
        { "_charset_":"utf-8", "path":paths, "cmd":"Activate","":"" }
    );

 

Is it possible to send agent id as parameter in above request ?

Avatar

Level 10

You can send agent id but oob replication server does not recognize. You need to write a custom servlet & replicate to particular agent based on replication api.