DynamicFormViewTemplate
This page provides generated reference documentation for the DynamicFormViewTemplate data model.
Enables you to create dynamic forms. The fields of the form do not require Entity fields, but they are generated dynamically, based on a JSON field definition.
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 |
| formDefinition | Field which content should provide the definition of the form (in JSON format). |
| formResult | Field in which the result of the form should be written to (in JSON format). |
| editMode | Switches between read only mode or edit mode of the template. |
| 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.
formDefinition
Type: String
Field which content should provide the definition of the form (in JSON format).
formResult
Type: String
Field in which the result of the form should be written to (in JSON format).
editMode
Type: Boolean
Switches between read only mode or edit mode of the template.
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.