Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Need to display values in dropdown in sorted order

SA-2712

Summary



When user tries to display the field value using dropdown, the values in the dropdown list are not displayed in sorted order.

Error Messages



None. 

Steps to Reproduce



1. Create a section and drag a property into the section. Set the particular field control to dropdown.

2. Configure activity as a source of the dropdown.
3. Call a method ‘Obj-sort’ in the last step of activity, so that the values in the result page passing as source to dropdown gets sorted.

Root Cause



User has used activity as a source of dropdown and called ‘Obj-Sort’ method in the activity to sort the values in the result page, passing as source to dropdown. While passing parameters to ‘Obj-Sort’ method, applies to class details of result page has been set to incorrect class name which causes the reported issue.


Resolution



Setting class name of result page as ‘applies to class’ in the parameters passed to ‘Obj-Sort’ method, addresses this issue.

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

100% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us