Question1Replies7578Views GunjanSP Member since 2014 1 post TECH MAHINDRA Posted: August 11, 2016Last activity: September 12, 2016 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 xyzThanks 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 popoverFacebookTwitterLinkedinEmail Copy Link Copied! 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. Accepted Solution Posted: 4 years agoSatish Optus replied to GunjanSPHi 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.