Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 915 Bytes

File metadata and controls

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

getSearchQuery (Client API reference)

Gets the text used as the search criteria for the knowledge base management control.

Control types supported

knowledge base search control

Syntax

var kbSearchControl = formContext.getControl("<name>");
var searchQuery = kbSearchControl.getSearchQuery();

Return Value

Type: String

Description: The text of the search query.

Related articles

setSearchQuery

[!INCLUDEfooter-include]