setSearchQuery (Client API reference)
Sets the text used as the search criteria for the knowledge base search control.
Control types supported
knowledge base search control
Syntax
var kbSearchControl = formContext.getControl("<name>");
kbSearchControl.setSearchQuery(searchString);
Parameters
Name | Type | Required | Description |
---|---|---|---|
searchString |
String | Yes | The text for the search query. |