Question

5
Replies
2898
Views
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
Posted: 25 Sep 2018 3:17 EDT
Last activity: 17 Feb 2021 10:12 EST
Closed
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
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.