Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.1 KB

File metadata and controls

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

Lookup Control PreSearch event (Client API reference)

This event occurs just before the lookup control launches a dialog to search for records. There is no UI to set event handlers for this event. You must use the addPreSearch and removePreSearch methods on the lookup control to add or remove event handlers for this event.

Use this event with other lookup control methods to change the results displayed in a lookup based on the form data just before the lookup control shows search results for a user to choose from.

Related articles

addCustomFilter

[!INCLUDEfooter-include]