
Note the following points regarding properties of a DragSourceInfo, in particular, data and tags:
The properties of a DragSourceInfo (in particular, data and tags) apply globally for the whole View element, for which the DragSource info object was aggregated. If the View element has a dataSource, through which it is aggregated itself, or through which aggregated View elements are multiplied (e.g. lines or cell editors of a table or instances of the MultipleAccordionItem), and if a property of DragSourceInfo (e.g. data) is bound to an attribute of dataSource, a separate value of this property is not created for each multiplied unit (e.g. table line or instance of the MultipleAccordionItem). Instead, the value of the lead selection of the dataSource is used globally for all units (table lines, instances of the MultipleAccordionItems).
Textual representation of data transported to DropTarget . Along with mimeType, this property forms a link to resources.
Since the data is transported using the client, there must not be any data for which security is critical and there must also not be any large data in the data property. The values for data should be a kind of reference to the actual data.
The same applies for the drop actions: You should always check whether the drop action is allowed, as for the input check for an InputField.
Defines whether the object can be moved using Drag&Drop.
This property can be personalized by an administrator.In personalization, this property can be assigned the value false
Type of resource.
Note that this property is not currently used; it is intended for future developments.
Scope of DragSourceInfo.
| Value | Description |
|---|---|
|
componentInstance |
DragSourceInfo can only be used within the component for security reasons. Objects can only be moved to a UI element of the same component using Drag&Drop. |
|
global |
DragSourceInfo can be used globally. |
This property corresponds to flavors in the programming environment. The flavor describes the type of drag and drop description. In a drag and drop operation, you can only drop an object onto another if both have at least one common description.
It enables possible DropTargets to be identified. Drag&Drop is only possible if the DragSourceInfo has at least one DropTarget tag. Multiple tags can be assigned to a DragSourceInfo.
The specifications for this property are case-sensitive. Entries must be separated by spaces. You may not use the following characters: Colon(:), comma (,), semicolon (;), backslash (\), slash (/), period (.).
You can use this property to define your own development standards. As a software architect, you should pay attention to which tags you are using and how they are designed.