Search
CollectionItem
CollectionItem
An item (row) in a CMS Collection.
Each item contains field data keyed by field ID, a unique slug, and a draft status.
Methods & Properties
A unique identifier for this Collection item.
External ID for managed collections, unique node ID otherwise.
ISO 8601 timestamp for when the item was created.
ISO 8601 timestamp for when the item was last updated.
Slug value of the CMS item. Slugs should be unique within a Collection.
Drafts are excluded from publishing.
The fields and corresponding values of this Collection item.
Remove this item from the Collection.
Set the values of the fields of this CMS item. May return null if the item was deleted before this method was called.
Set plugin data by key.
Get plugin data by key.
Get all plugin data keys.
Navigate the UI to this Collection item. May switch modes to reveal the relevant view, such as the CMS editor.