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.
Solved! Go to Solution.