06-16-2021 09:44 AM
when using REST API, we use Document.CheckOut to fetch the document. We have a use case to cancel the check-out without a check-in, i.e. "cancel" the checkout. Document.CheckIn always versions the document, either major or minor, which we do not want. Use case is to simulate our legacy ECM system. Is there a means to do this?
06-16-2021 10:04 AM
Hello,
You can set "NONE" to the version param of the checkin operation: https://explorer.nuxeo.com/nuxeo/site/distribution/Nuxeo%20Platform-2021/viewOperation/Document.Chec...
More info on the https://doc.nuxeo.com/nxdoc/versioning/#versioning-policies page (see that you can implement custom versionnig policies if needed)
Regards
06-16-2021 10:44 AM
Thanks Gregory. However, since we are using 10.10, the Document.CheckIn doesn't have the 'NONE' option, only "major", "minor". Using "NONE" or null forces a minor version to be created. Any options other than Document.CheckIn on 10.10?
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.