Outlook Add-in file download

Viewed 1433

What I'm trying to do

Download a file from an Office Outlook add-in inside Outlook application in MacOS X "El Capitan" ( not the web portal )

How I tried to do it

I have tried with:

  • Blob
  • data URL
  • btoa - atob
  • A tag with download variable
  • internal window.open ( in a allowed domain )
  • Applying Office Dev tutorial Office-Add-in-JavaScript-FileDownload ( with a modification to make it work in outlook due to OfficeExtension class)

But result is always the same: or it shows the file (i.e. images or text ), or Outlook prompts a mesage about that he cannot open a blob.

The only way that works is by opening an external browser window but I want to avoid it for UX and security reasons.

Note that it works perfectly in the web portal of Outlook.

Question

Does anyone knows when this will be allowed in Outlook (as it seems it works in Word, due to the mentionned tutorial ) or if it can be done?

Thanks for the help

0 Answers
Related