- Getting Started
- Before You Begin
- How To
- Notifications
- Using VB Expressions
- Designing your App
- Events and Rules
- Rule: If-Then-Else
- Rule: Open a Page
- Rule: Open URL
- Rule: Close Pop-Over/Bottom Sheet
- Rule: Show Message
- Rule: Show/Hide Spinner
- Rule: Set Value
- Rule: Start Process
- Rule: Reset Values
- Rule: Upload File to Storage Bucket
- Rule: Download File From Storage Bucket
- Rule: Create Entity Record
- Rule: Update Entity Record
- Rule: Delete Entity Record
- Rule: Add to Queue
- Rule: Trigger workflow
- Leveraging RPA in your App
- Leveraging Entities in Your App
- Leveraging Queues in Your App
- Application Lifecycle Management (ALM)
- Basic Troubleshooting Guide
Apps User Guide
Using Apps With Data Service
- A maximum of 1000 records for any filter are retrieved at runtime.
- After the entity data is loaded, the data is refreshed only when a rule is executed. Any changes made to the entity via processes, or other means, do not automatically update in Apps. Make sure to explicitly refresh the data in these scenarios.
- The
in
operator only supports primitive data types, such as:string
,number
,boolean
,null
.
in
operator is not supported in Data Service scenarios using choice-set
. You can use the contains
operator instead, but only for one input.
Before starting this example, make sure that you have the proper permissions from Data Service. For more information, check the Data Service - Managing Access page.
For the purpose of this example, we will use an entity called Customer with the following fields:
- Address
- Address 2
- City
- Name
- Phone
- Plan
- State
- Postal Code
Use the Function: Fetch function to retrieve multiple entity records. Additionally, use the Query builder to filter the retrieved records. In this example, we apply a filter to the Customer entity, so the search only returns customers from the state of Washington.
Refer to The Fetch function for more details.
If you want to retrieve a single record, use the FetchOne function instead.
- Open an existing application, or create a new one.
- Add a Table control to your app:
- Select Add control.
- Select Display.
- Drag the Table control to an area in your app.
- Add an entity to your app:
- Select the Add any icon from the top of the canvas.
- Select Entity.
- Select a tenant.
- Select the entity you want to add to your app, then Add.
- Bind the entity to the Table control:
- Use the Expression editor to apply a filter under specific conditions:
When you preview or run the app, the query executes and retrieves the filtered records.
You can use the Edit Grid control to display entity records in your app, and perform CRUD operations on your entity using this control.
Refer to Using Fetch to retrieve entity records in Edit Grid controls and Using entities with Edit Grid controls for more details and practical examples related to the Edit Grid control.