UiPath Documentation
data-service
latest
false
  • 入门指南
    • 简介
    • Data Fabric / Data Service feature availability
    • 探索用户界面
    • 区域和实例
  • 许可
  • 设置和配置
  • 使用服务
    • 创建实体
    • 自定义实体
    • 管理实体的数据
    • 创建关系
    • 选项集
    • 系统用户实体
    • 架构导出和导入
    • 实体数据中的高级搜索
    • 使用 Apps
    • 已知限制
  • 参考
  • 示例和教程
  • 日志记录

[Preview] Data Fabric user guide

上次更新日期 2026年5月8日

自定义实体

简介

Data Fabric / Data Service contains System built-in fields. When you create a new entity a set of default fields is automatically created still you can customize the entities you defined by adding specific fields.

文档图像

字段类型

可以创建以下字段类型的字段。

  • 文本:这种字段可用于存储少量文本。
  • 数字:这种字段可用于存储数值。数值可以是正数,也可以是负数。您必须指定要使用的小数位数。
  • Yes/No: this field is used to choose between a Yes or No value.
  • 日期时间:这种字段用于存储包含日期和时间的值。日期选取器可用于选择日期和时间。
  • 关系:这种字段用于在两个实体之间创建关系。
  • 选项集:这种字段用于存储枚举值列表,从中可以选择一个或多个值。
  • 文件:这种字段用于存储文件。
  • “自动编号”:此字段用于自动增加记录索引。
  • Multi-line Text: this field can be used to store a larger amount of text on multiple rows.
    备注:

    Each type of field requires different details that must be specified. For more information, refer to Entity Field Types.

创建字段

要向实体数据添加字段,请执行以下步骤:

  1. In the Entities list, select the entity for which you want to add a field.

  2. Select Manage Entity.

  3. In the source section, either Local fields or the chosen external system, select Add field.

    • If you select Add field in the Local field section, follow steps 4 to 10.

      “本地字段添加字段”图像

    • If you select Add field in the chosen external system, check the fields you want to add to your entity from the provided list. Select Save.

      “选择的外部系统”图像

  4. 输入新字段的显示名称“显示名称”是在 Studio 中导入实体时显示的名称。可以在创建实体后修改此字段。

  5. 输入新字段的名称名称可以是字母数字,但必须以字母开头。它必须包含 3 到 30 个字符。

    备注:

    “名称”字段将自动填充为“显示名称”的相同值。您只能在实体创建过程中更改其值。创建实体后,将无法编辑“名称”字段。

  6. 使用下拉列表选择“类型”字段。

  7. 要强制用户为字段提供值,请选中“必填”复选框。

  8. 要强制执行字段记录的唯一值,请选中“仅唯一值”复选框。

    重要提示:

    该选项适用于“文本”“数字”字段类型。

    When needed, use the maximum decimal places configured for numbers. Otherwise, Data Fabric rounds up the number to the maximum value of decimals, causing uniqueness failure. For example, if you set a precision of three decimals and input values such as 3.015 and 3.0148, the latter value is rounded up to 3.015, leading to uniqueness failures.

    该选项不区分大小写,这意味着“唯一值”和“唯一值”被标识为重复项。

  9. Select More details to configure optional field record properties, such as:

    选项描述
    最大长度对于“文本”字段,设置用户可提供的最大字符数。默认情况下,最多允许使用 200 个字符。
    最大值对于“数字”字段,请设置用户可提供的最大值。默认最大值为1,000,000,000,000
    最小值对于“数字”字段,设置用户可提供的最小值。默认最大值为-1,000,000,000,000
    小数位对于数字字段,设置用户可以提供的十进制数字位数。默认值为2 ,允许使用带有两位小数的数字,例如23,45
    默认值如果用户不提供数据,请设置默认值。
    描述为字段添加说明。
    基于角色的字段访问选择此选项可通过授予显式权限来限制数据访问
  10. 选择“继续”

    The new field is displayed in the Local fields list.

更新字段

要更新已创建的字段,请执行以下步骤:

备注:
  • 无法更新系统内置字段。
  • 无法更改自定义字段的名称和类型
  1. In the Overview tab, select Manage Entity, or select the Edit icon corresponding to the field you want to update.
  2. Apply your field updates in the Local fields section or the chosen external system section.
    备注:

    如果字段是在启用“仅唯一值”选项的情况下创建的,则可以将其关闭,以再次允许重复项。请注意,清除“仅唯一值”复选框会阻止您日后再次选择该复选框。

  3. 选择“保存”

删除字段

要删除已创建的字段,请执行以下步骤:

备注:

无法删除系统内置字段。

  1. In the Overview tab, select Manage Entity, or select the More options menu corresponding to the field you want to delete, and then select Delete.
  2. If you select Manage Entity, then select the Delete icon the Local fields section, or the chosen external system section corresponding to the field you want to delete.
  3. 选择“保存”

启用或禁用基于角色的字段访问

Role based field access (RBAC) can be used to restrict data access. It is possible to enable Role based field access for custom fields only, it is not available for system built-in fields.

After the Role based field access option is enabled for a field, the roles need to be updated to grant explicit permissions for users to access the field. Refer to Manage access for more information.

备注:

Standard roles will no longer have access to data in fields that are enabled for Role based field access. Users who need access to this data will need to be assigned a Custom role that grants permissions to access the data in the field.

  1. In the Overview tab, select Manage Entity, or select the More options menu corresponding to the field you want to enable or disable RBAC, the select Enable Role based field access or select Disable Role based field access.

  2. If you select Manage Entity, then use the RBAC toggle in the Local fields section, corresponding to the field for which you want to enable or disable RBAC.

    “RBAC”切换图像

  3. 选择“保存”

    备注:

    The RBAC option is only available for local fields.

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新