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

In Drop down options need to move "Other" to be the first select

SA-23101

Summary



User configured a drop-down with Datapage as a source. But in drop-down options need to move "Other" to be the first selection rather than Govt. Govt  should come as  the second position. Issue is in Prod only its working fine in Dev & stage.


Error Messages



Not Applicable.

Steps to Reproduce



1. Add pxDrodown control with datapage as source in section.
2. Data page source is set as activity.
3. Run the case and observe the order in the drop-down values.


Root Cause


A software use or operation error.

Activity used to populate datapage has Obj-Browse as one of the steps, which fetched data from datatable. As per Obj-Browse, in the order records got entered in DB it fetches in same order,if no ordering/sorting defined at column level in that step. Due to this in different environment order of records were different and in one environment option1 comes as first value but in other option2 is coming as first value.


Resolution



Perform the following local-change: 

Adding sort order as descending in Obj-Browse step for the column resolves the issue.

Published May 12, 2016 - Updated October 8, 2020

Was this useful?

0% 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