Views
Replies
Total Likes
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();
}
Views
Replies
Total Likes
Using the MSM API - you can get a lot of information.
This artilce will show you how to use this API to obtain information from MSM. You can look at the Javadocs for learn about other methods and functionality.
Views
Replies
Total Likes
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();
}
Views
Replies
Total Likes
Thank you!
Do you have a sightly example? No luck with the following:
const liveRelationshipManager = resource.adaptTo(com.day.cq.wcm.msm.api.LiveRelationshipManager);
sourcePath = liveRelationshipManager.getLiveRelationship(resource, true).getSourcePath();
Views
Replies
Total Likes
Do you mean an artilce of running the MSM API in a HTL Java backend?
Views
Replies
Total Likes
In the Article i listed the names of the main MSM objects are listed. See LiveCopy for example in the Javadocs:
Views
Replies
Total Likes
Not java, javascript.
Views
Replies
Total Likes
Not possible - the MSM is a Java Strongly typed API - you have to use it within an OSGi bundle and use the MSM API as discussed in the article.
Views
Replies
Total Likes
Thank you. Is it possible to get the master of a language copy with this API?
Views
Replies
Total Likes
Views
Likes
Replies