# Duplicates in page list from temp pages

**URL:** <https://forums.pega.com/t/duplicates-in-page-list-from-temp-pages/8565>\
**Category:** User Experience\
**Tags:** 8-8, user-experience, pega-platform\
**Created:** [November 5, 2024, 8:18am UTC](https://forums.pega.com/t/duplicates-in-page-list-from-temp-pages/8565 "2024-11-05T08:18:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![venkatasahithp6252](https://avatars.discourse-cdn.com/v4/letter/v/c6cbf5/32.png) [@venkatasahithp6252](https://forums.pega.com/u/venkatasahithp6252)\
**Post date:** [November 5, 2024, 8:18am UTC](https://forums.pega.com/t/duplicates-in-page-list-from-temp-pages/8565/1 "2024-11-05T08:18:11Z")

</div>

How can we remove duplicates from temporary page list. Function are not working getting null point error

---

<div class="post-metadata">

**Author:** ![MuhammadN17294368](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/muhammadn17294368/32/13899_2.png) [@MuhammadN17294368](https://forums.pega.com/u/MuhammadN17294368)\
**Post date:** [November 5, 2024, 12:55pm UTC](https://forums.pega.com/t/duplicates-in-page-list-from-temp-pages/8565/2 "2024-11-05T12:55:23Z")

</div>

@venkatasahithp6252 To remove duplicates from a temporary page list in Pega, use a loop with conditional checks to manually compare and delete entries. If functions cause errors, ensure proper initialization of the page list.

---

<div class="post-metadata">

**Author:** ![RameshSangili](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/rameshsangili/32/23377_2.png) [@RameshSangili](https://forums.pega.com/u/RameshSangili)\
**Post date:** [November 5, 2024, 4:39pm UTC](https://forums.pega.com/t/duplicates-in-page-list-from-temp-pages/8565/3 "2024-11-05T16:39:11Z")

</div>

@venkatasahithp6252

Please check the solutions discussed in the below links.

> **[Remove the Duplicates from the Pagelist using Data Transform. | Support Center](https://support.pega.com/question/remove-duplicates-pagelist-using-data-transform)**
>
> Hi, I've a requirement to remove the duplicates from one Pagelist and copy the unique items to another Pagelist using Data Transform. Tried using pyRemoveDuplicatesFromPageList, but no luck. Syntax used in DT is, NewAccountsList...

> **[How to Remove Duplicate in PageList | Support Center](https://support.pega.com/question/how-remove-duplicate-pagelist)**
>
> We have page list ElementList.pxResults and have property CLM\_Numbers. I just want to remove the duplicate values for CLM\_Numbers in ElementList.pxResults page list. Could see OOTB functions but not able to use it. Please help me on this....

I hope this helps!

---

<div class="post-metadata">

**Author:** ![Bogga](https://avatars.discourse-cdn.com/v4/letter/b/c4cdca/32.png) [@Bogga](https://forums.pega.com/u/Bogga)\
**Post date:** [January 9, 2025, 5:52pm UTC](https://forums.pega.com/t/duplicates-in-page-list-from-temp-pages/8565/4 "2025-01-09T17:52:04Z")

</div>

@venkatasahithp6252

Which function are you using, can you share screenshot of usage, error ?

You can use OOTB pyRemoveDuplicatesFromPagelist()

Sample usage: @Utilities.pyRemoveDuplicatesFromPagelist(UserList,“pxResults”,“pyUserIdentifier,DisplayDate”)
