ValueList

View as Markdown

An object type or a value list (basic definition). Despite the name, this message describes both: is_real_object_type is true for object types, whose items are objects.

Returned by GetObjectTypes, GetObjectType, GetValueLists and GetValueList. Lists that the caller is not allowed to see are returned with empty names and object_type_permissions.can_user_see false.

Full nameMFiles.ValueList
Proto filemfiles/structs.proto

Fields

FieldTypeNumberDescription
idint321The 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.
name_singularstring2The singular name, for example "Customer". Empty if the caller is not allowed to see the list.
name_pluralstring3The plural name, for example "Customers". Empty if the caller is not allowed to see the list.
iconbytes4The icon in .ICO format. Filled only by GetObjectTypes and GetObjectType, and only for real object types; empty in GetValueLists and GetValueList.
is_real_object_typebool5True for an object type, whose items are objects (documents, customers); false for a plain value list (Country, Classes, Users).
is_hierarchicalbool6True if items can have a parent item in the same list (ValueListItem.has_parent).
has_ownerbool7True if every item belongs to an item of another list, the owner list (owner_object_type). For example, contact persons are owned by customers.
owner_object_typeint328With has_owner, the ID of the owner list or object type.
owner_property_defint329Owner property def. Subobjects of objects of this object type have this property in their meta data for describing owner relationships.
optionsOBJTYPEFLAGS10Flags of the list, for example can_add_items and is_external. See OBJTYPEFLAGS.
default_property_defint3211The ID of the lookup property definition that refers to items of this list by default, for example 1079 (Customer) for the Customer object type.
read_only_properties_during_insertrepeated int3212The 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.
read_only_properties_during_updaterepeated int3213The 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.
targets_for_browsingrepeated ObjectTypeTargetForBrowsing14Object type targets for browsing.
aclAccessControlList15Specifies 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_type_permissionsObjectTypePermissionsForClient20What 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.
default_acl_for_objectsAccessControlList16Default 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).
vl_sorting_type_reservedVLSortingType17The 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).
sort_ascending_reservedbool18True 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.
guidstring19The GUID of the object type or value list, with braces. Resolve it to the vault's ID with GetMetadataStructureItemIdByGUID.
preferred_title_property_def_idint3221Property definition ID of the title property for the user's preferred language.
search_characteristicsObjectTypeSearchCharacteristics22If set, specifies search characteristics of the object type.
indexing_definitionObjectTypeIndexingDefinition23If set, defines the indexed value lists and properties of the object type. Used for searching from Master Storage.
view_idint3224The ID of the object type specific view.

Used by methods

Used in fields