Get item
Retrieve a single dataform item by its ID
Retrieves a single item by its ID.
Parameters
| Parameters | Type | Description |
|---|---|---|
| itemId | String | Unique Id of the item. Required. |
| viewId | String | Optional. Scopes the lookup to a specific view. |
Syntax
const item = await dataformInstance.getItem({ itemId: "item_123" });Returns
Returns the item's data with its _id and, if scoped to a view, _view_id.

