- Getting Started
- Demo apps
- 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
- Rule: Submit Action
- 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
- Application Lifecycle Management (ALM)
- UiPath® First-Party Apps
- Basic Troubleshooting Guide

Apps User Guide
Legacy versus VB expressions
linkThis section lists the common use cases for binding app elements, and how you can achieve the binding using legacy and VB expressions.
Using static string URLs in Image controls
link
Legacy |
VB |
---|---|
Note:
Base64 images are also supported. |
Note:
Base64 images are also supported. |
Using the File field of an entity in Image controls
link
Legacy |
VB |
---|---|
|
|
Using files from a Storage Bucket in Image controls
link
Legacy |
VB |
---|---|
|
|
Using choice sets to populate List controls
link
Legacy |
VB |
---|---|
Read this procedure for more information. |
Referencing a choice set bound to List controls
link
Legacy |
VB |
---|---|
Steps 4 and 5 in Leverage entities in your app by using choice sets |
|
Setting a single select choice set as the default value for controls
linkDropdown, Radio Button and List controls support single select choice sets.
Legacy |
VB |
---|---|
|
|
Setting a multiselect choice sets as the default value for controls
linkMultiselect Dropdown controls support multiselect choice sets.
Legacy |
VB |
---|---|
|
Note:
To use this expression, ensure the entity variable is set to
selectedItem using a Set Value rule.
|
Using static strings to populate List controls
link
Legacy |
VB |
---|---|
|
|
Bind a date to Date Picker controls
link
Legacy |
VB |
---|---|
To bind todays date, set the Default Date property to
=Now() | To bind todays date, set the Default Date property to DateOnly.FromDateTime(Now) |
To bind a specific date, for example 5th May 2021, set the Default Date property to
2021-01-05 | To bind a specific date, for example 5th May 2021, set the Default Date property to new DateOnly(2021,1,25) |
Using an entity Date-Time field in Date Picker controls
link
Legacy |
VB |
---|---|
Bind the required entity field to the Date Picker control. |
|
Computing the difference between two Date Picker values
link
Legacy |
VB |
---|---|
N/A |
|
Referencing errors
linkYou can reference the errors from the following rules:
-
Start Process
-
Entity rules
-
Queue rules
-
Trigger Workflow rule
Legacy |
VB |
---|---|
In VB expressions, errors are exposed in the rule output. Reference an error as follows:
|
- Using static string URLs in Image controls
- Using the File field of an entity in Image controls
- Using files from a Storage Bucket in Image controls
- Using choice sets to populate List controls
- Referencing a choice set bound to List controls
- Setting a single select choice set as the default value for controls
- Setting a multiselect choice sets as the default value for controls
- Using static strings to populate List controls
- Bind a date to Date Picker controls
- Using an entity Date-Time field in Date Picker controls
- Computing the difference between two Date Picker values
- Referencing errors