Discussion

Dynamic populating proprties of PageList as colums

I have a page list called InvoiceDetails

InvoiceDetails

InvoiceDetails.pxResults(1).Invoice Number - 12
InvoiceDetails.pxResults(1).Invoice Amount -200$

InvoiceDetails.pxResults(2).Invoice Number -14
InvoiceDetails.pxResults(2).Invoice Amount - 500$

There will be N number of results. I need to genearate a PDF/Flat file/XLS file out of this page list. IN that PDF or Flat file

There should be a table with 2 columns - 1.Invoice Number 2. Invoice Amount and all the properties in the pagelist should be formatted like a repeating layout in the PDF. Out of Box Pega will offer only Static PDF not the Dynamic PDF. Please let me know if you have any such requirement. If so how to do it.

Regards,

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

Pega
April 8, 2009 - 9:18am

What is the top-level object that contains the Page List you want to report on? a work object? What is the unique key of that object?

It is true that List View reports generally report on Single Value properties, not Page List properties. However, using Declare Index rules, your application can automatically contain an Index-xxx class that has these columns:
Key ?
InvoiceDetail.InvoiceNumber(i)
InvoiceDetail.InvoiceAmount(i)
for each item in the list. Then, you can create a list view report for that class that contains the rows you want.

April 8, 2009 - 9:32am

Hi,

I dont want to create a List View Report on the pagelist.I am getting a pagelist from an external system. and now I need to make a report on the data I get from the external system and write it to a document.

Creating a Workobject on each page of the page list is a next step. Before that I need to create a PDF/XL/Flatfile and write the proprties of the page list as colums in the PDF/XL/Flat file.

For Example - I am getting the invoice details from the external system as a pagelist.

InvoiceDetails

InvoiceDetails.pxResults(1).Invoice Number - 12
InvoiceDetails.pxResults(1).Invoice Amount -200$

InvoiceDetails.pxResults(2).Invoice Number -14
InvoiceDetails.pxResults(2).Invoice Amount - 500$

Like this there may be N number of results. I need to genearate a PDF/Flat file/XLS file out of this page list. IN that PDF or Flat file

There should be a table with 2 columns - 1.Invoice Number 2. Invoice Amount and all the properties in the pagelist should be formatted like a repeating layout in the PDF. Out of Box Pega will offer only Static PDF not the Dynamic PDF. Please let me know if you have any such requirement. If so how to do it.

Regards,

September 22, 2015 - 11:13am

How can I create a report definition on a pagelist .I have a requirement similar to described above but I am not sure if a report can be run on Pagelist or not .