- 入门指南
- 演示应用程序
- 如何
- 通知
- 使用 VB 表达式
- 设计应用程序
- 使用 Autopilot 设计应用程序
- 事件和规则
- 在应用程序中利用 RPA
- 在应用程序中利用实体
- 在应用程序中引用实体
- 替换实体
- 使用选项集
- 在标签中显示实体字段的值
- 将 Apps 与 Data Service 结合使用
- 在应用程序中利用队列
- 在应用程序中利用媒体文件
- 在应用程序中利用操作
- 在应用程序中利用 Connections
- Studio Web 中的网页应用程序
- 应用程序生命周期管理 (ALM)
- UiPath™ 第一方应用程序
- 基本故障排除指南
将 Apps 与 Data Service 结合使用
- A maximum of 1000 records for any filter are retrieved at runtime.
- After the entity data is loaded, the data is refreshed only when a rule is executed. Any changes made to the entity via processes, or other means, do not automatically update in Apps. Make sure to explicitly refresh the data in these scenarios.
- The
in
operator only supports primitive data types, such as:string
,number
,boolean
,null
.
choice-set
的 Data Service 方案中不支持in
运算符。您可以改为使用contains
运算符,但只能用于一个输入。
在开始本示例之前,请确保您具有 Data Service 的适当权限。如需了解详情,请查看“Data Service - 管理访问权限”页面。
For the purpose of this example, we will use an entity called Customer with the following fields:
- Address
- 地址 2
- 城市
- 电子邮件
- 名称
- 电话
- 计划
- 状态
- 邮政编码
Use the Function: Fetch function to retrieve multiple entity records. Additionally, use the Query builder to filter the retrieved records. In this example, we apply a filter to the Customer entity, so the search only returns customers from the state of Washington.
Refer to The Fetch function for more details.
If you want to retrieve a single record, use the FetchOne function instead.
- Open an existing application, or create a new one.
- Add a Table control to your app:
- 选择“添加控件”。
- Select Display.
- Drag the Table control to an area in your app.
- Add an entity to your app:
- Select the Add any icon from the top of the canvas.
- 选择实体。
- Select a tenant.
- Select the entity you want to add to your app, then Add.
- Bind the entity to the Table control:
- Use the Expression editor to apply a filter under specific conditions:
When you preview or run the app, the query executes and retrieves the filtered records.
You can use the Edit Grid control to display entity records in your app, and perform CRUD operations on your entity using this control.
Refer to Using Fetch to retrieve entity records in Edit Grid controls and Using entities with Edit Grid controls for more details and practical examples related to the Edit Grid control.