Is it possible to enable dragging an object between browser tabs?

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
User avatar
Take4
Posts: 5
Joined: Thu Feb 16, 2017 7:04 pm

Is it possible to enable dragging an object between browser tabs?

Post by Take4 »

In our application we are trying to enable a drag-drop of a visual object between two browser windows (tabs). The user will run our application on dual monitors, and they want to be able to drag an asset from one window, into a container on the second window.

We have seen that it is possible to drag objects between browser tabs on other websites, and found some sample Javascript to do this, but we cannot make it work in LANSA. Does anybody know if this is possible, or do you have an example we can use?
| | -- Take4 --
V -- LANSA Japan --
User avatar
Stewart Marshall
Posts: 417
Joined: Thu Nov 05, 2015 5:25 pm

Re: Is it possible to enable dragging an object between browser tabs?

Post by Stewart Marshall »

To enable this between two browser instances today, you'd need to do the processing entirely in JavaScript. RDMLX has no support at present for external drag and drop.

The best approach would be probably be to the drag start and end points UI developed in a widget so that the native events can be processed.

Regards
Stewart Marshall

Independent IT Consultant
www.marshallfloyd.com.au
Post Reply