0 Replies Latest reply: Jul 16, 2015 5:31 AM by Martien Stam RSS

    Email Extension attatchment

    Martien Stam

      Dear Qlikview Extension developers,

       

      I am developing an Email extensions, which opens the clients outlook application and sens a pre formatted email.

      An example is show in this thread http://stackoverflow.com/questions/18869489/open-outlook-email-client-from-javascript

      This works great, it allows me to apply html formatting in the email which gives great flexibility in the email itself.

      However, I now want to attatch a document to my email which first needs to be created from the data in the extension.

      Hope you guys can give some input. Below are 2 questions.


      1. Am I able to load data into my extension and then write it to disk in a file format (whithout prompting the user), so that I later can grab the file I created?  (Does Javascript allow me to do this?)
      2. Am I able to create an in memory file, and create a download link so that outlook can refer to that url?

                something like this: https://community.qlik.com/servlet/JiveServlet/downloadBody/7054-102-1-8985/QV%20Tutorial.pdf


      Note, the extension is planning to be runned on qlikview server.


      Hope you guys can help!