AnsweredAssumed Answered

Alfresco Webscript/Freemarker and content-disposition

Question asked by alexr on Sep 8, 2008
Latest reply on Apr 20, 2010 by bhaskar
I have created a webscript that generates a text-file which is in fact a CSV file (delimited values), which serves as a "report" for the end-user.
When activating the Webscript URL a new browser tab is opened and the content of the text file is shown.

How can a SaveAs Excel file (test1.xls) be realized?   From what I gathered sofar is that it has to do with implementing content-disposition, but
I can't see where and how to apply this in the webscript/freemarker template structure of Alfresco 2.2 Enterprise.

Regards,

Alex

Outcomes