跳转至

Use shared properties on object types(在对象类型上使用共享属性)

To update a property on an object type to a shared property, complete the following steps:

  1. Navigate to the object type in the Ontology Manager.
  2. Select the property on the panel that you want to update, then scroll down to the Shared Property section of the configuration.

Using a shared property

  1. Use the dropdown menu to select an existing shared property to use, or convert the property to a new shared property with the shared property creation modal.

The property will then display as a shared property. To persist the use of the shared property to the Ontology, select Save in the upper right.

  • When using a shared property on an object, the property ID and API name of the object-specific property will remain unchanged so as to not break existing downstream workflows that leverage them.
  • While associated with a shared property, direct edits to property metadata that is inherited from the shared property will be disabled. You can still add, delete, or edit type classes. When the property is loaded, the resulting set of type classes will be a union of those from the property and its associated shared property.
  • If the shared property you use has different render hint configuration values than the selected property, using the shared property will override the configuration values of the selected property. Make sure your shared property is configured with the proper render hints for your use case.

Detach a shared property from an object

To detach a property from a shared property, use the same property panel on an object type in the Ontology Manager and select Detach.

Detach a shared property

Doing so will remove the association between the property and the shared property.


中文翻译


在对象类型上使用共享属性

要将对象类型上的属性更新为共享属性,请完成以下步骤:

  1. 在 Ontology Manager 中导航至该对象类型。
  2. 在面板上选择要更新的属性,然后向下滚动至配置的 Shared Property(共享属性)部分。

使用共享属性

  1. 使用下拉菜单选择现有的共享属性,或通过 shared property creation(共享属性创建)模态框将该属性转换为新的共享属性。

该属性随后将显示为共享属性。要将对共享属性的使用持久化到 Ontology,请选择右上角的 Save(保存)。

  • 在对象上使用共享属性时,该对象特定属性的属性 ID 和 API 名称将保持不变,以免破坏依赖它们的现有下游工作流。
  • 与共享属性关联后,对从共享属性继承的属性元数据的直接编辑将被禁用。您仍然可以添加、删除或编辑类型类。加载属性时,生成的类型类集合将是该属性及其关联共享属性的类型类的并集。
  • 如果您使用的共享属性具有与所选属性不同的 render hint(渲染提示)配置值,则使用共享属性将覆盖所选属性的配置值。请确保您的共享属性已根据您的用例配置了适当的渲染提示。

从对象上分离共享属性

要将属性与共享属性分离,请在 Ontology Manager 中使用对象类型上的相同属性面板,然后选择 Detach(分离)。

分离共享属性

这样做将移除该属性与共享属性之间的关联。