Property description

The attributes property shows additional information about objects in a diagram.

Minimal JSON

{
  "type":"",
  "value":""
}
{
  "key": "relations_table_generated_generic",
  "template": {
    "componentId": "template#relations_table_generated_generic",
    "type": "relations",
    "attributes": [
      {
        "type": "definedKey",
        "value": "relationTypeName"
      },
      {
        "type": "definedKey",
        "value": "toObjectName"
      }
    ]
  }
}

Example taken from the core package.

Nested properties

PropertyDescriptionValuesMandatory
typeTypes of attributes that are displayed. Supported values are: attributeTypeKey, definedKeystring in (attributeTypeKey, definedKey)Yes
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
valueKeys of attribute types.stringYes
clearNewLineParagraphs in text are preserved. isHtml must be enabled as paragraph lines are saved as `.booleanNo
isHtmlDetermines whether HTML formatting is supported.booleanNo
isSourceAttributeDetermines whether the attribute value is from the source object.booleanNo
maxLengthMax length of displayed attribute value.numberNo

Supported type values

attributeTypeKey Attributes created in a package and assigned to an object type.

definedKey

Defined keys are predefined attributes such as last object edit, object name etc. Column widths adjust dynamically to fit the content, with longer values displaying up to a defined maximum. Supported values are:

  • dataDictionaryColumn
  • dataDictionaryModel
  • dataDictionaryObject
  • fromObjectName
  • fromObjectPathName
  • fromObjectTypeName
  • fromSpaceName
  • relationName
  • relationTextValue
  • relationTypeName
  • sourceTypeName
  • toApplicationName
  • toGrandParentObjectName
  • toObjectName
  • toObjectPathName
  • toObjectTypeName
  • toParentObjectName
  • toSpaceName