Discussion

Pegasystems Inc.
JP
Posted: Dec 5, 2022
Last activity: Jan 16, 2023
Last activity: 16 Jan 2023 0:56 EST
How to build downloading CSV file function
Hi,
In this post, I will share how to build downloading CSV file from Page List function using pxConvertResultsToCSV activity. Please see attached for the tutorial.
This document includes the following tips:
- How to give an arbitrary name to the downloaded file
- How to change header name in the CSV file from actual property name
- How to source embedded page (pyWorkPage) and top page (non-case context)
- How to download a full list of top page (non-case context) when using pagination on section
- How to enable Japanese characters (modify "pxConvertResultsToCSV" activity's character set from Unicode to MS932 so you can directly open the CSV file using Japanese Microsoft Excel)
* Related topic
The usage of all the combinations of upload / download CSV / Excel file is summarized at https://support.pega.com/discussion/handling-files-thru-user-interface.
Hope this helps.
Thanks,