Integrating Coveo Lightning Console Components
- Using Coveo for Salesforce in the Lightning App Builder
- Customizing the Standalone Searchbox
- Changing the Result Icons in a Lightning Component
- Changing the Language of Your Search Interface in Lightning
- Generating a Custom Search Token for Lightning Components
- Making the Coveo Lightning Components Lightning Locker Compliant
- Generating a Custom Search Token for Lightning Components Using Lightning Locker
Customizing the Standalone Searchbox
When using the Coveo Standalone Searchbox in your community, your administrators might want to customize it to fit their needs. This page explains how to access the options panel and which parameters can be modified.
Accessing the Standalone Searchbox Options
Ensure that you have included your Community Searchbox in your community (see Adding a Coveo Community Search Component).
In the Community Builder, select the Coveo Community Searchbox.
An option panel should appear, allowing you to modify the Coveo Standalone Searchbox options.
Modifying the Standalone Searchbox Options
The Coveo Standalone Searchbox offers many options that help you customize your experience (see StandaloneSearchbox Component - Options).
The name of the Coveo Search component you want to associate with your searchbox.
The default value is
The name of the search hub to enforce when authenticating a query with this search token, which can also be used in query pipeline condition statements.
The placeholder text to put in the searchbox when no query is typed.
Trigger Query on Clear
Specifies whether to trigger a query when the search box is cleared (see Querybox - triggerQueryOnClear).
Enable Query Syntax
Specifies whether special characters should be interpreted as the Coveo Query Syntax (see Querybox - enableQuerySyntax).
Enable Query Extension Suggest
Specifies if the search box completes the syntax for query extensions (see Omnibox - enableQueryExtensionAddon).
The name of the community page your Coveo Search component is on. By default, it will redirect to the default community Search page.
Due to a difference in the Salesforce Winter ‘18, when using the Coveo Standalone Searchbox, you must ensure that you have the appropriate value for the Search Url option. Depending on your Salesforce version, the value should either be:
Before Winter ‘18:
Winter ‘18 and up:
Specifies whether to load the non-minified versions of the resources.
Facet Value Suggestion Fields
In your Coveo Standalone searchbox, you want to scope the query suggestions according to the values of the @filetype field. You thus enter
@filetype in the Facet value suggestion fields box.
For further information on facet value suggestions, see:
This Standalone searchbox option is only available for Organizations that use the Coveo Community Searchbox (see Additional Considerations).
If you are using the Coveo Searchbox instead of the Coveo Community Searchbox (see the note in Adding the Coveo Standalone Searchbox), the action panel looks like the following:
You can thus specify the following options:
Enable Query Suggest
Specifies whether to enable Coveo Machine Learning (see Omnibox - enableQuerySuggestAddon).
Enable Field Suggest
Specifies whether field names should be suggested (see Omnibox - enableFieldAddon).
If you are using the Coveo Searchbox instead of the Coveo Community Searchbox, you do not have access to the Facet value suggestion fields option.
You can create a custom Standalone Searchbox for your Lightning community (see Creating a Custom Standalone Searchbox for Your Lightning Community).