Drag and drop from email client

Hi,

I have implemented an upload area for drag n drop. Everything works well if I drag and drop from a file browser, but when I try to drag and drop from an email client such as Outlook, then the compoment on the client side does not pass any events down to the server.

You can try the behavior with the demo app (https://demo.vaadin.com/sampler/#ui/drag-drop/drag-from-desktop). Is there a way to be able to capture those files?

Thanks,

Julio

Hi,

I seem to recall you need an addon for Outlook to enable html5 drag and drop. Something like this: http://www.wilutions.com/ddaddin/index.html

-Olli

Hey thanks for the heads up on that. Good info. It just seems silly we can’t hear the drop event on an HTML 5 component when it is coming from Outlook or probably other email clients as well. It is weird because the mouse changes states when you drag the item to the HTML5 component.

After searching in the web this seems to be a big deal/issue. I have a gut feeling that the component can listen to the drop event but it is filtering it. If anybody else has any ideas on how to be able to handle this from the component I would greatly appreciate it.

Thanks,

Julio

Found another thread here: https://vaadin.com/forum#!/thread/14600044 in case anyone interested.

If you do manage to figure out, it’d probably make a great add-on for Vaadin.

-Olli

I’m sorry to re-open this ancient post, but nowadays there is DragDrop.
This is an Add-in that supports Outlook 2007 and up.
I use it very often and it is such a handy and powerful tool.

You can find [DragDrop here]
(https://www.dragdrop.com/ref/120/).
Oh, and they also provide [a free trial here]
(https://www.dragdrop.com/download-free-trial/ref/120/).