Live copy original page path
How can I get the original (source) path of a live copied page?
Thanks!
How can I get the original (source) path of a live copied page?
Thanks!
As smacdonald2008 said it's very good article to get detail information over MSM API.
Here you have direct API url which helps you to achieve your requirement and code snippet.
LiveRelationshipManager ("The Adobe AEM Quickstart and Web Application.")
LiveRelationship ("The Adobe AEM Quickstart and Web Application.")
@Reference
private LiveRelationshipManager liveRelationshipManager;
try {
String sourcePath = liveRelationshipManager.getLiveRelationship(resource, true).getSourcePath();
} catch (WCMException exception) {
exception.printStackTrace();
}
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.