Question
Virtusa
IN
Last activity: 26 Jun 2018 10:51 EDT
Restricting the drop down value upon once selected.
Hi,
I'm selecting a value from drop down and on click of submit im displaying it in below grid,
next time that particular value should not be visible in the drop down. please suggest.
Im using a data type as a source for the drop down
thanks,
Arun.
Related post: https://pdn.pega.com/community/product-support/question/how-avoid-duplicate-selections-dropdown-list
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Toyota Financial Services
AU
Hi,
Implement the below approach:
Step-1: In the Load management tab of the data page, select the Reload once per interaction.
Step-2: Create a Post processing activity for the Data page and filter out using the already populated values in the grid using Obj-Filter method.
I hope this should solve the restriction of the drop down values.
Thanks
Sandeep P V
Virtusa
IN
Hi Sandeep,
I have tried to implement using above approach, but still all the values are appearing in the drop down. Please suggest.
PFA doc.
Thanks,
Arun.
-
Ziyaaf Gaffoor
Areteans Tech
AU
Hi,
Since you are using Datapage with report defintion , Here we can make use of Response Data transform.
Please see the screenshot. Consider TempPg as your selected list and DataPg as Temporary Pagelist to compare which we can remove at the end. Now we can source the dropdown with same data page.
Let us know if this works.
-
Andrey Ostrovskiy Evgeniya Erysheva Georgy Kuskov Artem Verdyan Lina Dju and 6 More
Pegasystems Inc.
IN
Hi Arun,
You can try removing the value from Data Page itself when clicking the value in the drop down.
You can call an activity to remove the particular value from Data Page and call Flush declare page activity and pass the Data Page as the Pagename.
Regards,
Vikash
-
Alex Vargo
Virtusa
IN
HI VikashKarn,
Actually even this didn't work.
thanks,
arun.
Pegasystems Inc.
IN
Hi Arun,
Could you please check and confirm if the data page flush is happening properly or not.
Regards,
Vikash
ANZ Banking Group Ltd
AU
Hi Arun,
I would suggest you to use the Temporary Page List (Option Clipboard page in dropdown configuration) as a source for dropdown insted of the DataPage.
As you as page list whenever you added click on submit delete that page from the list and refresh section that will solve the problem.
Rabobank
SE
Hi,
Can't you try doing a isinPagelist check on you D_Page activity and populate it ?
Change your RD to Activity and call the RD in the activity check the page values with the values you have on the pyWorkPage , if it matches remove it and populate the final list. Let me know this works