# ItemInfo

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ItemInfo/

Information about the item (value list item or object).

- **Full name:** `MFiles.ItemInfo`
- **Proto file:** [`mfiles/structs.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/structs.proto)

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-obj_id"></a>`obj_id` | [`ObjID`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ObjID/index.md) | 1 | The object id or value list item id. Includes the object type or value list id. |
| <a id="f-name"></a>`name` | `string` | 2 | The name of the item. |
| <a id="f-external_id_status"></a>`external_id_status` | [`ExtIDStatus`](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.ExtIDStatus/index.md) | 3 | The status of this item's external ID. Values: `EXT_IDSTATUS_UNKNOWN` (0), `EXT_IDSTATUS_EXTERNAL` (1), `EXT_IDSTATUS_INTERNAL` (2), `EXT_IDSTATUS_DISCARDED` (3), `EXT_IDSTATUS_NOT_AVAILABLE` (4), `EXT_IDSTATUS_EXTERNAL_REDUCED` (5). |
| <a id="f-external_id"></a>`external_id` | `string` | 4 | The external ID (display ID) of this item. unset means that the external ID is the same as the internal ID. |
| <a id="f-guid"></a>`guid` | `string` | 5 | GUID for the item. |
| <a id="f-options"></a>`options` | [`ITEMFLAGS`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ITEMFLAGS/index.md) | 6 | Bit flags that provide additional information on the item (e.g. is the object deleted). |
| <a id="f-external_repository_icon_id"></a>`external_repository_icon_id` | `string` | 7 | The ID of the item's icon. |

<a id="used-in-fields"></a>

## Used in fields

- [`Lookup.value_list_item_info`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.Lookup/index.md#f-value_list_item_info): The selected item. Only `obj_id` is needed when setting a value.
- [`LookupWithMetadata.value_list_item_info`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.LookupWithMetadata/index.md#f-value_list_item_info): Item info (e.g. IDs (internal and external), GUID, flags, and name).
- [`ValueListItem.item_info`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ValueListItem/index.md#f-item_info): The item's identity and name: `obj_id.type` is the value list ID, `obj_id.item_id.internal_id` the item ID (unique within the list only), plus `name`, `guid`, `external_id` and flags. `options.is_deleted` marks a deleted item.
