ADF Drag & Drop with Outlook Email

cancel
Showing results for 
Search instead for 
Did you mean: 
Cuzzins
Customer

ADF Drag & Drop with Outlook Email

Jump to solution

Hi,

I am building a small application using the ADF framework and it includes the Drag and Drop area component. This works fine when dragging in from the file system but the result varies when dragging an email in from outlook.

The .msg file does correctly get uploaded, but it is 'deleted' from the Outlook client. Ctrl-z does bring it back, but that's not an ideal solution.

The issue appears to be different defaults across the browsers for the .dropEffect setting:

https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/dropEffect

The default in Chromium/Chrome at the moment in this case is .dropEffect = "move" rather than .dropEffect = "copy".

Does anyone know of a setting/code change that I can make that would allow me to explicitly set this on the ADF component rather than relying on the browser default? In this case I would expect the underlying component to always be set to "copy" rather than "move".

Any help would be appreciated!

1 Solution

Accepted Solutions
dvuika
Alfresco Employee

Re: ADF Drag & Drop with Outlook Email

Jump to solution

It should be part of the 4.0 release. The corresponding changes have been merged before the release.

View solution in original post

9 Replies
dvuika
Alfresco Employee

Re: ADF Drag & Drop with Outlook Email

Jump to solution

This has been fixed already and will be available in the next release of ADF (4.0)

Cuzzins
Customer

Re: ADF Drag & Drop with Outlook Email

Jump to solution

Awesome! Is there any option for older versions?  Am not sure when I can upgrade to ADF 4 and have an existing customer complaining that their email is going missing. 

Cuzzins
Customer

Re: ADF Drag & Drop with Outlook Email

Jump to solution

Also, can I get an idea of when the 4.0 release will be?

Cuzzins
Customer

Re: ADF Drag & Drop with Outlook Email

Jump to solution

Hi,

I tried the 3.10-beta3 that has this fix in the directive. But it didn't seem to help for me when using the adf-upload-drag-area control. Is the directive used by this component under the covers?

I'm working against a beta I know, but just trying to work out if I need to build a custom div that uses the directive to get this fix.

Cheers,

Matt

dvuika
Alfresco Employee

Re: ADF Drag & Drop with Outlook Email

Jump to solution

Thank you for the feedback. I have identified an issue and working on a fix

Cuzzins
Customer

Re: ADF Drag & Drop with Outlook Email

Jump to solution

Can I assume the fix will not be in 4.0 as I was just notified that was already released. So perhaps a 4.1 beta? Just need to be able to give some info to my PM.

dvuika
Alfresco Employee

Re: ADF Drag & Drop with Outlook Email

Jump to solution

It should be part of the 4.0 release. The corresponding changes have been merged before the release.

Cuzzins
Customer

Re: ADF Drag & Drop with Outlook Email

Jump to solution

OK, awesome, just upgrading now... will let you know how it goes. Appreciate the assistance.

Cuzzins
Customer

Re: ADF Drag & Drop with Outlook Email

Jump to solution

Just tested and it does appear to be working in 4.0 for my case! Thanks!