CMS: Connecting Elements to a Collection Using a Dataset
4 min read
Connect your page elements to datasets to use CMS (Content Management System) collection content with your site. Datasets are internal tools for you and site collaborators to use that do not appear on your live site.
When connecting to the CMS, choose which collection fields you want to use with each part of the page elements. You can choose to display your collection content in dynamic page elements such as text, images, and buttons. You can also connect input elements to let site visitors filter the content they see, or submit info to your collections.
To connect an element to your collection:
Wix Editor
Editor X
Studio Editor
- In your Editor, click the element you want to connect to the CMS (e.g. text, image, gallery).
- Click the Connect to CMS icon
.
- (Input elements only) Choose how you want to use the element:
- Filter content: Let site visitors filter page content.
- Collect content: Collect content submitted by site visitors.
- Create a new dataset or connect an existing one:
- Create a new dataset:
- Click Create Dataset. If you already have a dataset on your page, click the Choose a dataset drop-down and select Create a New Dataset.
- Click the Choose a collection drop-down and select the relevant collection. If you do not have a CMS collection yet, click Create Collection and create a new collection.
- (Optional) Click the Dataset name field and enter a name for the dataset.
- Click Create.
- Connect an existing dataset:
- Click the Choose a dataset drop-down.
- Select the dataset you want to connect.
- Create a new dataset:
- Click the relevant drop-downs in the panel to connect each part of the element to the relevant collection fields. The options vary depending on the page element type.

Ready to go live?
Click Preview at the top right of your Editor to test out the connections. When everything looks great and works perfectly, click Publish to make the changes go live.
If you've enabled Sandbox, sync your Sandbox collection to the live collection to make the database changes go live.