Inserting Custom Component Parameters Using the Coveo for Sitecore Legacy Search UI Framework
Inserting Custom Component Parameters Using the Coveo for Sitecore Legacy Search UI Framework
Coveo for Sitecore 4.1 (November 2018)
For a list of all available parameters, see List of Available Component Parameters.
Coveo for Sitecore has various templates to define properties for its components, which are called Parameters.
Although a component can be edited directly using the Experience Editor of Sitecore, we recommend that you create custom component parameters and assigned them as data-sources to your components. The advantage of this strategy is:
- To share the same parameters across your solution and improve re-usability.
- To preserve parameters even if a rendering is deleted.
- To swap parameters dynamically based on certain conditions, which is a key strategy of search personalization.
Before you can insert a custom component parameter, you need to create one. To do so, see Creating a Custom Component Parameters.
If you already have a custom parameters item ready, here are the steps to insert it:
-
In the Sitecore Content Editor, select a Coveo for Sitecore component, and in Presentation tab, select Details.
You can alternatively access the same details by accessing your page with your Coveo for Sitecore components in the Experience Editor, selecting the component to change, and clicking the Coveo icon.
-
Scroll to the Data Source section and click Browse.
- Select the parameters item you created before.
-
The component should now show a warning indicating that it’s linked to a custom parameter item.