How to Get M-Files Built-in Properties, Classes, Object Types?

I'd like to get the properties, classes, object types that are present when a fresh new vault is added. What I see now is some enum like - MFBuiltInPropertyDef, MFBuiltInObjectType, MFBuiltInObjectClass. But in the newly crated vault, apart from those enum ids we see some other stuffs. 

How to get those built-in stuffs of newly created vault?

Parents Reply
  • You're finding all sorts of interesting ones!  I have found a tracker item related to report missing from MFBuiltInObjectType.  It was discarded about six years ago as "will not fix".  I don't have visibility of the reasoning.

    In my vault the report object type has an ID of 15.  As the ID for this is less than 100, I believe that this is static and will be the same in all vaults, so you can probably hard-code this if you need to reference it.  Certainly I've found some references inside our internal source code which hard-codes the value as 15.

Children