跳转至

Edit a struct property type(编辑结构体属性类型)

  1. In Ontology Manager, open the Object types tab in the left sidebar and select an existing object type.
  2. In the object type details page, open the Properties tab in the left sidebar, and select the relevant struct property type from the Properties table.
  3. In the Property editor panel, scroll to the Struct fields section and select the struct field you would like to edit. The number of edits made will appear on the top right of the Ontology Manager interface.

Struct fields in the 'Property editor' panel.

  1. Make the necessary edits in the Edit struct field dialog, and select Confirm.

The 'Edit struct field' dialog.

:::callout{theme="neutral"} Note that changing a struct field's API name will result in a new struct field RID being generated. This will override the existing index, similar to the behavior of changing the property ID of a property type. Any applications that reference the updated struct field will need to be updated as well. :::


中文翻译

编辑结构体属性类型

  1. 在本体论管理器(Ontology Manager)中,打开左侧边栏的对象类型(Object types)选项卡,选择一个现有的对象类型。
  2. 在对象类型详情页面,打开左侧边栏的属性(Properties)选项卡,从属性表格中选择相关的结构体属性类型。
  3. 属性编辑器(Property editor)面板中,滚动到结构体字段(Struct fields)部分,选择您想要编辑的结构体字段。编辑次数将显示在本体论管理器界面的右上角。

'属性编辑器'面板中的结构体字段。

  1. 编辑结构体字段(Edit struct field)对话框中完成必要的编辑,然后选择确认(Confirm)

'编辑结构体字段'对话框。

:::callout{theme="neutral"} 请注意,更改结构体字段的API名称(API name)将生成一个新的结构体字段RID。这将覆盖现有索引,其行为类似于更改属性类型的属性ID。任何引用已更新结构体字段的应用程序也需要相应更新。 :::