Skip to Content
avatar image
Former Member

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

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


pastedImage_3.png (12.2 kB)
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Jun 03, 2015 at 12:09 AM

    Hi,

    Please refer:

    Reset personalization after config changes - CRM - SCN Wiki

    also check table

    BSPC_DL_PERSSTOR

    Br,

    Amit

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.

  • avatar image
    Former Member
    Jun 15, 2016 at 04:32 PM

    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







    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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