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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.