Hi folks I ran through an error, i had custom entities HR and Employees, i'm using an presearch method to just
simpy filter records in the lookup field to show only Employee whose name is Adnan.
Here is my sample code:
function filterLookupOnLoad(excutionContext) { var formContext=excutionContext.getFormContext(); formContext.getControl("kamran_lookforemploye").addPreSearch(FilterLookup); } function FilterLookup(excutionContext) { var formContext=excutionContext.getFormContext(); var fetchXML = "" "" ""; formContext.getControl("kamran_lookforemploye").addCustomFilter(fetchXML); }