Version management with check out and check in
As mentioned before, only document objects can be versioned. When a document is created via CMIS, it always has versioning enabled even if the check-out and check-in features have not been used. So when we created, for example, the OpenCMISTest.txt
file with the createDocument
method, Alfresco automatically applied the cm:versionable
aspect and set its properties as follows:
cm:autoVersionOnUpdateProps
: This property is set totrue
, which means that a new version will be created every time a property is updatedcm:versionLabel
: This property is set to1.0
cm:autoVersion
: This property is set tofalse
, so a new version will not be created if content is updated for the documentcm:initialVersion
: This property is set tofalse
, so an initial version will not be created in the version history when document is first created
Because the cm:autoVersion
property is set to false
, a new version will not be created if the document is updated . However...