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
Internal PartnerInternal Partner 

Search lookup using a picklist value doesn't work

Hi all,
we would like to be able to also search for a certain picklist value in a lookup and get results of the object records in Lightning.
According to Lightning you can configure the search results with usable fields as documented here:

https://help.salesforce.com/articleView?id=search_fields_lex.htm&type=5

I could configure the search results for Account using Phone as the secondary field and when I make my search on the Account using a phone number I get the corresponding result. But when I take a picklist field as secondary and then try my search using a picklist value, this doesn't work.

So, does anybody know if there is a workaround for this? how can a lookup be searchable using a picklist value?
Khan AnasKhan Anas (Salesforce Developers) 
Hi,

Greetings to you!

Not all object and fields are searchable in lightning experience. There is a  table in that doc to determine which records you can find with Salesforce search.

Also, it is an idea to allow Pick-list value to show in Lightning Lookup search:
https://success.salesforce.com/ideaView?id=0873A000000CP3dQAG

https://help.salesforce.com/articleView?id=search_lookup_lex.htm&type=5

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas
Internal PartnerInternal Partner
Thanks Khan for responding. In the meantime I could find the same information but I was not able to respond before your answer.
It would help to know if there is any workaround.