Coveo Share Query
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 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
<div class="CoveoShareQuery"> </div>
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.