Skip to main content

GenericMultipleViewTemplate

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

Used to display and enter data of the "n" part in a 1:n data relation: Displays one or multiple entity fields of n data sets, ordered horizontally (property "columns"). Should be assigned only to Edit Views.

Overview

PropertySummary
titleTitle of the component
devicesDetermines 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…
children
entityFieldThis property is mandatory. Its value must be set to
columnsContains all defined columns for this component.
informationFieldDefines the field which provides additional information. The placement of the information label varies between the ViewTemplates. The information label is only…
isCreatableCreatable yes/no.
isEditableEditable yes/no.
isDeletableDeletable yes/no.
autoNewRowDetermines if a new row should be added automatically, if the record state is NEW
maxDBRowSets the maximum number of data rows to be gathered from the database
viewRendererMappingMapping that specifies how an entity field should be rendered in view mode. If no custom mapping is defined the default renderers are used.
editRendererMappingMapping that specifies how an entity field should be rendered in edit mode. If no custom mapping is defined the default renderers are used.
colspanThe colspan of the element.
rowspanThe rowspan of the element.

title

Type: String
Constraints: Verification: TITLE_LENGTH

Title of the component


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.


children

Type: Children


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.

columns

Type: Column

Contains all defined columns for this component.


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.


isCreatable

Type: Boolean
Default: true

Creatable yes/no.


isEditable

Type: Boolean
Default: true

Editable yes/no.


isDeletable

Type: Boolean
Default: true

Deletable yes/no.


autoNewRow

Type: Boolean

Determines if a new row should be added automatically, if the record state is NEW


maxDBRow

Type: Integer
Default: 400
Constraints: Minimum: Integer.MIN_VALUE, Maximum: Integer.MAX_VALUE

Sets the maximum number of data rows to be gathered from the database


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.


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.


colspan

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

The colspan of the element.


rowspan

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

The rowspan of the element.