Discussion 4 Replies 5572 Views × Close popover Arun V (278658627) Infosys Infosys IN View Profile Send Message 278658627 Member since 2013 10 posts Infosys Posted: October 7, 2015 Last activity: January 18, 2016 Posted: 7 Oct 2015 7:39 EDT Last activity: 18 Jan 2016 2:41 EST Closed How to delete first 2 pages from page list property Hi, I want to delete first two pages from my page-list property (For example:- ProductList) through Activity. What is the best approach ? - Regards. Pega Academy × 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 Discussion, please write a new Discussion. Posted: 5 years ago Posted: 7 Oct 2015 11:31 EDT × Close popover Sean Hedenskog (hedes) PEGA Global Tech Enablement, Principal Instructor Pegasystems Inc. US View Profile Send Message hedes PEGA replied to 278658627 You could use a For Loop with these settings: Minimum Value - 1 Max Value - 2 Increment - 1 Inside the loop you could use the method Page-Remove method: Method - Page-Remove Step Page - ProductList(Param.pyForEachCount) Hope this helps, Sean Pega Academy Support Team Posted: 5 years ago Posted: 8 Oct 2015 1:33 EDT × Close popover Arun V (278658627) Infosys Infosys IN View Profile Send Message 278658627 Infosys replied to 278658627 Thank you so much Posted: 5 years ago Posted: 16 Jan 2016 23:37 EST × Close popover Vipul Vangala (vipulvangala) Accenture Lead System Architect Accenture AU View Profile Send Message vipulvangala Accenture replied to 278658627 Hi, I have a pagelist.(ExceptionList of class Code-Pega-List , ExceptionList.pxResults() belongs to class ABC-exception) Based on some pre-conditions I determine a particular page needs to be removed. Like say page 4. Now, if we do Page-Remove, Exception.pxResults(4), Does PRPC move the page 5 to page 4 position ?? If Not, How to achieve the same ? Regards, Vipul Posted: 5 years ago Posted: 18 Jan 2016 2:41 EST × Close popover Arjun Kariyappa Maradi Banakar (arjunkmb) Incessant Technologies Pega Lead System Architect Incessant Technologies IN View Profile Send Message arjunkmb Incessant Technologies replied to 278658627 Hi Vipul, Q: "Based on some pre-conditions I determine a particular page needs to be removed. Like say page 4. Now, if we do Page-Remove, Exception.pxResults(4), Does PRPC move the page 5 to page 4 position ??" A: yes, Pega will move the page 5 to position 4 and the same applies to all the below pages.