Product DocsMenu

Adding Sort Criteria With the .NET Interface Editor

By default, Coveo .NET Front-End search results are ordered by relevance score or modification date. However, you can create other sorting criteria.

Example: In a .NET search interface for a CRM system such as Salesforce, you can use the syssfpriority field to sort sales opportunities by priority.

To add a sort field with the .NET Interface Editor

  1. Access the Coveo .NET Front-End Interface Editor (see Opening the .NET Interface Editor).

  2. Select the Search Interfaces tab.

  3. In the Current Interface drop-down list, select the interface for which you want to add sort criteria.

  4. Select the Fields menu.

  5. In the navigation panel on the left, select Sort Fields.

  6. Next to Fields to Use for Sorting, click Add New.

  7. Under Edit Sort Field:

    1. In the Title box:

      1. Enter the English text that appears as the Sort By criteria label at the top of the search results in the search interface.

      2. Click the button next to the box to open a dialog box where you can enter the label translated for the other supported languages.

    2. In the Field to Sort On drop-down list, select the field on which to perform the sorting.

      Note: When the field on which you want to perform the sort does not appear in the drop-down list, you must first make it available to sort on (see Adding a Sorting Field).

    3. Select the Sort in descending order check box to sort in the reverse order by default.

      Note: In the search interface, the end-users can always click the label to change the sort order.

    4. Click OK.

People who viewed this topic also viewed