Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
This conversation has been locked due to inactivity. Please create a new post.
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.
Thanks. smacdonald2008. PageManager.createRevision("/path") does the trick.
View solution in original post
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
Likes
Replies