ItemID
Item ID. Can be used to represent any item identity, that can be located natively in M-Files or in external system. E.g. value list item id or object id.
| Full name | MFiles.ItemID |
|---|---|
| Proto file | mfiles/structs.proto |
Fields
| Field | Type | Number | Description |
|---|---|---|---|
internal_id | int32 | 1 | The ID of the object or value list item. |
external_repository_id | ExternalRepositoryID | 2 | Used only for objects in external repositories (external connectors). Leave it unset for objects stored in the vault. |
Used by methods
- IRPCObjectOperations.GetIdentitiesAndViewsOfMultipleUnmanagedReducedItems -- Gets the identities and view IDs of unmanaged items of an external repository. Used by M-Files clients; not for applications.
- IRPCViews.CopyView -- Copies a private view that another user has shared, with its child views, into the caller's own views.
- IRPCViews.EnableShareView -- Allows other users to copy the given private views of the caller for a limited time.
- IRPCViews.GetMultipleViews -- Gets several views of external repositories in one call.
- IRPCViews.GetView -- Gets one view of the calling user's view collection, or one external view, as folder data.
Used in fields
ObjectLevelInfo.associated_view_id-- Identifies the view associated with this object if any.ObjectLevelInfo.primary_view_id-- If not null, identifies the primary view of the object that is also the default opening location of the object. Currently applicable only to unmanaged objects.ObjID.item_id-- The ID of the object within its type, initem_id.internal_id.GetIdentitiesAndViewsOfMultipleUnmanagedReducedItemsResponse.view_ids-- Receives the primary view IDs for the requested objects with read access (represented by ItemID struct.)GetViewRequest.view_id-- The view:internal_idfor a vault view, orexternal_repository_idfor an external view.GetMultipleViewsRequest.utf8szviewids-- The IDs of the external views, each withexternal_repository_idset.CopyViewRequest.view_id-- The ID of the shared view (internal_id).EnableShareViewRequest.shared_views-- The IDs (internal_id) of the views to share.