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. Create a new dataset or connect an existing one: 
    • Create a new dataset: 
      1. 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.
      2. 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
      3. (Optional) Click the Dataset name field and enter a name for the dataset. 
      4. Click Create
    • Connect an existing dataset: 
      1. Click the Choose a dataset drop-down.
      2. Select the dataset you want to connect.  
  5. 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.
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.