I have created a custom lookup field in contacts referring to the object USERS and added this to the layout. When i create a new contact i can view the new lookup field but when i click on the magnifying glass to select a user i donot see any listed by default. If i type as A* in search field and search the system list the users matching the criteria but my question is how to list a specific list of users based on role by default ?

1 Answer 1


Knowledge Article Number: 102865

Description Why does Lookup Search without any search string not return all records?

Resolution If the user does not enter a search string before clicking the Lookup Search button, it doesn't return all but just the 20 most recent items the user has clicked on. This is because this display will be a dynamic entry if we do so on the salesforce search engine, therefore it will make the display based on each organizations private settings. This will cause a delay on our servers because of so many individual queries. This means to ensure the top performance on speed and data retrieval we have decided to leave the default to the most recent ones. So in short, a full list of all records for an object is not available in Lookups for performance reasons.

shamelessly copied from here. https://success.salesforce.com/answers?id=90630000000gzElAAI


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .