UiPath Documentation
apps
2022.4
false
Apps User Guide for Automation Suite
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

在应用程序中引用实体

To create better, more complex apps, UiPath Apps can connect and interact with entities from UiPath Data Service. Data Service is a persistent data storage service that brings powerful no-code data modeling and storage capabilities to your Robotic Process Automation (RPA) projects. For more information on Data Service, you can check the Data Service guide.

备注:

加载数据后,仅在执行规则时才会刷新实体数据。通过流程或其他方式对 Data Service 进行的任何更新都不会自动选取。请确保在这些场景中显式刷新数据。

目前,实体没有无限滚动。

从 Data Service 引用实体

在 Data Service 中创建实体后,您可以从应用程序引用该实体。

For more information on how to create an entity in Data Service, see Creating an entity.

备注:

If the schema in Data Service is altered, the changes are automatically synced after refreshing or reopening the app.

在下面的示例中,我们将演示如何将现有流程导入到应用程序中。

  1. From an existing app in App Studio, click on the 文档图像 icon next to the app title.

  2. 单击“实体” 以打开实体引用对话框。

  3. 系统将显示当前 Automation Cloud 帐户的 Orchestrator 实例列表。选择托管所需流程的实例,然后单击“下一步”

  4. 系统将为当前选定的租户显示一个按文件夹组织的流程列表。高亮显示流程将显示实体的内容。

  5. 选中要在应用程序中使用的实体旁边的复选框,然后单击“添加”。

该流程现已添加到应用程序中。

备注:

实体权限在 Data Service 中进行管理。请确保您拥有要从 Data Service 中引用的实体的正确权限。

绑定实体

实体可以绑定到以下控件:

  • 下拉列表
  • 列表
  • 表格
  • 自定义列表

在下面的示例中,我们将一个名为 Customer 的实体绑定到一个表格。

开始之前

在将实体绑定到 App Studio 中的控件之前,请确保在您的应用程序中引用该实体。

程序

  1. 在现有应用程序中,创建一个新表格。

  2. 选择表格并转到“数据源”属性。

  3. 在“数据源”属性中添加“客户”实体。

Customer 实体现在已绑定到表格。

  • 从 Data Service 引用实体
  • 绑定实体
  • 开始之前
  • 程序

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新