Question

5
Replies
2706
Views
Close popover
Cloe Walker (CloeW938)
IT Solution Service

IT Solution Service
SG
CloeW938 Member since 2018 158 posts
IT Solution Service
Posted: September 25, 2018
Last activity: February 17, 2021
Solved

How to create a CSV file out of Report Definition

Hi,

I have a grid whose source is Report Definition. Requirement is to have a button where user can click to create and download a CSV file from this grid. Filtering must be reflected for generated CSV file.

Let's assume below use case:

- The report definition is to obtain the list of Customers (class: MyCo-MyApp-Data-Customer)
- It seems Pega creates a top page "pgRepPgSubSectionDownloadCustomerBB" and its pxResults(1) to (n) have a list of customers
- I want to specify some property - CustID, Name, PhoneNumber, and Address.

I have located an out-of-the-box activity called "pxConvertResultsToCSV" which seems a best fit for this requirements - however I am not sure what exactly I should enter parameters. Could someone advise me what to actually enter based on above sample page / property name?

Thanks,

Reporting