Skip to main content
2695 Posts
Using DataStreamer to stream a .xlsx file

Hi AllI've built a workbench that generates an Excel file. What the end goal is to have this work bench accessible through a web page and allow the user to download the result as a .xlsx (not a zipped .xlsx).I've tried two ways to get this working:DataDownload This works however the .xlsx is returned in a .zipDataStreamer This method works when running the workbench from FME Server (a download window appears) but when using the JS API you simple get the .xlsx return as a string (like if you tried to open a .xlsx file with notepad). Myself and a colleague have tried a number of ways to get this working by playing with the parameters (specifically opt_response format). I've included the JS in its current state below...      <script type="text/javascript">    var repository, workspace        window.onload = function() {            FMEServer.init({            server : "

Badge Winners

Show all badges

Community Stats

32,413
Posts
122,925
Replies
40,132
Members

Latest FME