03-28-2012 02:06 AM
I want to add a chain of operations in nuxeo automation server, that will edit a document version. I know editing a version does not make sense, but this is the requirement of our client that we must meet. I am able to retrieve all versions of a document, version creation on a new document creation by event handling, but I cant edit a version of document.
Any help will will be appreciated. Thanks.
03-30-2012 09:37 AM
Versions are not editable, that's actually their main purpose. When you do a version, you archive it. You might want to copy the version document properties into a new document ? Or do the equivalent of what happens when you "restore" an older version in the interface ? Maybe you have a "branch versioning" use case ? (which is not possible at low level)
03-29-2012 01:03 PM
Operation [Document.Update](http
03-30-2012 05:15 AM
Thanks Florent for your reply. Yes, Document.Update edits the document. But it can only edit the live(checkout) version of a document. I want to edit an old version of a document, is there any way I can customize/ add chain of operations in nuxeo automation server to do that?
03-30-2012 09:37 AM
Versions are not editable, that's actually their main purpose. When you do a version, you archive it. You might want to copy the version document properties into a new document ? Or do the equivalent of what happens when you "restore" an older version in the interface ? Maybe you have a "branch versioning" use case ? (which is not possible at low level)
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.