BoxQuerySome Component

The BoxQuerySome component is used to automatically include Salesforce fields to the query of a Coveo Insight Panel Classic Component. By default, the fields are included in the advanced query (see Advanced Expression).

This component is included in the default Coveo Insight Panel Classic Component to include the case subject.



A comma separated list of fields to automatically add to the query.

The default value is Subject.

<div data-include="<FIELD1>, <FIELD2>, <FIELD3>"></div>

Where you can replace <FIELD1>, <FIELD2>, and <FIELD3> by respectively the name of the first, second, and third field you want to add to the query. You can add as many fields as you want.


Specifies whether to include the currently viewed case in the search results.

The default value is false.

<div data-include-current-record="false"></div>


Specifies whether to disable the added query when a user decides to perform a non-contextual search (see allowNonContextualSearch).

The default value is true.

<div data-disable-on-non-contextual-search="true"></div>


Coveo for Salesforce 2.38 (February 2017)

Specifies whether to generate the query using the $some query extension (see $some). Setting this option to false changes the query from an aq to an lq (see Large Expression), enabling Coveo Machine Learning Intelligent Term Detection (ITD).

The default value is true.

<div data-use-some-q-r-e="true"></div>

When this value is true, you can use the arguments of the $some expression (see $some).

To use them, add data- before the argument name, and replace every capital letter with a dash followed by its lowercase equivalent. For example, removeStopWords becomes data-remove-stop-words.

The default value for removeStopWords is true.

The default value for best is 5.

Coveo for Salesforce 2.50 (December 2017)

The default value for match is 5.

Coveo for Salesforce 2.50 (December 2017)

The default value for match is 2.

Additionally, you can use the bindOnQuery argument, which specifies whether the component should use the generated query to filter items. Its default value is true.



Enables the component.



Disables the component.



In your search page, add a div with the CoveoBoxQuerySome class.

<div class="CoveoBoxQuerySome" data-include="Subject">
What's Next for Me?