Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Fields are displayed informations about assets and can be set up depending on your needs.

NamedFieldConfig description

NamedFieldConfig are named field configurations. This allows to define fields once and to re-use them across different contexts.

NamedFieldConfig are defined in $.common.namedDisplays. It can be one of:

  • A string reflecting a NamedFieldConfig

  • A string reflecting a field name (as defined in the admin structure area)

  • An ItemFieldConfig

ItemFieldConfig description

An ItemFieldConfig reflects a single field. It can be defined as:

  • A string representing the field you want to create. This is equivalent to creating a FieldConfig by only specifying the field property :

Code Block
languagejson
"myfieldname"
// equivalent to
{
  "field": "myfieldname"
}

  • A FieldConfig describing the field.

FieldConfig description

An Object representing a given field.

Property

Type

Default

Description

field

String

No default value

Can refer to another named field config or to a field name described in the admin area

withoutLabel

Boolean

false

Do not display the name of the field before the value

withBullet

Boolean

true

Display a bullet before the field