Created
May 28, 2016 11:10
-
-
Save psapir/d8e0adb93efaebe015d3f6bcf2d5b79e to your computer and use it in GitHub Desktop.
Creating a CSV download page with SSJS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Name,EmailAddress | |
Pato,pato@bh.exacttarget.com | |
Bill,bill@bh.exacttarget.com | |
<script runat=server> | |
Platform.Load("core", "1"); | |
HTTPHeader.SetValue("content-disposition","attachment; filename='test.csv'"); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
more details at: http://www.devsutd.com/creating-a-csv-download-page-with-ssjs/