--- title: CommunityStateManager component slug: '1118' canonical_url: https://docs.coveo.com/en/1118/ collection: coveo-for-salesforce source_format: adoc --- # CommunityStateManager component The `CommunityStateManager` component is used to connect your Lightning search component to the Coveo Standalone Searchbox (see [Leverage the Coveo standalone search box](https://docs.coveo.com/en/1218#leverage-the-coveo-standalone-search-box)). As of the May 2017 release of Coveo for Salesforce (2.41), it's included by default in the `coveo-search-section` section of your search page. ## Options ### `enableLowercaseOperators` Performs the same function as the `Querybox` option of the same name (see [Querybox - enableLowercaseOperators](https://coveo.github.io/search-ui/components/querybox.html#options.enablelowercaseoperators)). ```javascript data-enable-lowercase-operators="false" ``` ### `enablePartialMatch` Performs the same function as the `Querybox` option of the same name (see [Querybox - enablePartialMatch](https://coveo.github.io/search-ui/components/querybox.html#options.enablepartialmatch)). ```javascript data-enable-partial-match="false" ``` ### `enableQuerySyntax` Performs the same function as the `Querybox` option of the same name (see [Querybox - enableQuerySyntax](https://coveo.github.io/search-ui/components/querybox.html#options.enablequerysyntax)). ```javascript data-enable-query-syntax="true" ``` ### `enableQuestionMarks` Performs the same function as the `Querybox` option of the same name (see [Querybox - enableQuestionMarks](https://coveo.github.io/search-ui/components/querybox.html#options.enablequestionmarks)). ```javascript data-enable-question-marks="false" ``` ### `enableWildcards` Performs the same function as the `Querybox` option of the same name (see [Querybox - enableWildcards](https://coveo.github.io/search-ui/components/querybox.html#options.enablewildcards)). ```javascript data-enable-wildcards="false" ``` ### `partialMatchKeywords` [.version.c4sf.c4sf-edition.c4sf-pro-enterprise] [Pro and Enterprise editions](https://docs.coveo.com/en/l2590456#salesforce) Performs the same function as the `Querybox` option of the same name (see [Querybox - partialMatchKeywords](https://coveo.github.io/search-ui/components/querybox.html#options.partialmatchkeywords)). ```javascript data-partial-match-keywords="5" ``` ### `partialMatchThreshold` [.version.c4sf.c4sf-edition.c4sf-pro-enterprise] [Pro and Enterprise editions](https://docs.coveo.com/en/l2590456#salesforce) Performs the same function as the `Querybox` option of the same name (see [Querybox - partialMatchThreshold](https://coveo.github.io/search-ui/components/querybox.html#options.partialmatchthreshold)). ```javascript data-partial-match-threshold="50%" ``` ## Methods This component doesn't offer any methods. ## Usage In a Lightning search component, in the `coveo-search-section` `div` of your search page, add a `div` with the `CoveoCommunityStateManagement` class, as such: ```xml
```