Show TOC

DragSourceInfo PropertiesLocate this document in the navigation structure

Use

Properties in View Designer

Caution

Keep in mind the following points about the properties of a DragSourceInfo, especially with reference to data and tags:

The properties of a DragSourceInfo (in particular, data and tags) apply globally for the whole view element that the DragSource info object was aggregated for. If the View element has a dataSource, with which it is multiplied itself. or aggregated View elements are multiplied (e.g. rows 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).

  • data

    Textual representation of data transported to DropTarget. Along with mimeType, this property forms a link to resources.

Caution

Since the data is transferred through a client, the data property must not contain any security data, nor large data sets. It is preferable that the data values are a type of reference to the actual data.

The same applies for drop actions: The system must always check whether a drop action is permitted, similar to an input check for an InputField.

  • enabled

    Defines whether the object can be moved using Drag&Drop.

    This property can be personalized by administrators.

    In personalization, this property can be assigned the value: false

  • mimeType

    Type of resource.

    Note that this property is not currently used; it is intended for future developments.

  • mode

    Value

    Description

    default

    Standard behavior

    native

    Drag&drop with native HTML5, enables Drag&Drop across browser boundaries.

  • scope

    Validity area of DragSourceInfo.

    Value

    Description

    componentInstance

    DragSourceInfo can only be used within the component. Objects can only be moved to a UI element of the same component using Drag&Drop.

    global

    DragSourceInfo can be used globally.

  • tags

    This property corresponds to flavors in the programming environment. The flavour describes the type of drag & drop description. In a drag & drop situation objects can only be dropped on to others if they have at least one shared 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.