LookupViewTemplate
This page provides generated reference documentation for the LookupViewTemplate data model.
Enables you to integrate lookup functionality into a View, meaning the option to select a specific dataset of another Entity via its LookupView (= the View selected in property "lookupView" in the corresponding Context).
Overview
| Property | Summary |
|---|---|
| title | Title of the component |
| devices | 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… |
| entityField | This property is mandatory. Its value must be set to |
| consumerField | Field which consumer should be used as the source for the lookup component. |
| consumerPresentationMode | The presentation mode that should be used for the lookup component. POPUP -> The lookup view of the consumer will be shown within a popup adjacent to the… |
| colspan | The colspan of the element. |
| rowspan | The 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.
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.
consumerField
Type: String
Field which consumer should be used as the source for the lookup component.
consumerPresentationMode
Type: EConsumerPresentationMode
The presentation mode that should be used for the lookup component. POPUP -> The lookup view of the consumer will be shown within a popup adjacent to the field. EMBEDDED -> The lookup view of the consumer will be shown inside its parent view.
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.