Admins / Users

Everything You Need Know About Salesforce Search

By Christine Marshall

Salesforce is a great repository for a company’s most precious data: Accounts, Contacts, Leads, Opportunities, and more… but once the data is in Salesforce, how can you easily search for a specific record? You could have thousands, tens of thousands, or even hundreds of thousands of records, and users expect data to be easily accessible. That’s why Salesforce search is so important! 

In this guide, we’ll dive into the different types of Salesforce search and how you can customize Salesforce search settings to suit your organization.

Salesforce Search: The Basics

Important things to note about search in Salesforce include:

  • Security features are enforced, such as field level security. This means that if a user does not have visibility of a field, the field will not be displayed in search results.
  • Security features are enforced, such as record access. This means that if a user does not have access to a record, it will not be displayed in search results.
  • Profiles and Search Layouts: Different profiles can be assigned different search layouts
  • Salesforce searches a different set of fields for each object.
  • Not all objects and fields are searchable: formula, lookup, and encrypted fields cannot be searched. 
  • Custom objects must have a custom tab in order to be searchable, and the user profile must have access to the tab, e.g. the tab is not set to ‘Tab Hidden’.
  • For custom objects to be searchable, you must tick ‘Allow Search’.

Salesforce Global Search

The first place a user looks to search is the global search bar, with a search box conveniently located at the top of the screen, regardless of where you are in the Salesforce user interface. 

In Lightning Experience, global search is powered by Einstein Search, taking searching in Salesforce to the next level. Einstein Search discovers and understands your users’ preferences and personalizes search results based on geography, ownership, industry, and activity.

When a user clicks into the search bar, they will see the actionable user interface. This includes:

  • Suggested natural language searches that will create custom filtered lists – these are based on recent searches and will continue to update as the user keeps typing.
  • Potential search results based on what the user has typed in the search bar – when a user hovers over each record, they will be able to see more information about that record, related lists, and action buttons such as ‘Edit’ or ‘Clone’. 
  • Suggested list views.

Instead of just searching by a keyword or record name, users can use natural language search, such as “my closed opportunities in New York”. 

You can also use operators such as AND, OR, and quotes for phrase matching. 

READ MORE: Get Started Today with Einstein Search
  1. When a user clicks into the global search bar, they will see their recent items.
  2. As they start typing in the search box, they will be shown recent items that match their search criteria.
  3. If the correct record is displayed, they can select it from the suggested results.
  4. If they do not see the correct record, they can hit search/enter to see a full list of results, broken down by object.
  5. Users can narrow down search results by filtering on a specific object.
  6. After filtering on an object, users can further filter on additional fields, for example, the stage of an Opportunity.

Global Search:

Full Results:

Filter Search Results:

A lookup search enables a user to search and associate a record with another record using a lookup field. For example, when associating a Contact with an Account, you would use the ‘Account Name’ field to associate the two records together.

  • As the user begins typing, they will see instant results based on the record’s name.
  • If the user does not see the record they are looking for, they can click the magnifying glass or hit Enter to do a full search.

When you apply Lookup Filters to a lookup field, they directly impact what shows up in the search results for that field. For example, imagine you have a custom lookup field called “Competitor”, which points to Accounts. If you’ve set a filter so it only shows Accounts where Type = ‘Competitor’, then: You won’t be able to search for Accounts with the Type “Customer” in that field – even if they exist in the system.

This filter acts like a gatekeeper: if the record doesn’t meet the criteria, it won’t even appear as an option, no matter what you type. Always double-check your Lookup Filters when users say, “I can’t find the record I’m looking for.”

Salesforce Search Layouts

It’s important to spend some time understanding what your users want to see when they perform a search in Salesforce. The search layout affects which fields users can view, filter, and sort by on the search results page. You can also change the layout for each profile.

You can access search layouts from Setup via an object in the Object Manager.

List views are like fabulous mini reports and are a great way to access data. Once created, you can also search a list view for a specific record. 

  • In list view search, only the first 2000 records are searched, so if the record you are looking for isn’t displayed in the first 2000 rows, it won’t be located by the search.
  • All searchable fields from the object are searched, not just the fields visible on the list view.
  • Certain field types are typically not available for search, including formula fields, lookup fields, derived fields, and non-text fields such as number and currency.
  • Once selected, the list view search box will indicate which fields are NOT available for searching.
READ MORE: Creating Salesforce Custom List Views

So, there we have it, an overview of the multiple ways to search in Salesforce.

Don’t forget to spend some time customizing your searches, choosing which fields are displayed to which profiles, to ensure your users have the best experience using Salesforce Search.

The Author

Christine Marshall

Christine is a 12x certified Salesforce Hall of Fame MVP and leads the Bristol Admin User Group.

Leave a Reply

Comments:

    abiya
    September 28, 2016 1:34 pm
    This can be new database application for the salesforce search option in the cloud based database systems.
    CC Smith
    May 30, 2017 7:17 pm
    Great series! You might also be interested in this Search tool for salesforce users. Admins love it because it takes a lot of data mining work off of their plate, because the user can handle it now: https://goo.gl/fLsmUH
    Meredith Aronson
    May 09, 2025 2:55 pm
    It would be amazing to have a partner piece on search opportunities including a NL search for Experience Cloud. The options feel much more limited?