UiPath Documentation
apps
latest
false
旧版 Apps 用户指南
重要 :
有关 Studio Web 中的应用程序项目文档,请参阅 Studio Web 文档中的“应用程序项目”一章:https://docs.uipath.com/zh-CN/studio-web/automation-cloud/latest/user-guide/apps-in-studio-web。 请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

使用表格中的选定值

概述

在本教程中,我们将构建一个应用程序,以便高效地使用数据表中的选定值绑定。

从表格中选择行时,您可以使用按钮打开包含该行数据的新页面。 这样,用户就可以编辑和更新该信息。

教程

在这个简短的示例中,我们将使用“标签”控件显示表格中特定列的选定行中的信息。

提示:
  • 相同的过程适用于实体或自定义列表。
  • 对于更复杂的用例,您可以使用按钮代替标签。 该按钮可以打开一个新页面,显示所选行中的数据。
  1. 打开您现有的应用程序或启动一个新应用程序。

  2. Add the process you want to use.

  3. Add a Table display control.

  • 在表格的“数据源”字段中绑定流程的输出。 在我们的示例中,输出具有三个子属性: NameAgeDepartment

  • 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).

  • 概述
  • 教程

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新