cancel
Showing results for 
Search instead for 
Did you mean: 

How to access major and minor version number from docModel, without uid schema

Patrick_
Champ in-the-making
Champ in-the-making

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 -

1 REPLY 1

Pradeep_Bhat
Star Contributor
Star Contributor