You can also use normal clipboard page as an option. When you select this option, you will get to call a activity. Here you can call your activity which you already created for your dynamic select. Just make a small change in the activity by commenting the Show methods.
Posted: 4 years ago
Updated: 4 years ago
Posted: 10 Mar 2016 5:20 EST Updated: 10 Mar 2016 5:22 EST
I agree with VAMSIRISHNA, using 'Clipboard Page' and calling the same old activity can be done with the least changes made. If your application have huge number of dynamic selects with activity, changing all of them to Data Pages will take huge amount of time. Instead we can choose Clipboard Page and call the old activity to populate the page, only few changes we have to do in the Activity are comment 'Show-Page' and 'Page-Remove' steps.
I have another question on using the activity to create a clipboard page for the dropdown. As previously stated, the existing activity is used to create a top level page and the activity no longer removes the page. Is it the case that the top level page created will live in the user session until the user session expires? If it is indeed the case, do you do Page-Remove when user leaves the screen when they click Submit or Cancel button?
In Pega 6.x , we have Section containing Dynamic Select in Work-xxx Class and source activity is in Data-xxx Class. As we had an option of specifying AppliesTo Class Name for calling Activity, we were able to call activity from any class to populate Dynamic Select in Work-XXX class.
After upgrade when we come to Pega 7.x we use Drop Down and source for this Drop Down we take Data Page , but Data Page now can take source activity only of Code-Pega-List AppliesTo class. Our old activity is from some Org-Div-Data-XXX class.
Please suggested best solution /approach in this scenario