How to create a live copy in a workflow | Community
Skip to main content
New Participant
October 16, 2015
Solved

How to create a live copy in a workflow

  • October 16, 2015
  • 4 replies
  • 1762 views

I am looking for a way to create a live copy out of a workflow using the server API.
There are methods to get current live copies, but I don't see anywhere
one for creating a new live copy.
Is there anyway to programmatically create a live copy?
One example how to do it?

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 Scott_Brodersen

I've never used it, but the LiveCommand class has a CreateLiveCopy method: http://dev.day.com/docs/en/cq/current/javadoc/com/day/cq/wcm/msm/common/LiveCommand.html

scott

edit: fixed the link

4 replies

karttikm5563632
New Participant
May 9, 2019

This question is still unanswered. kautuk sahnibslokesh​, do we have any alternative API for LIveCommand for AEM 6.3 and above?

New Participant
August 17, 2017

Hi Scott,

Please, could you provide the equivalent class or method for AEM6.3 Java API ?

  • com.day.cq.wcm.msm.common.LiveCommand seems to be not available anymore with AEM.

Thanks

Scott_Brodersen
Scott_BrodersenAccepted solution
New Participant
October 16, 2015

I've never used it, but the LiveCommand class has a CreateLiveCopy method: http://dev.day.com/docs/en/cq/current/javadoc/com/day/cq/wcm/msm/common/LiveCommand.html

scott

edit: fixed the link

New Participant
October 16, 2015

Hi Scott.

Please, could you provide the equivalent class or method for AEM 6 Java API? I can't find it!

Thank you very much.

Regards,