ScoreCardViewTemplate
This page provides generated reference documentation for the ScoreCardViewTemplate data model.
Displays arbitrary fields of an entity, each on a labelled card. The label is specified in the "title"/"titleProcess" property of the corresponding entity field.
Overview
| Property | Summary |
|---|---|
| children | List of children in this container |
| colspan | The colspan of the element. |
| devices | Determines on wich devices the component should be available. |
| entityField | This property is mandatory. Its value must be set to 1. #ENTITY, when the ViewTemplate uses multiple EntityFields of the Entity belonging to the View… |
| fieldActions | Actions that correspond to the linked fields of the template. The first action is mapped to the first field and will be executed when the component of the… |
| fields | Container for datamodel fields, e.g. for tables |
| rowspan | The rowspan of the element. |
| title | Title of the component |
children
Type: Children
List of children in this container
colspan
Type: Integer
Default: 1
Constraints: Minimum: 0, Maximum: Integer.MAX_VALUE
The colspan of the element.
devices
Type: EDeviceType[]
Determines on wich devices the component should be available.
The default value states that the component is available on all devices. If one or more devices are selected then the component is only available for those selected devices.
entityField
Type: String
This property is mandatory. Its value must be set to
#ENTITY, when the ViewTemplate uses multiple EntityFields of the Entity belonging to the View (default).- a single EntityField, if the ViewTemplate uses only this one single EntityField (example: WebContentViewTemplate).
The second option will result in a performance optimization.
fieldActions
Type: String[]
Actions that correspond to the linked fields of the template. The first action is mapped to the first field and will be executed when the component of the first field is clicked.
fields
Type: INeonFieldGroupDataModel.Field
Container for datamodel fields, e.g. for tables
rowspan
Type: Integer
Default: 1
Constraints: Minimum: 0, Maximum: Integer.MAX_VALUE
The rowspan of the element.
title
Type: String
Constraints: Verification: TITLE_LENGTH
Title of the component