- 入门指南
- 演示应用程序
- 如何
- 通知
- 使用 VB 表达式
- 设计应用程序
- 事件和规则
- 在应用程序中利用 RPA
- 在应用程序中利用实体
- 在应用程序中利用队列
- 在应用程序中利用媒体文件
- 在应用程序中利用操作
- 在应用程序中利用 Connections
- 应用程序生命周期管理 (ALM)
- UiPath 第一方应用程序
- 基本故障排除指南
概述
在本教程中,我们将构建一个应用程序,以便高效地使用数据表中的选定值绑定。
从表格中选择行时,您可以使用按钮打开包含该行数据的新页面。 这样,用户就可以编辑和更新该信息。
教程
在这个简短的示例中,我们将使用“标签”控件显示表格中特定列的选定行中的信息。
- 相同的过程适用于实体或自定义列表。
- 对于更复杂的用例,您可以使用按钮代替标签。 该按钮可以打开一个新页面,显示所选行中的数据。
-
打开您现有的应用程序或启动一个新应用程序。
-
Add the process you want to use.
-
Add a Table display control.
-
在表格的“数据源”字段中绑定流程的输出。 在我们的示例中,输出具有三个子属性: Name 、 Age和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.
-
在标签的“文本” 属性中,从“资源” 面板添加
New Field应用程序变量,然后输入. (点),然后从流程输出中选择任意列。 在此示例中,我们将选择“名称” 。
附加信息
The Label control will display the selected row from the configured column in run-time (in our case, the Name column).