Data
The Data Tab in Workmaster is a central hub for defining and managing Data Models that are used across the platform. It allows you to create and structure your app's data through Data Objects and Custom Queries. These Data Models can then be utilized throughout the platform, enabling dynamic data-driven experiences in multiple parts of your app.
What You Can Do in the Data Tab
The Data Tab allows you to:
1. Create and Manage Data Objects:
Data Objects are essential for organizing and structuring your data. Think of them as tables where each row stores specific pieces of information (e.g., user details, order data, product inventory). You can create Data Objects by defining the fields (or attributes) that will hold the data, such as name, email, price, and so on.
2. Create Relationships Between Data Objects:
Data Objects in Workmaster can be connected to each other through reference, making it easy to organize how your data is linked. These references help you model how different entities interact in your app. For instance:
Sigle Object (One-to-One): A User might have one Profile.
Object List (One-to-Many): A Customer can have multiple Orders.
These relationships allow you to efficiently manage and retrieve data across different objects in your app, ensuring the data is well-organized and easy to navigate.
3. Manage Data with the Data Editor:
The Data Editor provides an intuitive, user-friendly interface for interacting with the data in your Data Objects. You can view, select columns, and manually insert, update or delete records, making it easy to work with your data without needing to go through the backend.
4. Create Custom Queries:
Custom Queries allow you to combine multiple Data Objects to create new, custom Data Models using operations like UNION or JOIN. These Custom Data Models are view-only, meaning you can use them to display data but cannot modify the data directly. This is useful when you want to create a complex view, such as displaying orders along with customer details, without actually changing the data.
Use Data Models Across the Platform
Once you create Data Objects and Custom Queries, they are available for use in all parts of the platform, including the Page Tab, form elements, widgets, containers, and even in your app's Bot logic. This flexibility enables you to use the same data models consistently throughout your app.
To learn more about how to work with each of these components, explore the subpages linked below:
Last updated