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. |
Related articles
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for