cancel
Showing results for 
Search instead for 
Did you mean: 

Disable auto-increment on publish?

mmurayama_Muray
Confirmed Champ
Confirmed Champ

Nuxeo platform: 5.72 Fasttrack OS: Ubuntu 13.04

How does one configure Nuxeo DM to NOT increment the minor version on publish? I have not been able to find where this is defined, or even configured. I have been given the requirement that the document should NOT auto-increment when it is published. Thanks in advance!

Please note that I am new to Nuxeo and do not have any Java or XML programming knowledge.

1 ACCEPTED ANSWER

Fred_Vadon
Star Contributor
Star Contributor

Hi,

When a document is published, this is actually a version of the document that is published and not the live document. So if your document has not been versioned before publishing, then it has to be done by the system, this is how publishing in Nuxeo was designed in the first place. You could implement a different logic where you put something else than the last version of a document in a Section but then it will not be the publishing mechanism of Nuxeo.

Fred

View answer in original post

5 REPLIES 5

Fred_Vadon
Star Contributor
Star Contributor

Hi,

When a document is published, this is actually a version of the document that is published and not the live document. So if your document has not been versioned before publishing, then it has to be done by the system, this is how publishing in Nuxeo was designed in the first place. You could implement a different logic where you put something else than the last version of a document in a Section but then it will not be the publishing mechanism of Nuxeo.

Fred

Okay, fair enough, however, here is what the executives in my company see.

step 4 is about update metadata on the doc? in that case, the doc to publish is not the major version anymore so it recreates a new version (minor).

Well, dang it. That makes sense. I'll look at reversing that and see if the publish piece works as expected. Thanks for the tips. I'll post back with my results.

Thank you for pointing out the metadata update AFTER the Major increment. That was my problem.

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.