Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 1.2 KB

File metadata and controls

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

addOnResultOpened (Client API reference)

Adds an event handler to the OnResultOpened event.

Control types supported

knowledge base search control

Syntax

var kbSearchControl = formContext.getControl("<name>");
kbSearchControl.addOnResultOpened(myFunction);

[!INCLUDEcc-terminology]

Parameters

Name Type Required Description
myFunction Function Yes The function to add to the OnResultOpened event. The execution context is automatically passed as the first parameter to this function.

Related articles

removeOnResultOpened

[!INCLUDEfooter-include]