- Getting Started
- Demo apps
- How To
- Notifications
- Using VB Expressions
- Designing your App
- Designing your App with Autopilot
- 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
- Leveraging Connections in your apps
- Web apps in Studio Web
- Application Lifecycle Management (ALM)
- UiPath® First-Party Apps
- Basic Troubleshooting Guide
Legacy versus VB expressions
This section lists the common use cases for binding app elements, and how you can achieve the binding using legacy and VB expressions.
Legacy |
VB |
---|---|
Note:
Base64 images are also supported. |
Note:
Base64 images are also supported. |
Legacy |
VB |
---|---|
|
|
Legacy |
VB |
---|---|
|
|
Legacy |
VB |
---|---|
Read this procedure for more information. |
Legacy |
VB |
---|---|
Steps 4 and 5 in Leverage entities in your app by using choice sets |
|
Dropdown, Radio Button and List controls support single select choice sets.
Legacy |
VB |
---|---|
|
|
Multiselect 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.
|
Legacy |
VB |
---|---|
|
|
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) |
Legacy |
VB |
---|---|
Bind the required entity field to the Date Picker control. |
|
Legacy |
VB |
---|---|
N/A |
|
You 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