- 入门指南
- 许可
- 设置和配置
- 使用服务
- 参考
- 示例和教程
- 日志记录
Data Service 用户指南
要在实体之间创建关系,请执行以下步骤:
-
在“实体”列表中,选择要为其添加关系的实体。
-
Select Manage Entity.
-
In the Local fields section, select Add field and provide a Display name and a Name. Select Relationship from the Type dropdown. The Advanced options panel opens.

-
Select the entity for which you want to create a relationship from the Related Entity dropdown list.
-
Select the display field to be shown in the user interface from the Related Entity Display Field dropdown list.
-
选择“应用” 。
The relationship is added as a new field in the Local fields section.
添加数据时,可以从相关实体中选择值。
作用域限制
关系范围规则适用如下:
- 租户级别的实体只能与其他租户级别的实体相关。
- 文件夹级别的实体只能与用户有权访问的文件夹中的实体相关。
- 不支持跨作用域关系(租户到文件夹或文件夹到租户)。
选项集支持与实体相同的租户/文件夹作用域:
- 租户级别的选项集对租户内的所有用户可见。
- 文件夹级别选项集只能在选定的文件夹中访问。
- 可见性和使用规则镜像实体作用域,以实现一致的数据隔离。
| Entity A | Entity B | Supported | | Tenant | Tenant | Yes | | Folder A | Folder A | Yes | | Folder A | Folder B (accessible) | Yes | | Tenant | Folder | No |
下表描述了在使用相关实体或选项集时,文件夹级别的作用域会对每个角色产生影响。
| 角色 | 影响 |
| 架构设计器 | 您必须有权访问相关实体或选项集的文件夹,才能将其包含在架构中。 |
| 数据读取者 | 您必须有权访问父实体文件夹和相关实体文件夹,才能查询完整数据。无法访问这两个字段,则会从结果中省略相关字段。 |
| 数据写入者 | You must have access to both the parent and related entity folders to write to related fields. If access to the related folder is missing, the data write is partial. If a related field is marked Required, the data write fails entirely for users without full access. |
| Automation Developer | 您必须同时有权访问父实体和相关实体,才能在工作流中使用该实体。部分访问权限会导致无法使用实体。 |
| 自动化用户 | 系统会在执行时评估权限。操作完全或部分完成,具体取决于您在执行时有权访问的文件夹。 |