Changing Default Version from 1.0 to 0.1

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
twallace
Active Member

Changing Default Version from 1.0 to 0.1

I am a relatively new user to Alfresco.  We are using Community Edition 4.2.f following the basic install instructions.  I have been able to successfully create a rule to change the cm:versionLabel to 0.1 upon initial upload to a particular folder.  However, when viewing the document properties, the "Last Version" still indicates 1.  Additionally, when I attempt to upload a new minor version, I get an upload error.

What is the best way to change the default label from 1.0 to 0.1?  It doesn't matter if it is system-wide or rule-based, we just need to have this functionality.

Thanks for any assistance!
1 Reply
twallace
Active Member

Re: Changing Default Version from 1.0 to 0.1

I've been wrestling this issue for over 2 weeks and finally found a simple solution in Share.

Create a Folder Rule with the following:

Remove Versionable Aspect
Add Versionable Aspect
Change cm:versionLabel to 0.1
Check Out (no destination folder required)
Check In (as minor version)

This creates a locked document with a *hidden* version label.  Manually upload a new version (same document is fine) and set it to a minor version.  Document is then available with 0.1 as version label and with 0.1 as the last Version in the version history. 

I implemented this on a folder as a Space Template, so that non-technical users don't need to do anything except create a new folder from the template.  The document is then locked for editing by them and ready for the first 0.1 version to go in.