Views:

Applies To:

GroupID 8, 9, 10 - Self-Service

Business Requirement:

I would like the Self-Service portal to return search results sorted by a certain attribute.

Explanation:

By default, search results in the Self-Service portal are sorted by the display name. Once the search results are rendered, you can click on a column header to sort the results by that specific attribute.

However, you may want the search results to be sorted by an attribute other than the display name as a default behavior.

Steps for GroupID 8:

This business requirement can be achieved by applying the following Self-Service advanced setting:

  1. In GroupID Management Console, select Self-Service > Portals > [Required portal] > Server.

  2. Click the Settings tab.

  3. Click Add; the Add Setting dialog box is displayed.

    1. Type or select the Search.Sort setting from the Key list.
    2. In the Value box, type the field name (attribute) by which the search results should be sorted.
    3. Click OK to close the dialog box.
       

     
  4. Save the setting.

Steps for GroupID 9 and 10:

  1. In GroupID Management Console, select Self-Service > Portals > [Required portal] > Server.

  2. Click the Settings tab.

  3. In the Sort Search box, type the field name (attribute) by which you want search results to be sorted.

  4. Save the setting.


 

Impact on the Self-Service portal:

The Search.Sort setting applies to all search result pages in the portal, such as the Default Search, Group Search and Find dialog box searches.
By default and in the absence of the Search.Sort setting, objects on these pages are sorted by the display name attribute in ascending order.

After applying the setting, results are sorted by the specified attribute in ascending order. In our example, search results are sorted by the Department field.

Reference:

GroupID Online Help topic: Using Advanced Settings

Comments (0)