Hi,
So how do I programically version a page? Basically what I want is regardless of the page has been modified or not, the page should create a new version when I execute the code.
I have tried VersionManager.checkin(path), but it doesn't work.
Thanks.
Solved! Go to Solution.
Views
Replies
Total Likes
Thanks. smacdonald2008. PageManager.createRevision("/path") does the trick.
Views
Replies
Total Likes
Look at this API for AEM:
https://docs.adobe.com/content/docs/en/cq/5-6-1/javadoc/com/day/cq/wcm/api/PageManager.html
Views
Replies
Total Likes
Thanks. smacdonald2008. PageManager.createRevision("/path") does the trick.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies