Redigera

Dela via


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.