Data Objects
Data Objects Overview
Data Objects allow you to store and manage reusable structured data across your app.
They are ideal for content that appears in multiple places, such as:
- FAQs
- Blog entries
- Product highlights
- Policies
- Store locations
- Promotional banners
Instead of re-entering the same information repeatedly, you can create it once and reuse it throughout your app.
Example Use Case: FAQs
If you use an FAQ block on multiple pages and want the same questions and answers displayed everywhere, you can:
- Create an FAQ Data Object
- Add your questions and answers once
- Connect that Data Object to any FAQ block
This ensures consistency and saves time.
How to Create a Data Object
Step 1: Navigate to Data Objects
- Go to the Marketing menu
- Select Data Objects
- Click Create
Step 2: Define the Data Structure
Enter the basic details:
- Object Name (e.g., FAQ, Blog, Promotions)
- Description (What this object is used for)
- Optional icon (such as an emoji)
- Collection name or entry name (if applicable)
Step 3: Define Fields
Fields define the structure of your data.
For example, if creating an FAQ object:
Field 1
- Field Name: question
- Type: Text
- Label: Question
- Description: The FAQ question
Field 2
- Field Name: answer
- Type: Text
- Label: Answer
- Description: The FAQ answer
Available Field Types
When creating fields, you can choose from:
- Text
- Number
- Boolean
- Date
- URL
Add as many fields as needed to structure your content.
Using a Data Object in Your App
Once your Data Object is created, you can use it within your pages.
For example:
- Navigate to a page
- Add an FAQ Block
- Choose the FAQ source
You’ll have two options:
- Inline Content — manually enter questions and answers
- Custom Data Object — select your created FAQ Data Object
When selecting the Data Object, all stored entries will automatically populate.
Why Use Data Objects?
- Avoid duplicate content entry
- Maintain consistency across pages
- Easily update content in one place
- Improve scalability as your app grows
Data Objects help centralize your content management while keeping your pages dynamic and flexible.
Updated about 1 month ago
