Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a lookup field that displays the standard "name" field (renamed to Service ID) of a lookup object. However, this "Service ID" field stores the autonumberID of the object record and is not intuitive for searching against. Rather, there is also a custom field on the object called "Site Name" which would be far more intuitive to search on.

How would I configure Salesforce so that when I edit the object record and click the search icon on the lookup field I can type in a value and it will search the "site name" field rather than the "Service ID" field.

enter image description here

share|improve this question
up vote 4 down vote accepted

You need to activate a feature called Enhanced lookup. For that do the following steps:

  • go to Setup -> Customize -> Search -> Search Settings
  • Over there scroll down to the Lookup Settings and activate it for the wished custom object

    enter image description here

  • now you will be able to search in all searchable fields

    enter image description here

Here is some more official information about Enhanced Lookups.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.