cancel
Showing results for 
Search instead for 
Did you mean: 

Disabling auto-versioning at online editing

mvlcek
Champ on-the-rise
Champ on-the-rise

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.

4 REPLIES 4

jljwoznica
Star Collaborator
Star Collaborator

Have you tried this on a new document or just a document that was previously versioned?

mvlcek
Champ on-the-rise
Champ on-the-rise

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.

jljwoznica
Star Collaborator
Star Collaborator

You have restarted Alfresco since the changes, correct?

abhinavmishra14
World-Class Innovator
World-Class Innovator

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

~Abhinav
(ACSCE, AWS SAA, Azure Admin)