Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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 :

"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

  • No labels