How to create a live copy programmatically in AEM 6.3?

Avatar

Avatar

karttikm5563632

Avatar

karttikm5563632

karttikm5563632

09-05-2019

I have referred to the question How to create a live copy in a workflow   but it also doesn't provide an alternative for the LiveCommand API for AEM 6.3.

What is the alternate api for creating a live copy in AEM and if there is none, what is the recommended way to create a live copy programmatically?

Replies

Avatar

Avatar

jbrar

Employee

Avatar

jbrar

Employee

jbrar
Employee

09-05-2019

Avatar

Avatar

karttikm5563632

Avatar

karttikm5563632

karttikm5563632

09-05-2019

This does give a workaround to create a live copy. However, I am looking for a more direct approach like LiveCommand java api that was used to be available in the previous AEM/CQ versions and exposed a method createLiveCopy.

In simple words, looking for an alternative of the LiveCommand API for AEM 6.3.

Avatar

Avatar

sreenivasb1988

Avatar

sreenivasb1988

sreenivasb1988

01-08-2020

You can check here - https://link.medium.com/d291K46uA8