header-logo
Learn how to use Wix to build your site and business.
Design and manage your site using intuitive Wix features.
Manage subscriptions, plans and invoices.
Run your business and connect with members.
Learn to purchase, connect or transfer a domain to your site.
Get tools to grow your business and web presence.
Boost your visibility with SEO and marketing tools.
Get advanced features to help you work more efficiently.
Find solutions, learn about known issues or contact us.
placeholder-preview-image
Improve your skills with our courses and tutorials.
Get tips for web design, marketing and more.
Learn to increase organic site traffic from search engines.
Build a custom site using our full-stack platform.
Get matched with a specialist to help you reach your goals.
placeholder-preview-image

CMS: Connecting Elements to a Collection Using a Dataset

3 min
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 supported 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
Studio Editor
  1. Go to your editor.
  2. Click the element you want to connect to the CMS (e.g. text, image, gallery).
  3. Click the Connect to CMS icon .
  4. (Certain input elements only) Choose how you want to use the element:
  5. 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.
  6. Click the drop-downs in the panel on the right 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.
Screenshot of connecting images in a repeater to the CMS.
  1. Click Preview at the top right to test your connections.
  2. Click Publish if you are ready to make the changes go live. 
If you've enabled sandbox collections:
To publish sandbox collection content to your live site, make sure to sync your sandbox collection to your live collection
Screenshot of connecting images in a repeater to the CMS.