11-26-2019 08:14 AM
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.
11-26-2019 08:42 AM
Have you tried this on a new document or just a document that was previously versioned?
11-26-2019 09:14 AM
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.
12-04-2019 12:07 PM
You have restarted Alfresco since the changes, correct?
12-04-2019 04:28 PM
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
Explore our Alfresco products with the links below. Use labels to filter content by product module.