Component description

The attributes component configures the display of data (attributes). Attributes can be:

  • Stored in their raw form and displayed as such
  • Automatically transformed to a visual feature variation defined by attribute type features

Example

Minimal JSON

{
  "type": "attributes",
  "value": []
}
{
  "key": "attributes_description",
  "template": {
    "componentId": "template#attributes_description",
    "type": "attributes",
    "title": "",
    "values": [
      "description"
    ]
  }
}

Example taken from the core package.

Nested properties

PropertyDescriptionTypeMandatory
typeattributesstringYes
valueArray of keys of displayed attribute types.arrayYes
componentIdUnique ID of a component. If left empty, a random string will be generated. Primarily used in patch packages to define the component's position within the layout (template).stringNo
settingsSetting configuring whether the attribute’s rich text editor opens in full-screen by default when the object page is opened. Example configuration:{ "type": "attributes", ..., "settings": { "fullscreenEditor": true } } },jsonNo
titleTranslation key of the title. Define the key in translations to specify how the text is displayed in the UI. Unlike the name property, if you use a specific string of text for the title, this text will appear with the package key. For example, Comment Section will be displayed as package_key_comment section.stringNo