Howto remove duplicates from a list in Version 10

Hi,

I'm using Outsystems 10. I want to remove duplicate values present in my list so that I have distinct elements left in the list. List Dintict system function isn't available in Outsystems 10 and I tried Distinct List function of Sort Record List extention but it's asking for Object Reference of my List. Any suggestion?

Hi Shashankit Thakur,

In outsystems 11 we have list duplicate server action  under systems module which returns the duplicate list.Check once whether it is available on version 10 or not.

If it is not available, you have to loop the entire list against every record in the list using any unique identifier in the list.

Regards,

Koushik

Hi Shashankit,

In P10, the SortRecordList Extension is your best bet. Use ToObject() around your List.