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?

Thanks -

0 votes

1 answers



0 votes