Collection

Collection

A CMS Collection in the project.

Collections can be created by users or managed by plugins. Use managedBy to check the owner. Any kind of Collection can be read from, while those managed by other plugins are read-only.

Methods & Properties

The name of the field used as the slug.

The ID of the field the slug is based on.

Returns who manages this Collection.

Reorder the items in this Collection based on an array of item IDs.

Fetch all fields defined on this Collection, including dividers.

Create new unmanaged Collection fields.

Remove fields from this Collection by their IDs.

Reorder the fields in this Collection based on an array of field IDs.

Retrieve all items within this Collection, in their current order.

Add new items to this Collection, or update existing ones if their IDs match.

Remove items from this Collection by their IDs.

Set this Collection as active, changing the selected Collection in the Framer UI.

Set plugin data by key.

Get plugin data by key.

Get all plugin data keys.

Navigate to this collection.