cancel
Showing results for 
Search instead for 
Did you mean: 

Changing the Version Rules

berenoune
Champ in-the-making
Champ in-the-making
I am using the Community Edition of Alfresco (4.2.b) version. The current Versioning uses 1.0 to 1.1 progression OR 1.0 to 2.0 progression. I want to change this and have a 1.00 to 1.01 progression and keep the 1.0 to 2.0 progression.

Taken from this link: http://wiki.alfresco.com/wiki/Versioning
<blockquote>The generation of the version label can be customized by creating a version label policy behaviour and registering it in place of the default version label policy. This gives applications flexibility to determine their own version labeling policies.

The default version label policy uses 1.1, 1.2, style of progressive version labels, moving to 2.0 if the version is considered to be a major change. This is indicated in the version meta data which the version label policy has access to.</blockquote>

Where can I find this from my Alfresco directory ? Can I change this after my installation found in this link http://wiki.alfresco.com/wiki/Download_and_Install_Alfresco OR do I have to start from scratch http://wiki.alfresco.com/wiki/Alfresco_on_Eclipse ?
2 REPLIES 2

abarisone
Star Contributor
Star Contributor
Hi,
take a look here http://stackoverflow.com/questions/2394755/customizing-alfresco-version-labeling-policy, as it may give you some hints.

Regards,
Andrea

berenoune
Champ in-the-making
Champ in-the-making
in the blog post: http://blogs.alfresco.com/wp/pmonks/2009/11/03/version-baselining/
<blockquote>rpalf Says:
Can a minor version with 3 decimals, e.g. 1.001 be used? The increment for minor versions is therefore 0.001 in stead of 0.1. The next minor version for 1.001 is then 1.002. Thanks</blockquote>
<blockquote>Peter Monks Says:
rpalf, Alfresco’s default versioning system only supports increments of 0.1 or 1.0, so can’t directly do what you’re after. That said, the 0.1 increments do not carry over after ten additions, meaning that a document can have versions such as 1.4, 4.10, 17.29, 137.863, etc.</blockquote>
This was still in 2010. In the current version of Alfresco, is it still not possible to change the increment to allow 0.01? Is this abstracted from us?