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 custom object that contains a lookup field and I want to search on contact and accounts.

share|improve this question

Custom polymorphic lookups are not supported by the platform at this time. Go vote for the idea now.

Unless, of course, you have Person Accounts enabled, which lets you lookup contacts and person accounts (but not business accounts).

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.