Book Image

Salesforce CRM - The Definitive Admin Handbook

By : Paul Goodey GP, Paul Goodey
Book Image

Salesforce CRM - The Definitive Admin Handbook

By: Paul Goodey GP, Paul Goodey

Overview of this book

Table of Contents (18 chapters)
Salesforce CRM – The Definitive Admin Handbook Third Edition
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Search overview


Salesforce.com uses custom algorithms that consider the following within searches:

  • The search terms

  • Ignored words in search terms (for example, the, to, and for)

  • Search term stems (for example, searching for speaking returns items with speak)

  • The proximity of search terms in a record

  • Record ownership and most recently accessed records

A user might not have the same search results as another user performing the same search, because searches are configured for the user who is performing the search. For example, a user recently viewed a record, the record relevancy increases, and the record moves higher in their search results list. Records that are owned by the user also move higher in their search results. Currently, there are three types of search, and they are as follows:

  • Sidebar search

  • Advanced search

  • Global search

Let's see what they are, shall we?

Sidebar search

From the sidebar search box, users can search a subset of record types and fields. Wildcards and filters can be used to help refine the search.

Note

A wildcard is a special character or token that can be used to substitute for any other character or characters in a string. For example, the asterisk character (*) is used to substitute zero or more characters. More information about the wildcard characters can be found at http://en.wikipedia.org/wiki/Wildcard_character

Advanced search

The advanced search in the sidebar allows you to search for a subset of record types in combination and offers more fields including custom fields and long text fields, such as descriptions, notes, tasks, and event comments. Wildcards and filters can be used to help refine the search.

Global search

From the global search box, users can search more types of records, including articles, documents, products, solutions, chatter feeds, and groups. Users can also search more fields, including custom fields and long text fields, such as descriptions, notes, tasks, and event comments. Wildcards and filters can be used to help refine the search.

Note

To enable global search, you must enable Chatter. If global search is enabled, sidebar search and advanced search are disabled. Global search is not supported in Partner Portal or Customer Portal. Only users with supported browsers can use global search, as it has indirect dependencies on the New Theme user interface.

Searching in Salesforce.com

Your search term must have two or more characters. Special characters, such as ", ?, *, (, and ), are not included in the character count. For example, a search for m* will fail to return any search results.

Search terms are not case-sensitive. For example, a search for martin returns the same results as a search for Martin.

Finding phone numbers can be done by entering part or all of a number. For example, to find (512) 757-6000, enter 5127576000, 757, or 6000. To search for the last seven digits, you must enter any punctuation, such as 757-6000.

In Chinese, Japanese, and Korean, you can find a person by entering the last name before the first name; searching for howard trevor returns any person named Trevor Howard.

Tip

If you're using advanced search or global search, refine your search using operators such as AND, OR, and AND NOT.

If you're using advanced search or global search, search for exact phrases by selecting the Exact phrase checkbox or by putting quotation marks around multiple keywords; for example, "phone martin brown" returns results with phone martin brown, but not martin brown phoned or phone martina browning.

If you're using sidebar search, your search string is automatically treated as a phrase search.

Search for partially matching terms using wildcards as follows:

Asterisks match one or more characters in the middle or at the end (not the beginning) of your search term. For example, a search for brown* finds items that start with variations of the term brown, such as browning or brownlow. A search for ma* brown finds items with martin brown or mandy brown. If you're using sidebar search, an * symbol is automatically appended at the end of the search string.

If you're using global search, question marks match only one character in the middle (not the beginning or end) of your search term. For example, a search for ti?a finds items with the term tina or tika but not tia or tinas. Fields on custom objects are only searched if you have added a custom tab for the object.

If any using sidebar search or advanced search, question marks match only one character in the middle or end (not the beginning) of your search term.

Search settings

There are various search options that can be customized to change the way information can be searched by your users in Salesforce. These options either present enhanced search features that are visible as a part of the user interface or are nonvisible and used to optimize the search behind the scenes. The search settings can be set by navigating to Setup | Customize | Search | Search Settings.

The following screenshot shows you the search settings that are available if Chatter is not activated in your Salesforce CRM application:

