How to specify a version evolution when updating a document using the drive
Hello
I have been able to configure a FileImporter so as to let the Drive know about my specific document type:
As an example, if I put the file AAA.xxx into the Drive space (using a Windows machine), my FileImporter is tought to create a document AAA of type MyType into the workspace.
This works well!
Now I want to change my AAA.xxx file locally. If I update the Nuxeo Drive, how can I:
- modify the AAA document (instead of re-creating it) ?
- specify the version strategy (eg. incrementing the minor version id) ?
Thanks for any hint.
Regards Christian Arnault
0 votes
0 answers
1659 views
I have added the versioning policy to the FileManager extension
<component name="org.in2p3.ca.filemanager"> <extension target="org.nuxeo.ecm.platform.filemanager.service.FileManagerService"
</extension> </component>
But still no versionning happens
[note that my create action in my CAFileImporter does create the proper document type]
Christian