Live Copy through CQ API | Community
Skip to main content
Level 2
October 16, 2015
Solved

Live Copy through CQ API

  • October 16, 2015
  • 1 reply
  • 715 views

Hi

We have a requirement to create a live copy of the page as soon as a new page is created in source location i.e. if a page is created at "/content/site1/en/page1", then a live copy should be created at "/content/site2/en/page1". To achieve this, we plan to do following:

1) create a workflow with Process Step having code to live copy at target page

2) associate the workflow with workflow launcher for create action

 

However, for #1, I dont see any API to create a live copy through CQ Java API. I am able to achieve a normal copy through aforesaid approach as copy method exists in PageManager. Can you help me point out the right API in CQ to create a live copy? I am using CQ 5.5.

 

Thanks

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 Yogesh_Upadhyay

Why you are not using roll out config feature of live copy to do this ?

Some help URL

1) http://dev.day.com/docs/en/cq/5-5/developing/multi_site_manager_dev.html (API)

2) http://dev.day.com/docs/en/cq/current/administering/multi_site_manager.html (Through OOTB rollout config)

Yogesh

1 reply

Yogesh_Upadhyay
Yogesh_UpadhyayAccepted solution
Level 6
October 16, 2015

Why you are not using roll out config feature of live copy to do this ?

Some help URL

1) http://dev.day.com/docs/en/cq/5-5/developing/multi_site_manager_dev.html (API)

2) http://dev.day.com/docs/en/cq/current/administering/multi_site_manager.html (Through OOTB rollout config)

Yogesh