How can we remove duplicates from temporary page list. Function are not working getting null point error
@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.
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”)