apps
latest
false
Legacy Apps user guide
- Getting Started
- Demo apps
- How To
- Build your first app (old)
- Build a Mobile-Friendly App
- General User Experience Guidelines
- Use Master Detail View
- Use Document Viewer
- Use Count With Choice Set Values
- Use Selected Values From a Table
- Embed Apps
- Embed Maps
- Hide Containers Using a Button
- Include MailTo Links
- Include Star Ratings
- Set External Context
- Work With Data Source and Value Bind
- Use the Send Interim Result Activity
- Public Apps
- 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 Values
- Rule: Start Process
- Rule: Upload File to Storage Bucket
- Rule: Get File From Storage Bucket
- Rule: Reset Values
- Rule: Create/Update Entity Record
- Rule: Delete Entity Record
- Rule: Add to Queue
- Function: And, Or, Not
- Function: Concat
- Function: Contains
- Function: Count
- Function: EndsWith
- Function: If
- Function: IsBlank
- Function: Guid
- Function: Length
- Function: List
- Function: StartsWith
- Function: Sum
- Function: Sort
- Function: Now
- Function: Today
- Function: Time
- Function: Year
- Function: Month
- Function: Day
- Function: Hour
- Function: Minute
- Function: New
- Function: Lookup
- Function: Filter
- Leveraging RPA in your App
- Leveraging Entities in Your App
- Leveraging Queues in Your App
- Leveraging Media in your app
- Leveraging Actions in your app
- Leveraging Connections in your apps
- Application Lifecycle Management (ALM)
- UiPath First-Party Apps
- Basic Troubleshooting Guide
important :
For documentation on app projects in Studio Web, refer to the App Projects chapter in the Studio Web documentation: https://docs.uipath.com/studio-web/automation-cloud/latest/user-guide/apps-in-studio-web.
The following are two examples of how to apply the Fetch and FetchOne functions in practice.
Use the Fetch function to retrieve all entity records from a Data Service entity, in conjunction with a tabular control such as Edit Grid.
- Add an entity to your app:
- Select Add any.
- Select Entity.
- Select a tenant.
- Select the entity you want to add to your app, then Add.
- Add an Edit Grid control to your app:
- Select Add control.
- Select Display.
- Select Edit Grid, and drag it to an area in your app.
- Bind the Edit Grid control to your entity:
- In the Properties panel, on the General tab, select the Additional resources button adjacent to Data source.
- Select Query builder.
- Select the entity you want to use, then Save. The system automatically prepares a
FetchVB expression.
- Preview or run your app.
When you preview your app, the Edit Grid control is populated with all of the records from your entity.
Use the FetchOne function to retrieve a single record from a Data Service entity and use it in display controls, such as the Label control, in your apps.
- Add an entity to your app:
- Select Add any.
- Select Entity.
- Select a tenant.
- Select the entity you want to add to your app, then Add.
- Add a Label to your app:
- Select Add control.
- Select Display.
- Select Label, and drag it to an area in your app.
- Add a variable to your app:
- Select Add any.
- Select Variable.
- Give your variable a name.
- Under Type, select your entity, then Save.
- Add a rule to the main page of your app:
- Select the main page of your app.
- In the Properties panel, select Events.
- Under Loaded, select Create rule.
- Bind the rule to your variable:
- Select Set value.
- Under Item to set, select the variable you added in step 3.
- Select Value, then Query builder.
- Select your entity, then Save. The system automatically prepares a
FetchVB expression. - Under Value, select the expression, then replace
FetchwithFetchOne.
- Bind the Label to the variable:
- Preview or run your app.
When you run the app, the Label is automatically populated with a single record from the entity field you specified.