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

How to create a live copy in a workflow

Avatar

Level 2

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?

1 Accepted Solution

Avatar

Correct answer by
Level 8

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

View solution in original post

4 Replies

Avatar

Correct answer by
Level 8

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

Avatar

Level 5

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,

Avatar

Level 1

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

Avatar

Level 1

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