IRPCObjectTypes.GetObjectTypes

View as Markdown

Vault API / core read session or assertion idempotent returns metadata structure version

Gets all object types (real object types only, not plain value lists), with their icons.

ServiceObject types MFiles.IRPCObjectTypes
gRPC method/MFiles.IRPCObjectTypes/GetObjectTypes
HTTP (mf-http-grpc)POST /grpc/v1/get-object-types
RequestGetObjectTypesRequest
ResponseGetObjectTypesResponse
Book and levelVault API, core
Kindread
SessionRequired: a session (mfiles-session-id-bin metadata) or a session assertion (x-mf-session-assertion metadata).
Idempotentyes
Returns metadata structure versionyes (in the mfiles-metadata-version-bin trailer)
Streamingnone (unary)

Remarks

Request: GetObjectTypesRequest

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
call_importanceCallImportanceThe importance level of this call. Typically CALL_IMPORTANCE_NORMAL.Values: CALL_IMPORTANCE_DEFAULT (0), CALL_IMPORTANCE_NORMAL (1), CALL_IMPORTANCE_CAN_BE_REJECTED (2).

Response: GetObjectTypesResponse

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page. Fields marked (recursive) refer to a type already on their path.

FieldTypeDescription
object_types[]repeated ValueListThe real object types of the vault, including those the user cannot see (with empty names). See ValueList.
object_types[].idint32The ID of the object type or value list. Object types and value lists share one ID space; property definition IDs and item IDs are separate spaces.
object_types[].name_singularstringThe singular name, for example "Customer". Empty if the caller is not allowed to see the list.
object_types[].name_pluralstringThe plural name, for example "Customers". Empty if the caller is not allowed to see the list.
object_types[].iconbytesThe icon in .ICO format. Filled only by GetObjectTypes and GetObjectType, and only for real object types; empty in GetValueLists and GetValueList.
object_types[].is_real_object_typeboolTrue for an object type, whose items are objects (documents, customers); false for a plain value list (Country, Classes, Users).
object_types[].is_hierarchicalboolTrue if items can have a parent item in the same list (ValueListItem.has_parent).
object_types[].has_ownerboolTrue if every item belongs to an item of another list, the owner list (owner_object_type). For example, contact persons are owned by customers.
object_types[].owner_object_typeint32With has_owner, the ID of the owner list or object type.
object_types[].owner_property_defint32Owner property def. Subobjects of objects of this object type have this property in their meta data for describing owner relationships.
object_types[].optionsOBJTYPEFLAGSFlags of the list, for example can_add_items and is_external. See OBJTYPEFLAGS.
object_types[].options.allboolSpecifies all flags set; Including any future flags.
object_types[].options.can_have_filesboolCan objects have files?
object_types[].options.can_add_itemsboolTrue if new items (value lists) or new objects (object types) can be added. The caller also needs ValueList.object_type_permissions.can_user_add_new_items.
object_types[].options.is_externalboolTrue if the list is marked external. Built-in lists such as Users (6), Workflows (7) and User groups (16) also have this flag.
object_types[].options.show_new_object_command_in_task_paneboolShow the creation command for this type in the task pane?
object_types[].options.is_external_connection_disabledboolIs external connection currently disabled?
object_types[].options.is_translatableboolCan the contents of value list or object type be translated?
object_types[].options.is_separate_property_storageboolTrue if the object type has its own storage of property values for searches.
object_types[].options.disallow_as_grouping_levelboolIs using this object type as a grouping level in views disallowed?
object_types[].options.basicboolIs basic tier object type?
object_types[].default_property_defint32The ID of the lookup property definition that refers to items of this list by default, for example 1079 (Customer) for the Customer object type.
object_types[].read_only_properties_during_insert[]repeated int32The propertydef IDs of those properties that cannot be entered during the creation of a new object because they are not included in the INSERT INTO statement.
object_types[].read_only_properties_during_update[]repeated int32The propertydef IDs of those properties that cannot be entered during the editing of an existing object because they are not included in the UPDATE statement.
object_types[].targets_for_browsing[]repeated ObjectTypeTargetForBrowsingObject type targets for browsing.
object_types[].targets_for_browsing[].target_object_typeint32The ID of the target object type.
object_types[].targets_for_browsing[].viewint32The ID of the view collection where instances of the target object type are being browsed. This view collection resides in the predefined Built-in Views view folder.
object_types[].aclAccessControlListSpecifies the ACL that defines the visibility and other permission settings of this object type. Also specifies who can add new items to this object type.
object_types[].acl.checked_out_to_userint32Specifies the ID of the user who has extended rights because of the checkout operation performed by her. 0 if such user does not exist.
object_types[].acl.is_fully_authoritativeboolSpecifies whether this access control list is set to ignore the secondary permissions that come from the latest checked in version.
object_types[].acl.custom_componentAccessControlListComponentAccesses the custom component of this ACL.
object_types[].acl.restrictive_components[]repeated AccessControlListComponentMapEntryAccesses the restrictive automatic components of this ACL.
object_types[].acl.secondary_access_control_listAccessControlList (recursive)Secondary ACL used for latest version ACL. Not used for access check if null.
object_types[].acl.additive_components[]repeated AccessControlListComponentMapEntryAccesses the additive automatic components of this ACL.
object_types[].object_type_permissionsObjectTypePermissionsForClientWhat the caller may do with the list: see it (can_user_see) and add items or objects (can_user_add_new_items). Filled by the read calls of IRPCObjectTypes and IRPCValueLists.
object_types[].object_type_permissions.can_user_seeboolThe object type is visible for the current user (provided for symmetry).
object_types[].object_type_permissions.can_user_add_new_itemsboolThe current user can add new items.
object_types[].default_acl_for_objectsAccessControlListDefault ACL for new items/objects of this type. If unset, the global default is used (vlitems: read access to all internal users; real objects: full control for all internal users).
object_types[].default_acl_for_objects.checked_out_to_userint32Specifies the ID of the user who has extended rights because of the checkout operation performed by her. 0 if such user does not exist.
object_types[].default_acl_for_objects.is_fully_authoritativeboolSpecifies whether this access control list is set to ignore the secondary permissions that come from the latest checked in version.
object_types[].default_acl_for_objects.custom_componentAccessControlListComponentAccesses the custom component of this ACL.
object_types[].default_acl_for_objects.restrictive_components[]repeated AccessControlListComponentMapEntryAccesses the restrictive automatic components of this ACL.
object_types[].default_acl_for_objects.secondary_access_control_listAccessControlList (recursive)Secondary ACL used for latest version ACL. Not used for access check if null.
object_types[].default_acl_for_objects.additive_components[]repeated AccessControlListComponentMapEntryAccesses the additive automatic components of this ACL.
object_types[].vl_sorting_type_reservedVLSortingTypeThe sorting type of value list items. NOTE: This value is not currently used but is reserved for future use. Currently, sorting order is specified on the property definition level only.Values: VLSORTING_TYPE_BY_DISPLAY_NAME (0), VLSORTING_TYPE_BY_EXTERNAL_ID (1).
object_types[].sort_ascending_reservedboolTrue to sort in ascending order, false to sort in descending order. NOTE: This value is not currently used but is reserved for future use. Currently, sorting order is specified on the property definition level only.
object_types[].guidstringThe GUID of the object type or value list, with braces. Resolve it to the vault's ID with GetMetadataStructureItemIdByGUID.
object_types[].preferred_title_property_def_idint32Property definition ID of the title property for the user's preferred language.
object_types[].search_characteristicsObjectTypeSearchCharacteristicsIf set, specifies search characteristics of the object type.
object_types[].search_characteristics.exclude_in_entire_file_data_searchboolSpecifies whether object type is excluded from file content searches.
object_types[].search_characteristics.exclude_in_entire_meta_data_searchboolSpecifies whether object type is excluded from metadata searches.
object_types[].indexing_definitionObjectTypeIndexingDefinitionIf set, defines the indexed value lists and properties of the object type. Used for searching from Master Storage.
object_types[].indexing_definition.indexed_value_lists[]repeated int32IDs of indexed value lists.
object_types[].indexing_definition.indexed_properties[]repeated int32IDs of indexed properties.
object_types[].view_idint32The ID of the object type specific view.