addOnPostSearch (Client API reference)

Adds an event handler to the PostSearch event.

Control types supported

knowledge base search control

Syntax

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

Note

Unsure about entity vs. table? See Developers: Understand terminology in Microsoft Dataverse.

Parameters

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

PostSearch event

removeOnPostSearch

Note

Can you tell us about your documentation language preferences? Take a short survey.

The survey will take about seven minutes. No personal data is collected (privacy statement).