Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 72601

Re: CFHeader to set filename with content-disposition not working

$
0
0

LASUI wrote:

 

Please note that this workbook is created with the POI java library and not the ColdFusion excel generation tags. The POI library had more functionality than the ColdFusion tags which is why we went with it.

 

The workbook displays correctly and is correctly of type xls, but the filename is not correct. Our big issue is with the filename not being the one that we have put in the <cfheader> tag call for Content-Disposition:

 

<cfheader name="Content-Disposition" value='attachment; filename="#arguments.fileName#" ' >

 

Your code looks OK. What happens when you change that line to:

 

<cfheader name="Content-Disposition" value="attachment; filename=#arguments.fileName#" >


Viewing all articles
Browse latest Browse all 72601

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>