Support Article
Unable to sort the PyLabel in DataTableClassEditor list view
SA-75694
Summary
Unable to perform a sort on the pyLabel field in DataTableClassEditor list view. Integer is stored in the pyLabel property of type text.
Error Messages
Not Applicable
Steps to Reproduce
- Store an integer in the pyLabel property.
- Include the property in DataTableClassEditor list view.
Root Cause
List views and Summary views are deprecated in the current versions of the Pega application. It is recommended to use a report definition instead.
The pyLabel was considered as text though it contained integer values. Hence, string sort was carried out.
Resolution
Perform the following local-change:
- Use a report definition instead of an embedded list.
- In the report definition, add the function to convert text to integer values in the pyLabel column for attain number sort functionality.
Published March 26, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.