Skip to main content
Version: 2025.1

PictureViewTemplate

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

Displays a picture, whose source data is loaded from an entity field (property "pictureField").

Overview

PropertySummary
colspanThe colspan of the element.
devicesDetermines on wich devices the component should be available.
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…
pictureClickActionAction that should be executed when the picture is clicked.
pictureFieldField which content should provide the image data for the template (as Base64 string).
rowspanThe rowspan of the element.
titleTitle of the component

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

  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.


pictureClickAction

Type: String

Action that should be executed when the picture is clicked.


pictureField

Type: String

Field which content should provide the image data for the template (as Base64 string).


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