Skip to main content

Configure Default ContentMetadata

Introduction​

  • Attribute content metadata configuration is used to configure the list of default content metadata for attribute. When an attribute is created, the content metadata will also be created automatically following the configuration in this file.
  • The mapped name of the file is: com.priint.datamanagement.config.DataManagementPlugin.

Sample configuration:​

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<con:PluginConfig xmlns:con="com.priint.pubserver.config.manager/20130620">
<con:name>attributeContentMetaData.xml</con:name>
<con:type>AttributeContentMetaData</con:type>
<con:description>Attribute ContentMetaData Configuration</con:description>
<con:dependencies/>
<con:custom>
<attributeContentMetaDatas>
<attributeContentMetaData>
<entityIdentifier>attribute_display</entityIdentifier>
<key>Display</key>
<value>Attribute Name + Display</value>
</attributeContentMetaData>
<attributeContentMetaData attributeName="Product">
<entityIdentifier>attribute_display</entityIdentifier>
<key>Display</key>
<value>Attribute</value>
</attributeContentMetaData>
</attributeContentMetaDatas>
</con:custom>
<con:instances/>
</con:PluginConfig>
  • <attributeContentMetaDatas>: The list of content metadata.
    • <attributeContentMetaData>: Detail information of a configured content metadata. The property attributeName means that if the name of the attribute is exactly the same as it, then the content metadata will be added.
      • <entityIdentifier>: The entity identifier of the content metadata.
      • key: Key of the content metadata when it is created.
      • value: Value of the content metadata when it is created.