How to access major and minor version number from docModel, without uid schema
The hierarchy table supports the major and minor version information, but I cannot find a way to set or get these values given a document model. I see documentation that does this with properties in the UID schema, but I have a bunch of document types that inherit from Document (not File).
I note that DocumentModel supports things like isVersion, isMajorVersion, etc. Is there no way to get at the version numbers other than through the uid schema?
Hi Patrick, Please refer my answer https://answers.nuxeo.com/general/q/fef78cff565440d580b4db997e5eed4f/Disable-auto-versioning