Aurora to PROIV Drag and Drop Overview

In this scenario, you can click on an object or many objects in Aurora (JavaScript objects) and drag the mouse pointer to a PROIV Static Icon. A payload of PROIV compatible data (a string or PROIV Array of strings) and the data type is attached to the drag (this is the responsibility of the developer of the object in Aurora). When the drop on the PROIV icon occurs, one Function Logic is actioned (On Drop Target) which accesses the data payload.

The drop occurs if the following statements are true (if not, the drop is prevented by the Open Client):

Click here to learn more about properties mentioned above.

If the drop is blocked by the Open Client or is cancelled by the user, (pressing the CANCEL key or releasing mouse when dragging, or dropping onto somewhere that is an invalid target, i.e. inside or outside the Open Client session), the payload is discarded and no events are fired.

If the Open Client permits the drop, the following events occur:

  1. The string in the drag payload is loaded into the variable defined in the DropDataVariable property. For example, if DropDataVariable is set to $DROP_DATA, then $DROP_DATA contains the string in the payload after the drop. If the screen design allows many objects to be dragged, the variable must be an array, i.e. $DROP_DATA(). If the data is longer than $DROP_DATA is defined to take, truncation occurs with no indication to the Open Client or the user. If $DROP_DATA is not defined as an array, it takes the first element of the payload data with no indication to the Open Client or the user.

  1. The Function Logic in the On Drop Target Static Icon event runs against the target object.

  2. When the PROIV VM is back in the Wait for Input state, the Open Client recognises this and interacts with the Aurora object as necessary. For example, the Aurora may remove source objects that were dragged to PROIV target objects.

Comment on this topic

Topic ID: 800099