Content Management and Capture

Content Management and Capture

Come for answers. Stay for best practices. All we’re missing is you.

 View Only
Expand all | Collapse all

ICN & FNP8 - Sort the choice list by display value instead of internal value

  • 1.  ICN & FNP8 - Sort the choice list by display value instead of internal value

    Posted Thu February 18, 2021 12:26 PM

    Hallo,

    We have in P8 several choice listes. Something like:

    11 - List AZV

    12 - Portfolio POI

    13 - Account Statements

    14 - Business Case

    33 - Something new

    99 - Something old

    ...

    And when we search some documents in ICN, we click on the column (Document Type) of the hitlist (which is mapped with this choice list).

    Then the sort is made from the internal value (11, 12, 13, ..., 99), but not from the displayed value (List AZV, ...)

    And this is confusing.

    Is there a way to sort with the display values instead?

    So with my example it would be something like that:

    13 - Account Statements

    14 - Business Case

    11 - List AZV

    12 - Portfolio POI

    33 - Something new

    99 - Something old

    ...

    Regards,

    Alessandro



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration


  • 2.  RE: ICN & FNP8 - Sort the choice list by display value instead of internal value

    Posted Mon February 22, 2021 05:26 AM

    Hi Alessandro,

    I don't see sort on choice values in the JS code for search. You may implement a response filter for openContentClass request, and return the sorted choice list via a custom plugin.

    Regards,

    Angie



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration


  • 3.  RE: ICN & FNP8 - Sort the choice list by display value instead of internal value

    Posted Wed July 07, 2021 04:17 PM

    Hi Angie,

    Thank you for the answer, I've done an implementation, where the result of the search (/p8/search) is sorted how I wanted, but since there are pages, I can sort the first page correctly, then the second page is sorted for the data of the second page, etc...


    The idea would be to sort the whole max hit documents with the choice list display values, and then get only the first page of this sorting.

    And not the answer of the the first page, and sort it.

    That would be wrong.


    So for me, the functionality should be in the Filenet side, with some custom code. But I am not sure how to do it.

    And if we can do it from ICN, then how?

    And if we do it in FN, how do we interface the call to this custom sort via ICN?



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration


  • 4.  RE: ICN & FNP8 - Sort the choice list by display value instead of internal value

    Posted Wed August 11, 2021 08:40 AM

    Hi,

    ICN does not support sorting on display values on the server side. You may create a case for Filenet to see if that is supported and how to do that.



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration