I am using a repeating grid, where sorting should be enabled. Grid Source using is ABC.pxResults.
Able to sort only some columns. For some columns I am getting error like below.
Exception Trace com.pega.pegarules.pub.clipboard.InvalidParameterException: Failed to process comparator list, com.pega.pegarules.pub.clipboard.InvalidParameterException: Cannot get property information for: Class:"ABC-Data-XYZ" Property:".abc". Details: Invalid value for aClassName, aPropertyName passed to com.pega.pegarules.data.internal.clipboard.PageComparator.getDefaultComparator(Executable, String, String). Details: Invalid value for aComparator passed to com.pega.pegarules.data.internal.clipboard.Sorter.sortPageList(ClipboardProperty, String, boolean, String)
Found this support article : Node ID: 1333331 SA ID: SA-36092
I think you got confused with the referred PDN article, it says to use the Page List property which is embedded within the pyWorkPage(i.e. Orders page list property which is embedded in the pyWorkPage) instead of using the Top level clipboard page(i.e. FinalResults.pxResults).
So perform this change and let us know if it helps you.
Posted: 4 years ago
Posted: 2 Jan 2018 8:16 EST
Shibani Sahu (ShibaniSahu)
Manager of Software Engineering, Case Management
But while checking for this, I came to know that - the .pxObjClass of the property in the clipboard page (ABC.pxResults ) is not same as the class of the source ABC.pxResults (which I gave in pages & classes of this section).
So I explicitly used Page-Change-Class in the activity (where this page is populated). Then it worked fine.