Skip to main content
Version: 2026.1

CardViewTemplate

This page provides generated reference documentation for the CardViewTemplate data model.

Displays up to 5 entity fields of one single dataset, styled like a business card. All fields have fixed positions: On the left, an image (property "iconField"), on the right 4 further fields, in vertical order (properties "titleField", "subtitleField", "descriptionField", and "informationField").

Overview​

PropertySummary
colspanThe colspan of the element.
descriptionFieldField, which holds the description text
devicesDetermines on wich devices the component should be available.
editRendererMappingMapping that specifies how an entity field should be rendered in edit mode. If no custom mapping is defined the default renderers are used.
entityFieldThis property is mandatory. Its value must be set to 1. #ENTITY, when the ViewTemplate uses multiple EntityFields of the Entity belonging to the View…
favoriteAction1First actiongroup for additional actions
favoriteAction2Second actiongroup for additional actions
iconFieldField, which determines the icon
informationFieldDefines the field which provides additional information. The placement of the information label varies between the ViewTemplates. The information label is only…
isEditableEditable yes/no.
objectTypeField which stores the objectType of the favorite
rowIdField which stores the rowId of the favorite
rowspanThe rowspan of the element.
subtitleFieldField, which hold an additional title. Shown below the title.
titleTitle of the component
titleFieldField, which holds the title
viewRendererMappingMapping that specifies how an entity field should be rendered in view mode. If no custom mapping is defined the default renderers are used.

colspan​

Type: Integer
Default: 1
Constraints: Minimum: 0, Maximum: Integer.MAX_VALUE

The colspan of the element.


descriptionField​

Type: String

Field, which holds the description text


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.


editRendererMapping​

Type: RendererMappingDataModel

Mapping that specifies how an entity field should be rendered in edit mode. If no custom mapping is defined the default renderers are used.


entityField​

Type: String

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 (default).
  2. a single EntityField, if the ViewTemplate uses only this one single EntityField (example: WebContentViewTemplate).

The second option will result in a performance optimization.


favoriteAction1​

Type: String

First actiongroup for additional actions


favoriteAction2​

Type: String

Second actiongroup for additional actions


iconField​

Type: String

Field, which determines the icon


informationField​

Type: String

Defines the field which provides additional information. The placement of the information label varies between the ViewTemplates. The information label is only shown once per ViewTemplate.


isEditable​

Type: Boolean
Default: true

Editable yes/no.


objectType​

Type: String

Field which stores the objectType of the favorite


rowId​

Type: String

Field which stores the rowId of the favorite


rowspan​

Type: Integer
Default: 1
Constraints: Minimum: 0, Maximum: Integer.MAX_VALUE

The rowspan of the element.


subtitleField​

Type: String

Field, which hold an additional title. Shown below the title.


title​

Type: String
Constraints: Verification: TITLE_LENGTH

Title of the component


titleField​

Type: String

Field, which holds the title


viewRendererMapping​

Type: RendererMappingDataModel

Mapping that specifies how an entity field should be rendered in view mode. If no custom mapping is defined the default renderers are used.