- 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
- Referencing an Entity in Your App
- Replacing an Entity
- Using Choice Set
- Displaying the value of an entity field in a label
- Leveraging Queues in Your App
- Leveraging Media in your app
- Leveraging Actions in your app
- Application Lifecycle Management (ALM)
- Basic Troubleshooting Guide
Referencing an Entity in Your App
To create better, more complex apps, UiPath® Apps can connect and interact with entities from UiPath® Data Service.
Data Service is a persistent data storage service that brings powerful no-code data modeling and storage capabilities to your Robotic Process Automation (RPA) projects.
For the moment, there is no infinite scroll for entities.
Once an entity has been created in Data Service, you can reference that entity from an app.
The following example shows you how to add an existing entity to an app:
- From an existing app in App Studio, expand the dropdown menu at the right of the Add control button.
-
Select Entity.
-
A list of tenants for the current account is displayed. Select the tenant that hosts the entities you need to import, then click Next.
- The Add entity wizard opens, displaying the list of entities in the selected tenant.
-
Select one or more entities. The right-hand panel displays the list of fields of the highlighted entity.Note:
If you select an entity which has as fields other entities, the dependent entities are selected automatically.
Deselecting an entity which has as fields other entities does not deselect the dependent entities.
-
Check the box next to the entity you want to use in your app and click Add.
Entities can be bound to the following controls:
-
Dropdowns (simple and multiselect)
-
Radio buttons
-
Edit grids
-
Lists
-
Tables
The following example shows how to reference the entity called Country to a Table control.
- In your app, add a Table control.
- Select the table and go to General tab.
-
In the Data source property, you can reference an entity:
-
Open the Query builder, select the entity you want to reference, apply conditions if necessary to filter out the entity records, and then click Save.
-
The column headings are automatically populated with the names of the entity fields.
The Country entity is now linked to the table.
To use simple controls (such as List, Dropdown) with entities, save the entity to an app variable, then use the variable to display the entity fields.