Question
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
TCS
US
Last activity: 11 Oct 2021 8:30 EDT
finding duplicate record in pagelist based on 1st Property and concatenate 2nd property for duplicate records
Hello
I have a pagelist A.pxResults(3) as shown below
A.pxResults(1) has .property1(value 101), .property2(ABC) A.pxResults(2) has .property1(value 201), .property2(MMM) A.pxResults(3) has .property1(value 101), .property2(XYZ)
On click of a button I need to find the duplicates in the pagelist based on property1 but need to concatenate property2 values separated by semicolon of the duplicate records. My output should be
B.pxResults(1) should have property1(101), property2(ABC;XYZ) B.pxResults(2) should have property1(201), property2(MMM)
How can i achieve this?