DragAndDropViewTemplate
This page provides generated reference documentation for the DragAndDropViewTemplate data model.
Displays an area including a file selection component and the ability to process files dropped here. As soon as a file is selected or dropped, an action (property "dropAction") is executed.
Overview
| Property | Summary |
|---|---|
| colspan | The colspan of the element. |
| descriptionField | Field containing the description |
| devices | Determines on wich devices the component should be available. |
| dropAction | Action that gets executed on drop |
| entityField | 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… |
| rowspan | The rowspan of the element. |
| title | Title of the component |
colspan
Type: Integer
Default: 1
Constraints: Minimum: 0, Maximum: Integer.MAX_VALUE
The colspan of the element.
descriptionField
Type: String
Field containing the description
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.
dropAction
Type: String
Action that gets executed on drop
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.
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