Product DocsMenu

Coveo Platform 7.0 >
User Help > Basic Search > Modifying JavaScript Preferences

Modifying JavaScript Search Interface Preferences

In the Coveo JavaScript search interfaces, you can access the Preferences panel where you can customize how search results are opened and create one or more filters that you can toggle on and off. The custom filters can be useful to personalize the scope of a search interface. The search interface preference configuration is saved in the local storage of your browser, so it applies only for the current browser on the current computer or device.

Note: The Preferences panel is available in Coveo JavaScript Search version 0.9.804+ (June 1, 2014 release). Your Coveo administrator must include the preferences panel component in the search interfaces.

To modify the JavaScript search interface preferences

  1. In an out-of-the-box Coveo JavaScript Search interface, click the wrench button next to the search button, and then select Preferences.

  2. In the Preferences panel that appears below the search bar:

    1. Under Link Opening Settings, click the following options when you want to change their state (selected or cleared ): 

      • Open in Outlook (when possible)

        When Microsoft Outlook is installed on your device, select this option to open directly in Outlook a Microsoft Exchange email search result that you click. When cleared, the email message rather opens in Outlook Web App (OWA).

        Note: The configuration of a search interface such as one for mobile devices may ignore this parameter and always open email search results in the Quick View.

      • Always open results in new window

        Select this option to open a search result that you click in a new browser tab. When cleared, a search result that you click opens in the current browser tab, replacing the search interface.

    2. Under Results Filtering expressions:

      1. Click Create to define a new filter.

        Example: You always only want to look at search results from year 2014 or later.

      2. In the box on the left, enter a name of your choice to identify what the filter does.

      3. In the selection list in the middle, select one or more search interfaces to which the filter will apply.

        Use the Ctrl and Shift keyboard keys while clicking to respectively select individual or a range of search interfaces.

      4. In the box on the right, enter the filter expression for the filter.

        You can use any query expression that you could use in a search box (see Coveo Query Syntax Reference).

      5. Once a filter is defined, you can click it to toggle its state.

People who viewed this topic also viewed