getTotalResultCount (Client API reference)
Gets the count of results found in the search control.
Control types supported
knowledge base search control
Syntax
var kbSearchControl = formContext.getControl("<name>");
var searchCount = kbSearchControl.getTotalResultCount();
Return Value
Type: Number
Description: The count of the search result.
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