Creating a dataset.
To display your data collection, go back to the editor and select your chosen display tool. Next, click the Connect to Data icon and select Get Started. Choose the collection you want from the dropdown and select Create. The dataset component will appear at the top of your page, and will be pinned to the screen—visible only to you, not on the live site.
If you are displaying content in a repeater, you can quickly connect each element to a field in your database. For example, connect the image element to the image field. From the dataset component, you can also filter your collection to control what’s displayed. Now when you click Preview, the repeater displays content from your collection.
Note: You can also connect database fields to single site elements, like buttons.
Controlling access to your data.
Your new data collection is now stored in the site dashboard under Content Manager. From there, you can set roles and permissions for each of your collections to protect your brand—or your client’s.
SKIP TO EXERCISE
Displaying content from a database collection. Create and store heavy or dynamic content behind the scenes of a site using database collections. You can connect your database to individual site elements like images, and responsive display tools like repeaters. Ideal use cases could be a real estate listing or a custom marketplace.
Creating your collection.
Select New Collection, name it and choose whether you want to add it to a new or existing page.
Adding your data.
Fill out your collection with text, images, dates and relevant links. If you want, you can import data from a CSV file. Click the 3 dots in the top right to begin. Once you’re ready, click Sync Sandbox to Live. For the sync to be successful, you’ll need to first publish the site.
Getting set up.
From the Add panel, add a Content Manager, then choose the type of content you want to display.