Question
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Capgemini
MY
Last activity: 8 Jun 2017 5:41 EDT
How to populate distinct values in Dropdown
Hello team,
I have a requirement to show distinct values in a dropdown.Could you guide me how to achieve this. I have followed below two methods to populate the values in dropdown and able to see the data in dropdown. This is showing all the values.:
Method 1:
I have created a data page with structure as list.
Created an Activity in Code-Pega-List class using Obj-Browse method and referred the above Data Page under Page Name.
Refered the above Activity in the data page under source -> Activity.
In Dropdown- settings - General - List Source -Type -DataPage - Referred the above Data page.
Method 2 :
Created an Activity in work class using Obj-Browse method.
Referred the above activity in Dropdown- settings - General - List Source -Type -Clipboard page.
Now, how and where i need to control the dropdown to get only distinct values.
Appreciate your kind support.
***Moderator Edit: Vidyaranjan| Updated Categories***