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
  1. In your editor, click the element you want to connect to the CMS (e.g. text, image, gallery).
  2. Click the Connect to CMS icon .
  3. (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. 
  4. Click the Choose a dataset drop-down and select an existing dataset that connects to your collection. Alternatively, click Add a Dataset, then choose the collection you want to connect, give the dataset a name and click Create.
  5. Click the drop-downs in the panel to connect each part of the element to the relevant collection fields. You can select Add new field to create and connect a new collection field. The options vary depending on the page element type.
A screenshot of the connection options in a gallery.
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. 

Did this help?