Coveo Share Query
Coveo Share Query
This article pertains to the Coveo Hive framework which is now in maintenance mode.
Choose one of Coveo’s more modern, lightweight, and responsive libraries for any future search interface development. See the search interface Implementation guide for more details.
Selecting the Share Query menu item allows a user to share the URL of the current search interface and the current complete query, which another user may paste directly in their searchbox.
In the Share Query modal, the value in the Complete query field represents the combined query expression (
((q AND aq) OR dq) AND cq). When this combined query expression is pasted into a search box, it becomes the basic query expression (
q) of the new search query (see About the query expression).
For combined query expressions pasted in a search box to be interpreted correctly, the
Enable query syntaxoption in the search box data source must be set to
The Coveo Share Query rendering is an Allowed Control in the following placeholder(s):
Coveo Hive SXA
Coveo for Sitecore SXA rendering insertion locations aren’t limited by placeholder Allowed Controls. The Coveo Share Query rendering may therefore be inserted throughout the partial design, whether in Coveo for Sitecore or Sitecore placeholders.
To ease rendering management, group Coveo Advanced Search, Coveo Export To Excel, Coveo Preferences Panel and Coveo Share Query renderings together near your Coveo Settings Button rendering.
Data source options
This rendering has no data source.
Sample generated HTML and corresponding visual output
A website visitor performs a query using the terms
west lake in the search box.
Displayed Share Query modal:
The visitor then selects the Share Query option in the Settings popup menu.