Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

How to create a live copy in a workflow

dejan_novak1
Level 2
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
Scott_Brodersen
Correct answer by
Level 8
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
Scott_Brodersen
Correct answer by
Level 8
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

Julio_Baixauli
Level 4
Level 4

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,

ompandeyy
Level 1
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

karttikm5563632
Level 1
Level 1

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