cancel
Showing results for 
Search instead for 
Did you mean: 

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

former_member226280
Discoverer
0 Kudos

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.....


Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Jagannadh,


Is this issue fixed, Could you please let me know the resolution?

I am trying to sort the custom field on Accounts personalization Screen. But not able to be fix the issue.


Thank you.

Chandra







Former Member
0 Kudos

Hi Chandra,

Please verify your custom field name on personalization/ view with context node field name on eh_onsort method.

I fixed my issue by adjusting the field name on eh_onsort method, since my custom field on personalization and original field name used for sorting in eh_onsort are different.

Regards,

Ravi M

amitdev_solanki
Explorer
0 Kudos

Hi,

Please refer:

Reset personalization after config changes - CRM - SCN Wiki

also check table

BSPC_DL_PERSSTOR

Br,

Amit

Former Member
0 Kudos

Hi Jagannadh,

Is your issue fixed. If yes, could you please let us know the fix for this. We are facing same issue, the Sorting on Persanalization on a custom field is not working on Leads. Request your help on this.

Web UI version : CRM 7.0 EHP2 SP11.

Thank you.

Ravi.