Quantcast
Channel: SCN : All Content - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 4552

Personalization sorting is not working for values attribute in sap crm web ui

$
0
0

Hello,

 

I added one value attribute in result list for displaying purpose and written logic in the get method of the attribute for displaying values.

 

for sorting, I had written logic in get_p method to enable sort options(sort ascending, sort descending) and in sort method (which is called in the do_prepare_output method), I written actual sort logic by calling collection_wrapper sort method like this

 

me->typed_context->result->collection_wrapper->sort( ........).


This manual sorting is working. but my problem is, In result list view personalization, have one sort option is there, there I gave 'sort by' is my value attribute and select any one of the sort option radio button (ascending, descending). this time sorting is not working. for the standard fields its working. only my value attribute this sorting is not working.



Please refer below screen shot for your reference.....



Viewing all articles
Browse latest Browse all 4552

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>