cancel
Showing results for 
Search instead for 
Did you mean: 

Documents versions management

swardi
Champ in-the-making
Champ in-the-making
Hi everybody,

i am implementing a service that upload and updates documents in alfresco from calling the alfresco webservices. My Question: how can i updates a document that exists without increments the version or revision number. It means i wannt to increments the version only if it is required (The user decide to increments it) but not automatically.

Better if i can define wich version get the document.
example:
1. create a document with 1.0.
2. update it and give it the version 2.0 if i wannt.
is it possible to do that?

Thanks.
3 REPLIES 3

openpj
Elite Collaborator
Elite Collaborator
Yes, you need to change the autoversion property and you need to set this property with a "false" value before updating the content.
In this way the node will be versioned only when you will invoke the check-in operation.
Here all the details in the Alfresco wiki:
http://wiki.alfresco.com/wiki/Versioning_Behaviour#Configuring_the_Auto-Version_Behaviour_for_Proper...

To define the major version, during the check-in operation you need to set a boolean to define if you would like to change the version from 1.x to 2.x.
Hope this helps.

ssaravanan
Champ in-the-making
Champ in-the-making
Is it possible in Alfresco DM to revert a document to previous version as in Share ?

swardi
Champ in-the-making
Champ in-the-making
I can make the version minor or major to a document. but my question now is how to change the value of the "modifier" property. this is always the loged in user.

any idee??

thanks.