Hi friends
While clicking the Create new version component automatically should create the Minor version in the document..
I have created a new menu item , for "Creating a New Version".Once user selects the “Create New Version” option, internally, the a new minor version of the parent virtual document (from existing snapshot – as original Virtual document is hidden) is created and copied in Draft folder, while old version’s location is still in the same folder Published or Archived Folder.And the current permission set of the document is retained. Whenever a document is moved in Published folder, application logic checks for and moves (if any) any previous versions of the document available in Published folder to “Archived” folder. i.e. at anytime, no two versions of the same document should be available inside published folder.Once any document is in Published or Archived state, a snapshot should be taken and that should be frozen. And the original document should be hidden from the users.
How we can acheive this? What are the Classes and Factory methods to use, How we can create a new minor version inside the Draft folder, ??
While clicking the Create new version component automatically should create the Minor version in the document..