- Getting Started
- Before You Begin
- How To
- Build Your First App
- Build a Mobile-friendly App
- Embed Apps
- Embed Maps
- General User Experience Guidelines
- Hide Containers Using a Button
- Include Excel Charts in Apps
- Include MailTo Links
- Include Star Ratings
- Use Count With Choice Set Values
- Use Document Viewer
- Use Master Detail View
- Use Selected Values From a Table
- Use the Send Interim Result Activity
- Set External Context
- Work With Data Source and Value Bind
- Notifications
- 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
- Application Lifecycle Management (ALM)
- Basic Troubleshooting Guide
Legacy Apps User Guide for Automation Suite
Use Selected Values From a Table
In this tutorial we will build an app in order to use the selected value binding from a datatable in an efficient way.
When you select a row from a table, you can use a button to open a new page with the data from that row. This way, users can edit and update that information.
In this short example, we will use a Label control to display the information from the selected row of a particular column in a table.
- The same procedure applies in the case of entities or custom lists.
- For a more complex use case, you can use a button instead of a label. That button can open a new page, displaying the data from the selected row.
1. Open your existing application or start a new one.
2. Add the process you want to use.
3. Add a Table display control.
-
Bind the output of the process in the Data source field of the table. In our case, the output has three sub-properties: Name, Age, and Department.
-
Create a new app variable from the Selected value binding property of the table. To do so, click the Selected value binding property, and go to the App variables category. Click the Plus sign and type in the name of the new variable. For this example, we will use
New Field
. Bind the new variable to the Selected value binding property.
4.1 Add a Label control below the table.
-
In the Text property of the label, add the
New Field
app variable from the Resources panel, type in . (dot), and then select any column from the process output. In this example, we will select Name.
Additional information
The Label control will display the selected row from the configured column in run-time (in our case, the Name column).