Hi All
I'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
- DataStreamer
<script type="text/javascript"> var repository, workspace window.onload = function() { FMEServer.init({ server : "https://*******************", token : "********************************" }); repository = '***************' workspace = "EXCEL_Download.fmw" } function getData (){ var PIDs = document.getElementById('projectID').value FMEServer.runDataStreaming(repository, workspace, 'opt_responseformat=xlsx&ProjectIDs;='+PIDs, success) } function success (result){ console.log(result) //var url = result.serviceResponse.url //window.open(result, "_parent") } </script>
Any one have any thoughts on how this can be fixed?