Friday, January 29, 2016

How to perform Tree Activation in CQ AEM

Use Case: You want to tree activate a page as part of your code or scheduler

Example:

Replication Helper Class

 

Tree Activation Service

Tree Activation Impl



Note: In above example replication action is performed using admin user. You could also create a replication user and use that user to replicate instead.