Lookup
One selected value list item or object in a lookup value.
To set a lookup, value_list_item_info.obj_id is enough: the value list ID (for a lookup to
objects, the object type ID) in type and the item ID in item_id.internal_id. In values read
from the server, value_list_item_info also has the item's name, guid and external_id, and
version is OBJ_VER_VERSION_TYPE_LATEST with internal_version -1.
| Full name | MFiles.Lookup |
|---|---|
| Proto file | mfiles/structs.proto |
Fields
| Field | Type | Number | Description |
|---|---|---|---|
value_list_item_info | ItemInfo | 1 | The selected item. Only obj_id is needed when setting a value. |
version | ObjVerVersion | 2 | The version of the selected object. The server returns OBJ_VER_VERSION_TYPE_LATEST (-1), meaning the latest version. |
Used by methods
- IRPCSearch.GetFolderContents -- Lists the contents of a view or a view level: subviews, grouping folders and objects.
Used in fields
MultiSelectLookup.values-- The selected items, each as a Lookup.ObjectVersionActivity.user-- Information of user who created the version.TraditionalFoldersOrDelta.folders-- Traditional folders. This contains inserted or updated traditional folders if this struct represents a delta, otherwise it contains just a "normal" array of traditional folders.TraditionalFolderWithParent.value-- Traditional folders. This contains inserted or updated traditional folders if this struct represents a delta, otherwise it contains just a "normal" array of traditional folders.TypedValueUnion.lookup-- The value ofDATATYPE_LOOKUP: one value list item or object.GetFolderContentsResponse.traditional_folders-- Resulting traditional folders array.