Change version label of a Document
Hi everybody,
I create a minor version (0.1) to solve that 0.0 is never archived. Is it possible to change version label to 0.0 although the real versios is 0.1?
Thanks in advance.
0 votes
2 answers
2290 views
Thanks Florent,
I explain all the process to be ensure of your answer. I create a minor version of a document that this version will be archived (0.0 not archive, as you say is a “inital draft”).This accion will be transparent to the user, and they see 0.1 version instead of 0.0. I cant change the version label of this document, dont you?
Thanks.
It's possible to change the version numbers used by using a different versioning service class. You can register one using the versioningService extension point. You have to subclass the StandardVersioningService. All this however assumes that you know your way around Java code.
05/25/2015
Hi Florent, I'd like to do the same thing for CMIS querying without retrieve "allVersions"… is there some sort of guide for handling this extensions in Nuxeo IDE/Eclipse? Thanks!
05/25/2015