Question 1 Replies 7760 Views × Close popover Gunjan Patil (GunjanSP) TECH MAHINDRA Software Engineer TECH MAHINDRA IN View Profile Send Message GunjanSP Member since 2014 1 post TECH MAHINDRA Posted: August 11, 2016 Last activity: September 12, 2016 Posted: 11 Aug 2016 9:35 EDT Last activity: 12 Sep 2016 8:33 EDT Closed Solved How to display page list in HTML using Pega? Hi Team, I have one requirement where I have one page list containing the values for many properties. From that I want to show all the values of one specific property in PDF format usingHTML code in Pega. For eg: I want to show like the below in my PDF. In this, Product type is one property from the pagelist. Product type: pqr abc xyz Thanks in advance. ***Updated by Moderator: Lochan. Removed user added helpme tag. Apologies for confusion, shouldn't have been an end-user option*** Low-Code App Development × Close popover Facebook Twitter Linkedin Email Copy Link Copied! Moderation Team has archived post, learn more × Close popover 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. Accepted Solution Posted: 4 years ago Posted: 11 Aug 2016 10:57 EDT × Close popover SatishKumar Tanappa (Satish) Rabobank Senior Developer Rabobank AU View Profile Send Message Satish Rabobank replied to GunjanSP Hi Patil, You can use below approach to achieve the requirement. 1. Use HTML rule and build html based on your requirement, ex code given below (EmailPage.pxResults is the page list) <html> <head> Conver to PDF </head> <body style="margin:5px" border="1px"> <TABLE border="1" cellpadding="1" cellspacing="1" style="width:1000px;"> <TR> <TH>Case Reference</TH> <TH>Reminder Type</TH> </TR> <pega:forEach name="EmailPage.pxResults"> <TR> <TD> <pega:reference name="$THIS.pyID" /> </TD> <TD> <pega:reference name="$THIS.ReminderType" /> </TD> </TR> </pega:forEach > </TABLE> </body> </html> 2) Set this stream to a property using Property-Set-HTML method. 3) Call "@baseclass.pyViewAsPDF" activity by passing the html stream and pdf file name as parameters (Should be called on refresh of section or harness) Hope this helps.