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 more information on Data Service, you can check the Data Service guide.
After the data is loaded, the entities data is refreshed only when a rule is executed. Any updates made on Data Service via processes or other means are not picked up automatically. Make sure that you refresh the data explicitly in these scenarios.
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.
For more information on how to create an entity in Data Service, see Creating an entity.
Note: If the schema in Data Service is altered, the changes are automatically synced after refreshing or reopening the app.
In the example below, we'll show you how to reference an existing entity into an app.
- From an existing app in App Studio, click on the icon next to the app title.
- Click on Entity to open the entity reference dialog.
- A list of Orchestrator instances for the current Automation Cloud account is shown. Choose the one that hosts the entities you need and click Next.
- A list of processes, organized by folders, is shown for the currently selected tenant. Highlighting a process displays the contents of the entity.
- Check the checkbox next to the entity you want to use in your app and click Add.
The entity has now been added to your app.
Entity permissions are managed in Data Service. Make sure you have the right permissions for the entity you want to reference from Data Service.
Entities can be bound to the following controls:
- Custom List
In the example below we will bound an entity called Customer to a table.
Before binding an entity to a control in App Studio, make sure that the entity is referenced in your app.
- In an existing app, create a new table.
- Select the table and go to the Data Source property.
- Add the Customer entity in the Data Source property.
The Customer entity is now bound to the table.
Updated 4 months ago