You are here


createVersion(history, major) this method creates a version snapshot of the current document.

Note: this will add the cm:versionable aspect.


Version history note. A description of the change made.
True to save as a major version increment, false for minor version.


Returns a ScriptVersion object for the new version of the document.

Sending feedback to the Alfresco documentation team

You don't appear to have JavaScript enabled in your browser. With JavaScript enabled, you can provide feedback to us using our simple form. Here are some instructions on how to enable JavaScript in your web browser.