Create Copy automatically on Source Page Activation | Community
Skip to main content
Krishna_C
New Participant
October 16, 2015
Solved

Create Copy automatically on Source Page Activation

  • October 16, 2015
  • 3 replies
  • 1221 views

Hello Everyone,

I am interested in doing a rollout on activation of the source page and this should be done automatically. 

I tried creating a rollout configuration which has a trigger "on active" and added  edit properties as well to replace for page title and name. 

 I placed this rollout configuration as a property in "cq:LiveSyncConfig" node placed just below the content resource of Source Page.

But when I activate my source page nothing happens. Not sure whether what I have done is proper 

Can someone help me on this please.

Regards,

Krishna

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by VatsalGupta

Hi Krishna,

I believe this can be done programmatically using Event Listener. On Page Activation, inside the handler, the rollout can be processed using the following API -

https://docs.adobe.com/docs/en/cq/5-6-1/javadoc/com/day/cq/wcm/msm/api/RolloutManager.html

Let me know in case you need further help on this.

Thanks

Vatsal

3 replies

smacdonald2008
New Participant
October 16, 2015

"I am interested in doing a rollout on activation of the source page and this should be done automatically"

If you want to activate pages automatically- build a workflow that publishes the page(s). Then build an AEM scheduler service and invoke the workflow programmatically. You can automatically publish pages that way. 

Sham_HC
New Participant
October 16, 2015

Out of the box title is excluded, configure the CQ MSM Content Update Action .  Steps are [1].  If still does not work file an official support request. 

[1]   https://docs.adobe.com/docs/en/cq/5-6-1/administering/multi_site_manager.html#Creating%20a%20Rollout%20Configuration

VatsalGupta
VatsalGuptaAccepted solution
New Participant
October 16, 2015

Hi Krishna,

I believe this can be done programmatically using Event Listener. On Page Activation, inside the handler, the rollout can be processed using the following API -

https://docs.adobe.com/docs/en/cq/5-6-1/javadoc/com/day/cq/wcm/msm/api/RolloutManager.html

Let me know in case you need further help on this.

Thanks

Vatsal