title: Outlook Add-in file download
body: <h1>What I'm trying to do</h1>
  
  <p>Download a file from an Office Outlook add-in inside Outlook application in MacOS X "El Capitan"  ( not the web portal )</p>
  
  <h1>How I tried to do it</h1>
  
  <p>I have tried with:</p>
  
  <ul>
  <li>Blob </li>
  <li>data URL </li>
  <li>btoa - atob </li>
  <li><code>A</code> tag with download variable</li>
  <li>internal <code>window.open</code> ( in a allowed domain )</li>
  <li>Applying Office Dev tutorial <a href="https://github.com/OfficeDev/Office-Add-in-JavaScript-FileDownload" rel="nofollow noreferrer" title="hello">Office-Add-in-JavaScript-FileDownload</a> ( with a modification to make it work in outlook due to OfficeExtension class)</li>
  </ul>
  
  <p>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.</p>
  
  <p>The only way that works is by opening an external browser window but I want to avoid it for UX and security reasons.</p>
  
  <p><em>Note that it works perfectly in the web portal of Outlook.</em></p>
  
  <h1>Question</h1>
  
  <p>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? </p>
  
  <p>Thanks for the help</p>