跳转至

Metadata reference(元数据参考)

A shared property is represented in the Ontology by the following metadata:

  • Name: The name for the shared property.
  • Description: Explanatory text about the shared property that anyone can read in user applications. For example, the description of the start date shared property may be The day the employee began new hire training.
  • RID: An automatically generated unique identifier for every resource in Foundry. A property’s RID will be referenced in error messages across the platform.
  • Base type: Indicates the type of values for this property and determines the set of operations available in user applications. For example, the start date property will have base type date. User applications will allow you to configure a timeline widget with this property.
  • Value formatting: Depending on the base type of the property, numeric formatting, date and time formatting, user ID, and resource ID formatting are available to apply to the property, transforming its raw values into more readable versions in user applications. Learn more about value formatting.
  • Type classes: Additional metadata that are interpreted by user applications. Learn more about type classes.
  • Render hints: Indications to user applications about how to render the property that may be different than most properties of the same base type. Many render hints can be used to impact the performance of reindexes of the object type on which the property is defined. For example, if you do not expect any users to search or sort on the start date property in user applications, you can deselect the searchable and sortable render hints and improve the reindex performance of the Employee object type. Learn more about render hints.
  • Visibility: An indication to user applications for how prominently to display the property. A prominent property will lead applications to show this property first to users. A hidden property will not appear in user applications. By default, the start date property will have normal visibility.
  • Usage: The obect types on which a shared property is used. For example, the start date property can be in use by the Employee, Contractor, and other object types within the Ontology.

中文翻译


元数据参考

共享属性在本体(Ontology)中通过以下元数据表示:

  • 名称(Name): 共享属性的名称。
  • 描述(Description): 解释性文本,描述共享属性的含义,任何用户都可在应用程序中阅读。例如,start date 共享属性的描述可能是 员工开始新员工培训的日期
  • RID: Foundry 中每个资源的自动生成的唯一标识符。属性的 RID 将在平台各处的错误消息中被引用。
  • 基础类型(Base type): 指示该属性值的类型,并决定用户应用程序中可用的操作集。例如,start date 属性的基础类型为 date。用户应用程序将允许您使用此属性配置时间线小部件。
  • 值格式化(Value formatting): 根据属性的基础类型,可对属性应用数字格式化、日期和时间格式化、用户 ID 以及资源 ID 格式化,从而在用户应用程序中将其原始值转换为更易读的版本。了解更多关于值格式化的信息。
  • 类型类(Type classes): 由用户应用程序解释的附加元数据。了解更多关于类型类的信息。
  • 渲染提示(Render hints): 向用户应用程序提供的关于如何渲染属性的提示,可能与大多数相同基础类型的属性不同。许多渲染提示可用于影响定义该属性的对象类型(object type)的重新索引性能。例如,如果您不希望任何用户在用户应用程序中搜索或排序 start date 属性,可以取消选择 searchablesortable 渲染提示,从而提高 Employee 对象类型的重新索引性能。了解更多关于渲染提示的信息。
  • 可见性(Visibility): 向用户应用程序指示属性显示的突出程度。prominent 属性将引导应用程序优先向用户显示此属性。hidden 属性将不会出现在用户应用程序中。默认情况下,start date 属性具有 normal 可见性。
  • 使用情况(Usage): 共享属性所使用的对象类型。例如,start date 属性可能被本体中的 EmployeeContractor 及其他对象类型使用。