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

Country list drop-down is not sorted by the localized value

SA-22482

Summary



The Country list drop-down is not sorted by the localized values and instead it is sorted by the field values.


Error Messages



Not Applicable.


Steps to Reproduce

  1. Create a property "Country" and select the table type as "Field Value".
  2. Specify the class name as "@baseclass" and field name as "pyCountryCode" for Field Value description.
  3. Use this property in UI and specify the control as drop-down and source as the "As defined on property".
  4. Observe the Drop-down shows all the localized values in UI , but it is sorted on Field values.


Root Cause



This issue was determined to be a product enhancement request.
 

Resolution



An enhancement request, FDBK-15116, has been created for consideration by Pega Product Management. 

However following local-change resolves the issue:


1. Create a property, which stores the localized value. 
2. Sort the list view column by the new property (display new property). 

The value to the new property can be conditionally used to source the drop-down.

 

Published April 30, 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