- Accessing the Interface Editor
- Adding Pipeline Context
- Adding Facets
- Removing Facets
- Adding Tabs
- Enabling Search As You Type
- Configuring Search Result Templates
- Adding the Export to Excel Feature to a Search Page
- Customizing the Localization of a Search Interface
- Identifying Your Interface Editor Version
- Legacy Interface Editor Overview
Adding Tabs to a Search Page Using the Interface Editor
You can add tabs to your search pages, which allows your users to quickly switch search context while keeping their original queries.
To add tabs to a search page using the Interface Editor
Access the Interface Editor for the search page you wish to modify (see Accessing the Coveo Interface Editor).
From the menu on the right, drag-and-drop the Tab component to the top of your search page.
In the Tab Creator window:
Under Unique ID, enter a unique ID for your tab. This is not visible by end users, and is used to uniquely identify tabs.
Under Caption, enter your tab caption. This is the title that end users will see and need to click to select your tab.
Select OK to create your tab.
By default, a new tab displays all of your content.
Add a filter expression so the tab displays only a subset of your results:
In the Tab Options panel, under Filter expression, enter a query to be added to your search whenever the tab is selected.
Ensure you follow the Coveo Cloud Query Syntax (see Coveo Cloud Query Syntax Reference).
In your Coveo Cloud organization, you have a source called
My Web Source. You want to make it so your tab only displays results from this specific source. Therefore, under Filter expression, you enter
@syssource=="My Web Source".
To know which fields and values to use, you can inspect your indexed items using the Content Browser of your Coveo Cloud organization (see Content Browser - Page).
When using the Coveo for Salesforce Free edition, you may have to change the query in the Content Browser to access all your items (see Understanding Coveo for Salesforce Objects and Fields).
In the Tab Options panel, further customize your tab.
After having customized your options, select Save.