Search box Web Part¶
The 'Search box' Web Part allows users to enter free text search queries connected to a 'Data Visualizer' Web Part.
Search box settings¶
|Placeholde text||The placeholder text to display in the search box.||"Enter your search terms..."|
|Send the query to a new page||Sends the search query text to a new page. From here you can select the page URL, the open behavior and send method (URL fragment '#' or a query string parameter).||False.|
The query suggestions allows users to easily find relevant query keywords based on their entry:
|Enable query suggestions||Enable or disable query suggestions.||False.|
|Configure available providers||Enable or disable the suggestions providers available for this Web Part. By default, only the "SharePoint Static search suggestions" is available (disabled by default). documentation (caution: it can take up to 24h for changes to take effect). Multiple providers can be enabled at once.|
|Number of suggestions to show per group||The number of suggestions to show per group.||10.|
Optionally, you can set a default query text coming from an other dynamic data source on the page. For instance, connect the search box to a page environment variable like a query string parameter. The value retrieved from a connected data source will be displayed automatically at page load in the text box if present and broadcasted to any other Web Parts connected to the search box Web Part (ex: a 'Data Visualizer' Web Part) resulting to a cascading effect.