The DragSourceInfo is inserted into a UI element, e. g. into a Table, to enable you to define this UI element as a drag source.
● data
The text representation of the data to be transported along the way to the drop target.
● enabled
Determines whether this DragSourceInfo is enabled. If set to false, the user cannot start a drag action from here.
● mimeType
The MIME type describing the format for the data property. The default is to use plain text. We recommend to align to the MIME types, but you can define any string here.
● scope
Defines whether this drag source can only take part in drag-and-drop operations which are local to the enclosing Web Dynpro component instance. Possible values are:
○ componentInstance: The drag-and-drop operation can be executed inside the same component instance.
○ global: The drag-and-drop operation can be executed over component and application boundaries. This includes any Web Dynpro application the same tags are defined for.
● tags
A space-separated list of identifiers which is used to determine compatibility of a given drag source with potential drop targets. If the list is empty, no drag can be started from that source.
We recommend to specify the tags according these rules:
ID part |
allowed characters |
Namespace |
A to Z |
|
a to z |
|
digits from 0 to 9 |
|
hyphen - |
ID |
A to Z |
|
a to z |
|
digits from 0 to 9 |
|
hyphen - |
|
period . |
Examples:
○ CRM:Customername
○ Name-Space42:com.asap3.first-name
Name |
Interface |
Type |
Initial Value |
Bindable |
data |
IWDDragSourceInfo |
String |
|
bindable |
enabled |
IWDDragSourceInfo |
boolean |
true |
bindable |
mimeType |
IWDDragSourceInfo |
String |
text/plain |
not bindable |
scope |
IWDDragSourceInfo |
WDDragDropScope |
componentInstance |
not bindable |
tags |
IWDDragSourceInfo |
String |
|
not bindable |