--- title: BoxQuerySome component (Deprecated) slug: '1190' canonical_url: https://docs.coveo.com/en/1190/ collection: coveo-for-salesforce source_format: adoc --- # BoxQuerySome component (Deprecated) > **Deprecated** > > This feature is still available, but no longer supported as of the August 2023 release of Coveo for Salesforce version [5.2](https://docs.coveo.com/en/n5bj0150#august-2023-release-v5-2-initial-release). 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](https://docs.coveo.com/en/1199#advanced-expression)). This component is included in the default Coveo Insight Panel Classic Component to include the case subject. ## Options ### `include` A comma separated list of fields to automatically add to the query. The default value is `Subject`. ```xml
``` Where you can replace ``, ``, and `` 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. ### `includeCurrentRecord` Specifies whether to include the currently viewed case in the search results. The default value is `false`. ```xml
``` ### `disableOnNonContextualSearch` Specifies whether to disable the added query when a user decides to perform a non-contextual search (see [allowNonContextualSearch](https://docs.coveo.com/en/1166#allownoncontextualsearch)). The default value is `true`. ```xml
``` ### `useSomeQRE` > **Available since** > > This feature was introduced in the February 2017 release of Coveo for Salesforce version [2.38](https://docs.coveo.com/en/1124#february-2017-release-v238). Specifies whether to generate the query using the [`$some`](https://docs.coveo.com/en/1462#some) query extension. Setting this option to `false` changes the query from an `aq` to an `lq` (see [Large expression](https://docs.coveo.com/en/1199#large-expression)), enabling Coveo Machine Learning Intelligent Term Detection (ITD). The default value is `true`. ```xml
``` When this value is true, you can use the arguments of the [`$some`](https://docs.coveo.com/en/1462#some) expression. 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`. > **Important** > > The default value for `removeStopWords` is `true`. > > The default value for `best` is `5`. > > 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`. ## Methods ### `enable` Enables the component. ```javascript $('.CoveoBoxQuerySome').coveo('enable') ``` ### `disable` Disables the component. ```javascript $('.CoveoBoxQuerySome').coveo('disable') ``` ## Usage In your search page, add a `div` with the `CoveoBoxQuerySome` class. ```xml
```