addPreSearch (Client API reference)
Applies changes to lookups based on values current just as the user is about to view results for the lookup.
Control types supported
Unsure about entity vs. table? See Developers: Understand terminology in Microsoft Dataverse.
|myFunction||Function||Yes||The function that will be run just before the search to provide results for a lookup occurs. You can use this function to call one of the other lookup control functions and improve the results to be displayed in the lookup. The execution context is automatically passed as the first parameter to this function.|