function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Justin RuckJustin Ruck 

Don't show "Recently Viewed" history on lookup field in Lightning

I have a custom object that has a lookup field to the Contact object.  I did the related lookup filter so that it would only pull in results for Contacts on that related Account.  The issue is that in Lightning Experience, when I click on this Contact lookup field, it shows my Recently Viewed contacts, whether they were for the related account or not.  I'd like to either somehow filter that Recently Viewed list or remove the Recently Viewed when the user clicks on the lookup field.

Any ideas on how to do that?  
Best Answer chosen by Justin Ruck
@Karanraj@Karanraj
Justin, Salesforce lightning experiences currently don't support any user defined lookup filters. Check this links for details about limitation - http://releasenotes.docs.salesforce.com/en-us/winter16/release-notes/lex_gaps_limitations_search.htm

All Answers

@Karanraj@Karanraj
Justin, Salesforce lightning experiences currently don't support any user defined lookup filters. Check this links for details about limitation - http://releasenotes.docs.salesforce.com/en-us/winter16/release-notes/lex_gaps_limitations_search.htm
This was selected as the best answer
john bokadiajohn bokadia
Watch more fun and movies on Cyberflix apk which has thousands of tv shows and films to not let you get bored.