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,