By activating Chatter, the Global Search setting is automatically enabled and provides the following reduced set of options:

In the upcoming sections, you will see how to work with various search settings.

The Enable "Limit to Items I Own" Search Checkbox option

The Enable "Limit to Items I Own" Search Checkbox option allows your users to restrict the search results to find only the records of which they are the record owner when searching in the sidebar.

Note

The Limit to Items I Own checkbox that is available for Advanced Search is always displayed regardless of this option setting.

The Enable Document Content Search option

The Enable Document Content Search option allows users to perform a full-text search of a document. When new documents are uploaded or an existing document is updated, its contents are available as search terms to retrieve the document.

The Enable Search Optimization if your Content is Mostly in Japanese, Chinese, or Korean option

The Enable Search Optimization if your Content is Mostly in Japanese, Chinese, or Korean option optimizes searching for Japanese, Chinese, and Korean language sets. It affects Sidebar Search and the account search for Find Duplicates on a lead record in Sidebar Search and Global Search.

Note

This option should not be selected if you expect content and searches to be mostly in other languages.

The Use Recently Viewed User Records for Blank and Auto-Complete Lookups option

The Use Recently Viewed User Records for Blank and Auto-Complete Lookups option causes the list of records returned from a user autocomplete lookup and from a blank user lookup to be generated from the user's recently viewed user records. By not enabling this option, the dialog shows you a list of recently accessed user records from across your organization.

The Enable Drop-Down List for Sidebar Search option

The Enable Drop-Down List for Sidebar Search option causes a drop-down list in the Search section to appear; this allows users to limit searches by the type of record.

The Enable English-Only Spell Correction for Knowledge Search option

The Enable English-Only Spell Correction for Knowledge Search option is used with the Articles and Article Management tabs, in the articles tool in Case Feed, and in the Salesforce Knowledge sidebar in the Salesforce console.

Note

This setting applies only to article searches via the API and not to article searches when using the global search.

When enabled, any search suggests and searches alternate spellings for English search terms.

The Enable Sidebar Search Autocomplete option

The Enable Sidebar Search Autocomplete option ensures that, when users start typing search terms, Sidebar Search displays a matching list of recently viewed records.

Note

The global search feature includes autocomplete as a standard feature and does not require a specific autocomplete option to be set.

The Enable Single-Search-Result Shortcut option

The Enable Single-Search-Result Shortcut option allows users to skip the search results page and navigate directly to the record detail page if their search produces a single result.

The Number of Search Results Displayed Per Object option

The Number of Search Results Displayed Per Object option allows you to configure the number of items that are returned for each object in the Search Results page.

The current setting is in brackets next to each object where the new value must be between 5 and 50.

Lookup settings

The Lookup Settings section of the Search Settings page allows you to enable enhanced lookups and lookup autocompletion for Accounts, Contacts, Users, and custom objects.

Enhanced lookups

The Enhanced Lookups section provides an enhanced interface for your users to sort and filter search results by any field that is available in regular search results, as shown in the following screenshot:

With enhanced lookups enabled, users can hide and reorganize the columns that are displayed in the results window. Enhanced lookups return all records that match the search criteria and allow you to scroll through large sets of search results.

After enabling enhanced lookups, you must specify which fields users can use to filter lookup search dialog results. This is set by accessing search layouts and choosing the fields from the Lookup Dialog Fields layout.

For custom objects, this is done by navigating to Setup | Create | Objects. Choose the object you want to modify, scroll down to the Search Layouts related list, and choose the fields from Lookup Dialog Fields.

For Accounts, Contacts, or Users, this is done by navigating to Setup | Customize; go to Accounts, Contacts, or Users, and then go to Search Layouts. Then, choose the fields from Lookup dialog fields, as shown in the following screenshot:

Currently, only Accounts, Contacts, Events, Users, Chatter objects, and custom objects can be enabled to use the enhanced lookup settings.

Lookup autocompletion

When the Lookup Autocompletion option is enabled, your users are shown a dynamic list of recently used matching records when they edit a lookup field.

Note

At the time of writing this feature is only available for Accounts, Contacts, Events, Chatter, Users, and custom object lookups.