top of page

Go-To-Market Tools & Solutions

PARNii.DE

Websites & Mobile Apps featuring unique design and varying levels of functionality for micro, small, and medium-sized businesses, created by an official Wix Legend Partner.

How data sources work in the Wix Studio Two editor

Nov 2
3 min read

Updated: Nov 4

A data source feeds live content, from a CMS collection, a Wix app or custom code, into elements on your site. In Studio Two you attach a source to a page or container, then connect each element's properties, such as text or link, to a field from that source.


Before you start

  • Open your site in the Studio Two editor.

  • Have a CMS collection, a Wix app with content (for example Wix Blog) or a custom code source ready, or create one from the source list.

  • Know which page, section or container holds the elements you want to connect.


Step by step

  1. Pick the source type. Decide where the content lives. The Connect Source list offers CMS collections, Wix apps (each under the app's name, such as Post, Posts and Related Posts for Wix Blog) and custom code sources. You can create a new source from the same list.

  2. Attach the source to a container. Select the page, section or container and open the Inspector at the top right. In the Settings tab, click + Connect Source under Data sources and choose the source. Every element inside that container can now use it.

  3. Check available and connected sources. In the same Settings tab, Connected sources lists what is attached directly to the container. Available sources lists what is inherited from a container above, such as the section or page. Inherited sources do not need to be attached again.

  4. Connect an element to a field. Select the element, open Settings in the Inspector and click the Connect to data icon beside a property such as Text, Link or Alt text. Choose the source, choose the field, fill in any parameters that appear and click Apply. Only fields that fit the property are shown.

  5. Use the action bar as a shortcut. For text and media, open the dropdown next to the main action (Edit Text or Replace Image) and select Connect to Data. For other elements, use the More Actions icon on the action bar.

  6. Show lists and item pages. Connect a repeater to a source and design a single item. Every item then renders with its own content in that design. For one page per item, add a collection page and select Item page. Its elements arrive already connected.

  7. Adjust the source settings. Under Connected sources, open More Actions next to a source and choose Manage [source name] to change filters, sorts and items shown at a time. These settings apply to every element using that source. Edit in Collection, Edit in Dashboard and Remove are in the same menu.

  8. Add conditions and event handlers. Under Advanced in the Settings tab, use Conditional visibility to hide an element based on a true/false field. Use Event handlers to run a function from a source on events such as On Click or On Mouse In.


Good to know

  • Header and footer do not inherit a page's sources. Attach a source to them directly.

  • An element cannot use a container's source if it sits outside that container. To connect a Load More button to a repeater, attach the source to the section that holds both.

  • Moving an element into a container without the same source removes its connection. The editor shows a warning while you drag and an Undo option after you drop.

  • Deleting a collection removes its source from every container. Connected elements stay on the site but stop showing content. Removing an app also deletes its pages and app elements.

  • Conditional visibility accepts true/false fields only. You cannot add it to a page or to a global section itself, only to the elements inside.

  • CMS data sources only display data. They do not add, update or remove items or run custom queries. Use the Data API in code for that.


parnii note

Attach sources at the section level when several elements, such as a repeater and its Load More button, need the same content. Check the pink labels on the canvas to confirm what is connected before you move elements between containers.

FAQ

What is a data source in Studio Two?

A data source is a CMS collection, a Wix app or a custom code source that supplies live content to elements. You choose which field each element or property shows.

Why did my element stop showing content after I moved it?

The container you moved it into does not have the same source. Click Undo in the message to restore the connection, or connect the element again in its new container.

What happens to data sources when I make a section global?

The elements stay connected. The editor moves the sources they use from the page to the global section. If you change it back, the sources are copied into the regular section.

Sources


Part of our Wix Studio Two series (Studio 2). Last checked: 02 November 2026.

Tips and tricks every two weeks

Featured Go-To-Market (GTM) Tools and Solutions

bottom of page