Get item

Retrieve a single dataform item by its ID

Retrieves a single item by its ID.

Parameters

ParametersTypeDescription
itemIdStringUnique Id of the item. Required.
viewIdStringOptional. 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.

On this page