Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 953 Bytes

File metadata and controls

45 lines (30 loc) · 953 Bytes
title description author ms.author ms.date ms.reviewer ms.topic applies_to search.audienceType contributors
setSearchQuery (Client API reference) in model-driven apps| MicrosoftDocs
Includes description and supported parameters for the setSearchQuery method.
chmoncay
chmoncay
03/12/2022
jdaly
reference
Dynamics 365 (online)
developer
JimDaly

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

getSearchQuery

[!INCLUDEfooter-include]