Quantcast
Channel: Adobe Community : Popular Discussions - Reporting
Viewing all articles
Browse latest Browse all 38309

cfreport - how can you force download without saving to file?

$
0
0
I'm trying to force download of report generated using CFREPORT without first saving it to a file, is that possible? The way I was going about it was using the "name" attribute of the CFREPORT tag to save the output of the report to a variable and then using the following code:

<cfheader name="Content-Disposition" value="attachment; filename=test.pdf">
<cfcontent type="application/pdf">
<cfoutput>#LOCAL.reportOutput#</cfoutput>

This is unfortunately not working. Anybody have any ideas?

Viewing all articles
Browse latest Browse all 38309

Trending Articles



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