AnsweredAssumed Answered

Changing default value of cm:autoVersion to false from AMP?

Question asked by ewerk on Mar 4, 2009
Hi, we use AMP files for as much as possible, and try hard to avoid changing any Alfresco-supplied files. However this is not always possible, which might give us problems down the road.

How do we change the default value for the cm:autoVersion in the cm:versionable aspect from "true" to "false" without modifying /config/alfresco/model/contentModel.xml? According to the wiki, that is the only way:

http://wiki.alfresco.com/wiki/Versioning_Behaviour#Configuring_the_Auto-Version_Behaviour

Idea: Can we write Java code to change the default value after on bootstrap?

Outcomes