Hi, I want to disable auto-versioning feature while online edit document, for example online edit txt document or when I updating content via online edit in MS Office.
I try to disable this feature by: https://docs.alfresco.com/4.0/tasks/autoversion-disable.html
in alfresco-global.properties and reporitory.properties
nothing from these not working:
version.store.initialVersion = false
version.store.enableAutoVersioning = false
version.store.enableAutoVersionOnUpdateProps = false
Any advice to solve this problem?
Thanks for advice.
Have you tried this on a new document or just a document that was previously versioned?
Yes, I tried with new file after these settings:
version.store.initialVersion = false
version.store.enableAutoVersioning = false
version.store.enableAutoVersionOnUpdateProps = false
and also with files uploaded before this settings.
Behaviour is still same.
You have restarted Alfresco since the changes, correct?
This property should do the job:
version.store.enableAutoVersioning=false
Please remove the leading and trailing spaces after = if you have it. I see all these properties has a space char after =
version.store.initialVersion = false
version.store.enableAutoVersioning = false
version.store.enableAutoVersionOnUpdateProps = false
They should be:
version.store.initialVersion =false
version.store.enableAutoVersioning =false
version.store.enableAutoVersionOnUpdateProps =false
Make sure to restart tomcat after making properties file changes as suggested by @jljwoznica
Note that, if you already have a file which has autoversions then they will continue to get auto version on edit. Try new files after making property file changes. Or else remove cm:autoVersion, cm:initialVersion properties from existing files or reset the values to false:
cm:autoVersion=false
cm:initialVersion=false
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.