Set Up and Maintain Your Salesforce Organization
Set Up and Maintain Your Salesforce Organization
Salesforce Organization
Salesforce, Spring ’17
@salesforcedocs
Last updated: April 13, 2017
© Copyright 2000–2017 salesforce.com, inc. All rights reserved. Salesforce is a registered trademark of salesforce.com, inc.,
as are other names and marks. Other marks appearing herein may be trademarks of their respective owners.
CONTENTS
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 905
SET UP AND MAINTAIN YOUR SALESFORCE ORGANIZATION
1
Set Up and Maintain Your Salesforce Organization Try Out Salesforce
IN THIS SECTION:
Start a New Trial
When you sign up for Salesforce, you can choose an industry-specific template with sample data. During your trial period, you can
start a new trial with a blank template. To start a new trial abandon your current trial, including all data and customizations. Only
usernames are preserved.
Delete Trial Data
When you sign up for Salesforce, your Salesforce org is initially populated with sample data. During your trial period, Salesforce
admins can delete the sample data and all your org’s data by using the Delete All Data link.
2
Set Up and Maintain Your Salesforce Organization Delete Trial Data
Note: If data storage limits prevent you from deleting all your trial data this way, use Mass Delete Records to delete your accounts.
Then use Delete All Data to delete your remaining trial data. For instructions for using Mass Delete Records, see Delete Multiple
Records and Reports on page 453.
Compare Rolling out Salesforce Yourself Rolling out Salesforce with a Partner
Qualifications Sometimes companies have Consultants are Salesforce-certified.
Salesforce-certified employees who can
assist with setup.
3
Set Up and Maintain Your Salesforce Organization Plan Your Salesforce Rollout
Compare Rolling out Salesforce Yourself Rolling out Salesforce with a Partner
Experience Usually employees have little or no Consultants have set up many Salesforce
Salesforce experience. organizations and are knowledgeable about
best practices.
Availability of resources for setup Usually setup competes with your Consultants commit to and deliver on a
employees’ other projects and priorities. scope of work for your Salesforce rollout.
External support Salesforce offers basic support for all Consultants are experienced and
Salesforce organizations. Support includes well-connected, and can offer personalized
access to self-help (online help articles) and support to companies during setup and
Customer Support agents (guaranteed to rollout.
respond within 2 days).
Time commitment Usually rolling out Salesforce yourself is a Usually rolling out Salesforce with a partner
significant time commitment unless is faster, because experienced resources are
experienced resources are available. fully engaged in your project.
Salesforce adoption by your sales teams When Salesforce isn’t rolled out properly, When consultants roll out Salesforce, there
companies run the risk that their sales teams is a greater chance that sales teams adopt
don’t recognize the products’ value, and the product from the start because its value
don’t adopt the product wholeheartedly. is obvious.
Training resources Companies are required to customize and Salesforce partners can offer experienced
roll out their own training plans for mentorship and pre-designed training
employees without mentorship from expert materials.
resources.
To learn more about consulting partners and how to connect with one, check out our website, Successfully Implement with Salesforce
Partners.
SEE ALSO:
Successfully Implement with Salesforce Partners
Successfully Implement with Salesforce Partners
4
Set Up and Maintain Your Salesforce Organization Set Your Company Up in Salesforce
5
Set Up and Maintain Your Salesforce Organization Manage Information About Your Company
SEE ALSO:
Feature Licenses Overview
Permission Set Licenses
Usage-based Entitlements
API Requests, Last 24 Hours The total number of API requests issued by the
organization in the last 24 hours. The maximum
number of requests depends on your Edition.
6
Set Up and Maintain Your Salesforce Organization Manage Information About Your Company
Field Description
Currency Locale The country or geographic region in which the organization is
located. The setting affects the format of currency amounts. For
single currency organizations only.
Default Language The default language that is selected for new users in the
organization. This setting determines the language used for the
user interface text and help. In all editions except Personal Edition
and Database.com, individual users can separately set the language
for their own login, which will override the organization setting.
In Group Edition, this field is called Display Language.
This setting also determines the language in which all
customizations—such as custom fields, tabs, and user interface
options—are stored. For customizations, individual users' language
settings do not override this setting.
If you edit or clone existing filter criteria, make sure this setting
matches the default language that was configured when the filter
criteria was originally set. Otherwise, the filter criteria may not be
evaluated as expected.
Default Locale The default country or geographic region that is selected for new
users in the organization. This setting determines the format of
dates, times, and names in Salesforce. In Contact Manager, Group,
Professional, Enterprise, Unlimited, Performance, and Developer
Edition organizations, individual users can set their personal locale,
which overrides the organization setting. In Group Edition, this
field is called Locale.
Default Time Zone Primary time zone in which the organization is located. A user's
individual Time Zone setting overrides the organization's
Default Time Zone setting.
Note: Organizations in Arizona should select “Mountain Standard
Time,” and organizations in parts of Indiana that do not follow
Daylight Savings Time should select “Eastern Standard Time.”
Division Group or division that uses the service, for example, PC Sales Group.
Up to 40 characters are allowed in this field.
Fiscal Year Starts In If using a standard fiscal year, the starting month and year for the
organization’s fiscal year. If using a custom fiscal year, the value
will be “Custom Fiscal Year.”
Hide Notices About System Downtime Select this checkbox to prevent advance notices about planned
system downtime from displaying to users when they log in to
Salesforce.
7
Set Up and Maintain Your Salesforce Organization Manage Information About Your Company
Field Description
Hide Notices About System Maintenance Select this checkbox to prevent advance notices about planned
system maintenance from displaying to users when they log in to
Salesforce.
Restricted Logins, Current Month Number of restricted login users who have logged in during the
current month.
This value resets to zero at the beginning of each month. The
maximum number of restricted login users for the organization is
in parentheses.
Salesforce Licenses Number of Salesforce user accounts that can be defined for access
to the service. This is the number of Salesforce user licenses for
which the organization is billed, if charges apply.
Streaming API Events, Last 24 Hours The total number of Streaming API events used by the organization
in the last 24 hours. The maximum number of events depends on
your edition.
Used Data Space Amount of data storage in use; the value is expressed as a
measurement (for example, 500 MB) and as a percentage of the
total amount of data storage available (for example, 10%).
8
Set Up and Maintain Your Salesforce Organization Allow the Required Domains
Field Description
Used File Space Amount of file storage in use; the value is expressed as a
measurement (for example, 500 MB) and as a percentage of the
total amount of file storage available (for example, 10%).
SEE ALSO:
Set Your Company Up in Salesforce
• *.content.force.com
• *.force.com
• *.salesforce.com
• *.staticforce.com
• In addition, these domains are used to deliver content in the right frame of your login screen.
• *.sfdcstatic.com
• secure.eloqua.com
• www.google.*
• *.doubleclick.net
• www.facebook.com
• ssl.google-analytics.com
The right frame content is displayed in the followings URLs.
• login.salesforce.com
• test.salesforce.com
• <yourInstance>.salesforce.com
• A My Domain URL without custom branding (for example, norns.my.salesforce.com)
9
Set Up and Maintain Your Salesforce Organization Customize the User Interface
Note: To view hover details for a record, users need the appropriate sharing access, and field-level security access for the
fields in the mini page layout.
10
Set Up and Maintain Your Salesforce Organization Customize the User Interface
Note: This option doesn't enable inline editing for profiles. Select Enable Enhanced Profile List Views under
Setup.
Enable Enhanced Lists
Enhanced lists give you the ability to quickly view, customize, and edit list data to speed up your daily productivity. When enabled
with the Enable Inline Editing setting, users can also edit records directly from the list, without navigating away from
the page. This option is enabled by default.
Note: To enable enhanced lists for profiles in particular, select Enable Enhanced Profile List Views under
Setup.
Enable the Salesforce Classic 2010 User Interface Theme
This option is not related to Lightning Experience. In this case, “Salesforce Classic 2010 user interface theme” refers to the newer
version of Salesforce Classic, which is the interface that immediately precedes Lightning Experience. Enabling this option turns on
the updated Salesforce Classic look and feel. Disabling it turns on the Salesforce Classic 2005 user interface theme —the classic,
classic Salesforce interface.
Warning: Some features, like Chatter, require the Salesforce Classic 2010 user interface theme. Disabling this theme
automatically disables Chatter in both Salesforce Classic and Lightning Experience.
Only users with supported browsers see the Salesforce Classic 2010 user interface theme.
The Salesforce Classic 2010 user interface theme is not supported in portals or on the Console tab.
Enable Tab Bar Organizer
The Tab Bar Organizer arranges tabs in the main tab bar to prevent horizontal scrolling of the page. The Organizer dynamically
determines how many tabs can display based on the width of the browser window. It puts tabs that extend beyond the browser's
viewable area into a drop-down list.
11
Set Up and Maintain Your Salesforce Organization Customize the User Interface
• The Tab Bar Organizer is only available with the Salesforce Classic 2010 user interface theme. Orgs using the Salesforce
Classic 2005 user interface theme can enable the feature, but it isn’t available to users until the newer theme is also enabled.
• The Tab Bar Organizer isn’t available on Internet Explorer 6.
Sidebar Settings
Enable Collapsible Sidebar
The collapsible sidebar enables users to show or hide the sidebar on every page that normally includes it. When enabled, the
collapsible sidebar is available to all users in your org, but each user can choose how to display the sidebar. Users can leave the
sidebar visible, or they can collapse it and show it only when needed by clicking the edge of the collapsed sidebar.
Note: Call center users won't see incoming calls if they collapse the sidebar.
Tip: If your org uses divisions, we recommend that you keep the sidebar pinned and visible so you always have access to the
Divisions drop-down list.
Show Custom Sidebar Components on All Pages
If you have custom home page layouts that include components in the sidebar, this option makes the sidebar components available
on all pages for all org users. If you only want certain users to view sidebar components on all pages, grant those users the “Show
Custom Sidebar On All Pages” permission.
Note: If the Show Custom Sidebar Components on All Pages user interface setting is selected, the “Show
Custom Sidebar On All Pages” permission is not available.
Calendar Settings
Enable Home Page Hover Links for Events
Enables hover links in the calendar section of the Home tab. On the Home tab, users can hover the mouse over the subject of an
event to see the details of the event in an interactive overlay. This option is enabled by default. This checkbox only controls the Home
tab; hover links are always available on other calendar views.
The fields available in the event detail and edit overlays are defined in a mini page layout.
Note: If you create all day events, we recommend adding the All Day Event field to the events mini page layout.
Note: Calendar views can load less quickly when this checkbox is enabled.
12
Set Up and Maintain Your Salesforce Organization Customize the User Interface
Setup Settings
Enable Enhanced Page Layout Editor
When enabled, the enhanced page layout editor replaces the current interface for editing page layouts with a feature-rich WYSIWYG
editor that includes several improvements.
Enable Enhanced Profile List Views
Enables enhanced list views and inline editing on the profiles list page. With inline editing in enhanced profile list views, you can
manage multiple profiles at once.
Enable Enhanced Profile User Interface
Enables the enhanced profile user interface, which allows you to easily navigate, search, and modify settings for a single profile.
Enable Streaming API
Enables Streaming API, which lets you receive notifications for changes to data that match a SOQL query that you define in a secure
and scalable way. This field is selected by default. If your Salesforce edition has API access and you don’t see this checkbox, contact
Salesforce.
Enable Dynamic Streaming Channel Creation
Enables dynamic channel creation when using the generic streaming feature of Streaming API. When enabled, generic streaming
channels get dynamically created when clients subscribe, if the channel hasn’t already been created. This field is selected by default.
If your Salesforce edition has API access and you don’t see the checkbox, contact Salesforce.
Enable Custom Object Truncate
Enables truncating custom objects, which permanently removes all the records from a custom object while keeping the object and
its metadata intact for future use.
Enable Improved Setup User Interface
When disabled, users with Salesforce Classic access their personal settings from the Setup menu. When enabled, users with Salesforce
Classic access their personal settings from the My Settings menu, accessible from the username menu. The Setup link is also moved
from the username menu to the Force.com App Menu. If you change this setting, be sure to notify all users in your org.
Enable Advanced Setup Search (Beta)
When enabled, users can search for Setup pages, custom profiles, permission sets, public groups, roles, and users from the sidebar
in Setup. When disabled, users can search for Setup pages only.
Note:
• Advanced Setup Search is in beta; it is production quality but has known limitations.
13
Set Up and Maintain Your Salesforce Organization Customize the User Interface
• Some searchable items (such as permission sets) aren’t available in some editions. Users can’t search for items that aren’t
included in their edition.
Advanced Settings
Activate Extended Mail Merge
Enables Extended Mail Merge for your org. When selected, the Mass Mail Merge link is available in the Tools area on the home
pages for accounts, contacts, and leads. Also, single mail merges requested from the Activity History related list on a record are
performed using Extended Mail Merge functionality.
Extended Mail Merge is available by request only. Contact Salesforce Customer Support if you are interested in this feature.
Always save Extended Mail Merge documents to the Documents tab
Mail merge documents generated using Extended Mail Merge are added to the user's documents folder on the Documents tab,
rather than delivered as email attachments. Users are sent confirmation emails when their mail merge requests have completed.
Those emails include links for retrieving generated documents from the Documents tab. These documents count against your org's
storage limits.
• The My Settings home page includes quick links for easily accessing the most commonly used personal settings tools and tasks.
Important: When enabled, the improved Setup user interface is activated for every user in an organization. Be sure to notify your
organization before enabling or disabling this setting.
To enable the improved Setup user interface, from Setup, enter User Interface in the Quick Find box, then select User
Interface, then select Enable Improved Setup User Interface.
IN THIS SECTION:
Searching Setup with Advanced Setup Search (Beta)
With Advanced Setup Search, users can search for many types of items in Setup, including approval items, custom objects and fields,
custom profiles, permission sets, workflow items, users, and so on.
14
Set Up and Maintain Your Salesforce Organization Customize the User Interface
Note: Some searchable items (such as permission sets) aren’t available in some editions.
Users can’t search for items that aren’t included in their edition.
Example: For example, let’s say you want to see all the installed packages in your organization. Enter inst. As you enter letters,
the Setup menu shrinks to include only the menus and pages that match your search terms. You’ll quickly see the link for the page
you want (Installed Packages).
Next, perhaps you want to change the password for one of your users, Jane Smith. Enter smit and click . From the Setup
Search Results page, click the Jane Smith result to go directly to her user detail page.
IN THIS SECTION:
Setup Search Results Page (Beta)
The Setup Search Results page displays various types of items in Setup that match your search terms, including approval items,
custom objects and fields, custom profiles, permission sets, workflow items, users, and so on.
– If you’ve filtered your results by category, click All Results to show all search results.
15
Set Up and Maintain Your Salesforce Organization Set Up the Lightning Experience Home Page
Note: Search terms that match a user’s name or community nickname (the Nickname field in the user detail page) return
results that show the user’s name only. If the nickname doesn’t match the username, the result might not be obvious. For example,
if a user who’s named Margaret Smith has the nickname Peggy, a search for peg returns Margaret Smith.
Tip: When viewing setup search results, bookmark the results page in your Web browser to easily perform the same search in the
future. For example, if you often search for “smit”, you can bookmark the results page to perform the same search again. The URL
for this bookmark would be something like
https://MyCompany.salesforce.com/ui/setup/SetupSearchResultsPage?setupSearch=smit.
SEE ALSO:
Searching Setup with Advanced Setup Search (Beta)
IN THIS SECTION:
Set a New Default Home Page
Set a new default Home page to surface the information that’s most relevant for your users. All users see the default Home page
unless they have profiles that are assigned to another Home page.
Assign Custom Home Pages to Specific Profiles
Assign pages to different profiles to give your users access to a Home page perfect for their role.
Lightning Experience Home Permissions and Settings
Give your users access to opportunity details and other permissions so they can get the most out of the Home page.
16
Set Up and Maintain Your Salesforce Organization Set Up the Lightning Experience Home Page
Click Set Page Assignments or click next to a profile and select Change Assignment. USER PERMISSIONS
17
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
Note: If you have custom fiscal years enabled in your org, ensure you have created an entry
for the upcoming fiscal year as the current fiscal year draws to a close so the performance
chart works correctly.
To populate the performance chart, Top Deals, and the Assistant, users must have:
Note: Single language organizations cannot change their language, although they can
change their locale.
18
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
Language User
Locale User
IN THIS SECTION:
Language Settings Overview
Supported Locales
The Salesforce locale settings determine the display formats for date and time, users’ names, addresses, and commas and periods
in numbers. For single-currency organizations, locales also set the default currency for the organization when you select them in
the Currency Locale picklist on the Company Information page.
Supported Time Zones
Set Your Personal or Organization-Wide Currency
If you have a single-currency organization, you can set the default currency for your organization. Multi-currency organizations don’t
have a default currency. Instead, change your corporate currency or your personal currency.
Edit Conversion Rates
You can manage static exchange rates between your active and inactive currencies and the corporate currency by editing the
conversion rates. These exchange rates apply to all currency fields used in your organization. In addition to these conversion rates,
some organizations use dated exchange rates for opportunities and opportunity products.
Supported Currencies
19
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
custom fields, tabs, and user interface options—are stored. For customizations, users' personal language settings don't override this
default setting. Some setup items that are manually entered by an administrator can be translated in the Translation Workbench.
Administrators can change this setting by editing the company information.
IN THIS SECTION:
Supported Languages
Salesforce offers three levels of language support: fully supported languages, end-user languages, and platform-only languages.
SEE ALSO:
Select Your Language, Locale, and Currency
Supported Languages
Salesforce offers three levels of language support: fully supported languages, end-user languages, and platform-only languages.
A two-character language code identifies each language, such as en, or a five-character locale code, such as en_AU.
In addition to the Salesforce language support, you can localize your organizations in two ways. The Translation Workbench lets you
specify languages you want to translate, assign translators to languages, create translations for customizations you’ve made to your
Salesforce organization, and override labels and translations from managed packages. Everything from custom picklist values to custom
fields can be translated so your global users can use all of Salesforce in their language.
The second option is to rename tabs and fields in Salesforce. If your custom application uses only a few standard Salesforce tabs and
fields, you can translate them.
20
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
• Russian: ru
• Spanish: es
• Spanish (Mexico): es_MX
• Swedish: sv
• Thai: th
Note:
• Spanish (Mexico) falls back to Spanish for customer-defined translations.
• Even though the Salesforce user interface is fully translated to Thai, Help remains in English.
End-User Languages
End-user languages are useful if you have a multilingual organization or partners who speak languages other than your company’s
default language. For end-user languages, Salesforce provides translated labels for all standard objects and pages, except administrative
pages, Setup, and Help. When you specify an end-user language, labels and Help that aren’t translated appear in English. End-user
languages are intended only for personal use by end users. Don’t use end-user languages as corporate languages. Salesforce doesn’t
provide customer support in end-user languages.
End-user languages include:
• Arabic: ar
• Bulgarian: bg
• Croatian: hr
• Czech: cs
• English (UK): en_GB
• Greek: el
• Hebrew: iw
• Hungarian: hu
• Indonesian: in
• Polish: pl
• Portuguese (Portugal): pt_PT
• Romanian: ro
• Slovak: sk
• Slovenian: sl
• Turkish: tr
• Ukrainian: uk
• Vietnamese: vi
Note: Salesforce provides limited support for right-to-left languages—Arabic and Hebrew—for the following features.
• Live Agent
• Cases
• Accounts
These features are not supported in Lightning Experience, the Salesforce1 mobile app, any other mobile app or mobile browser,
or any user interface except Salesforce Classic. There is no guarantee that right-to-left languages function correctly with any other
Salesforce features. There are no plans to expand the list of supported features.
21
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
Features that aren’t supported for right-to-left languages include, but are not limited to, the following.
• Report Builder
• Generating quote PDFs
• Customizable forecasting
• Emails
• Salesforce Knowledge
• Feeds
• Communities
The absence of a feature from this list does not imply support. Only Live Agent, Cases, and Accounts are supported with right-to-left
languages.
Platform-Only Languages
In situations where Salesforce doesn’t provide default translations, use platform-only languages to localize apps and custom functionality
that you’ve built on the Salesforce App Cloud. You can translate items such as custom labels, custom objects, and field names. You can
also rename most standard objects, labels, and fields. Informative text and non-field label text aren’t translatable.
Platform-only languages are available in all places where you can select a language in the application. However, when you select a
platform-only language, all standard Salesforce labels default to English or, in select cases, to an end-user or fully supported language.
When you specify a platform-only language, labels for standard objects and fields fall back to English, except:
• English (Australia), English (India), English (Malaysia), and English (Philippines) fall back to English (UK).
• French (Belgium), French (Canada), French (Luxembourg), and French (Switzerland) fall back to French.
• German (Austria), German (Luxembourg), and German (Switzerland) fall back to German.
• Italian (Switzerland) falls back to Italian.
• Romanian (Moldova) falls back to Romanian.
• Montenegrin falls back to Serbian (Latin).
• Portuguese (Portugal) falls back to Portuguese (Brazil).
The following platform-only languages are currently supported.
• Albanian: sq
• Arabic (Algeria): ar_DZ
• Arabic (Bahrain): ar_BH
• Arabic (Egypt): ar_EG
• Arabic (Iraq): ar_IQ
• Arabic (Jordan): ar_JO
• Arabic (Kuwait): ar_KW
• Arabic (Lebanon): ar_LB
• Arabic (Libya): ar_LY
• Arabic (Morocco): ar_MA
• Arabic (Oman): ar_OM
• Arabic (Qatar): ar_QA
• Arabic (Saudi Arabia): ar_SA
22
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
23
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
• Montenegrin: sh_ME
• Romansh: rm
• Serbian (Cyrillic): sr
• Serbian (Latin): sh
• Spanish (Argentina): es_AR
• Spanish (Bolivia): es_BO
• Spanish (Chile): es_CL
• Spanish (Colombia): es_CO
• Spanish (Costa Rica): es_CR
• Spanish (Dominican Republic): es_DO
• Spanish (Ecuador): es_EC
• Spanish (El Salvador): es_SV
• Spanish (Guatemala): es_GT
• Spanish (Honduras): es_HN
• Spanish (Nicaragua): es_NI
• Spanish (Panama): es_PA
• Spanish (Paraguay): es_PY
• Spanish (Peru): es_PE
• Spanish (Puerto Rico): es_PR
• Spanish (United States): es_US
• Spanish (Uruguay): es_UY
• Spanish (Venezuela): es_VE
• Tagalog: tl
• Tamil: ta
• Urdu: ur
• Welsh: cy
SEE ALSO:
Select Your Language, Locale, and Currency
24
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
Supported Locales
The Salesforce locale settings determine the display formats for date and time, users’ names,
EDITIONS
addresses, and commas and periods in numbers. For single-currency organizations, locales also set
the default currency for the organization when you select them in the Currency Locale Available in: Salesforce
picklist on the Company Information page. Classic
Name Code Default Date Time Number Name Address Available in: Group,
currency and format format format format Professional, Enterprise,
time Performance, Unlimited,
format Database.com, and
Developer Editions
Albanian sq_AL Albanian 2008-02-28 6.00.PD 1.234,56 Ms. Address
(Albania) Lek: ALL 4.30.PM FName Line 1,
LName USER PERMISSIONS
Address
Line 2 To view company
information:
City, State
• “View Setup and
ZipCode
Configuration”
Country
To change company
information:
Arabic ar_DZ Algerian / / : : Ms. Address • “Customize Application”
(Algeria) Dinar: PM FName Line 1,
The available personal
DZD LName Address setup options vary
Line 2 according to which
Salesforce Edition you have.
City, State
ZipCode
Country
25
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
Name Code Default Date and Time format Number Name Address
currency time format format format format
Arabic (Iraq) ar_IQ Iraqi Dinar: IQD / / : PM : Ms. FName Address Line 1,
LName Address Line 2
City, State
ZipCode
Country
26
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
Name Code Default Date and Time format Number Name Address
currency time format format format format
Country
Arabic (Qatar) ar_QA Qatar Rial: QAR / / : PM : Ms. FName Address Line 1,
LName Address Line 2
City, State
ZipCode
Country
27
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
Name Code Default Date and Time format Number Name Address
currency time format format format format
City, State
ZipCode
Country
Armenian hy_AM Armenian 02/28/2008 06:00 1234,56 Ms. FName Address Line 1,
(Armenia) Dram: AMD 16:30 LName Address Line 2
City, State
ZipCode
Country
Azerbaijani az_AZ Azerbaijanian 2008-02-28 06:00 1.234,56 Ms. FName Address Line 1,
(Azerbaijan) New Manat: 16:30 LName Address Line 2
AZN
City, State
ZipCode
Country
Basque (Spain) eu_ES Euro: EUR 2008-02-28 06:00 1.234,56 Ms. FName Address Line 1,
16:30 LName Address Line 2
City, State
ZipCode
Country
Belarusian be_BY Belarussian 28.2.2008 6.00 1 234,56 Ms. FName Address Line 1,
(Belarus) Ruble: BYR 16.30 LName Address Line 2
City, State
ZipCode
Country
Bosnian bs_BA Convertible 28.02.2008. 06:00 1.234,56 Ms. FName Address Line 1,
(Bosnia and Marks: BAM 16:30 LName Address Line 2
Herzegovina)
City, State
ZipCode
Country
28
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
Name Code Default Date and Time format Number Name Address
currency time format format format format
Bulgarian bg_BG Bulgarian Lev: 02.28.2008 6:00 1 234,56 Ms. FName Address Line 1,
(Bulgaria) BGN 16:30 LName Address Line 2
City, State
ZipCode
Country
Catalan (Spain, ca_ES_EURO Euro: EUR 28/02/2008 06:00 1.234,56 Ms. FName Address Line 1,
Euro) 16:30 LName Address Line 2
City, State
ZipCode
Country
Catalan (Spain) ca_ES Euro: EUR 28/02/2008 06:00 1.234,56 Ms. FName Address Line 1,
16:30 LName Address Line 2
City, State
ZipCode
Country
Chinese (China, zh_CN_PINYIN Chinese Yuan: 2008-2-28 上午6:00 1,234.56 LName FName Country
Pinyin CNY PM4:30 ZipCode State
Ordering) City
Address Line 1,
Address Line 2
Chinese (China, zh_CN_STROKE Chinese Yuan: 2008-2-28 上午6:00 1,234.56 LName FName Country
Stroke CNY PM4:30 ZipCode State
Ordering) City
Address Line 1,
Address Line 2
Chinese zh_CN Chinese Yuan: 2008-2-28 上午6:00 1,234.56 LName FName Country
(China) CNY PM4:30 ZipCode State
City
Address Line 1,
29
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
Name Code Default Date and Time format Number Name Address
currency time format format format format
Address Line 2
Chinese (Hong zh_HK_STROKE Hong Kong 2008 2 28 6:00 1,234.56 LName FName Country
Kong SAR Dollar: HKD PM4:30 ZipCode State
China, Stroke City
Ordering)
Address Line 1,
Address Line 2
Chinese (Hong zh_HK Hong Kong 2008 2 28 6:00 1,234.56 LName FName Country
Kong SAR Dollar: HKD PM4:30 ZipCode State
China) City
Address Line 1,
Address Line 2
Chinese zh_MO Macau Pataca: 2008 2 28 6:00 1,234.56 LName FName Country
(Macau SAR MOP PM4:30 ZipCode State
China) City
Address Line 1,
Address Line 2
Chinese zh_TW_STROKE Taiwan Dollar: 2008-2-28 PM 上午 6:00 1,234.56 LName FName Country
(Taiwan, Stroke TWD 4:30 ZipCode State
Ordering) City
Address Line 1,
Address Line 2
Chinese zh_TW Taiwan Dollar: 2008-2-28 PM 上午 6:00 1,234.56 LName FName Country
(Taiwan) TWD 4:30 ZipCode State
City
Address Line 1,
Address Line 2
Croatian hr_HR Croatian Kuna: 28.02.2008. 06:00 1.234,56 Ms. FName Address Line 1,
(Croatia) HRK 16:30 LName Address Line 2
30
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
Name Code Default Date and Time format Number Name Address
currency time format format format format
City, State
ZipCode
Country
Czech (Czech cs_CZ Czech Koruna: 28.2.2008 6:00 1 234,56 Ms. FName Address Line 1,
Republic) CZK 16:30 LName Address Line 2
City, State
ZipCode
Country
Danish da_DK Danish Krone: 28-02-2008 06:00 1.234,56 Ms. FName Address Line 1,
(Denmark) DKK 16:30 LName Address Line 2
City, State
ZipCode
Country
Dutch (Aruba) nl_AW Aruba Florin: 28-2-2008 6:00 1.234,56 Ms. FName Address Line 1,
AWG 16:30 LName Address Line 2
City, State
ZipCode
Country
Dutch nl_BE Euro: EUR 28/02/2008 6:00 1.234,56 Ms. FName Address Line 1,
(Belgium) 16:30 LName Address Line 2
City, State
ZipCode
Country
Dutch nl_NL Euro: EUR 28-2-2008 6:00 1.234,56 Ms. FName Address Line 1,
(Netherlands) 16:30 LName Address Line 2
City, State
ZipCode
Country
Dutch nl_SR Surinam Dollar: 28-2-2008 6:00 1.234,56 Ms. FName Address Line 1,
(Suriname) SRD 16:30 LName Address Line 2
City, State
ZipCode
Country
31
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
Name Code Default Date and Time format Number Name Address
currency time format format format format
Dzongkha dz_BT Bhutan 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Bhutan) Ngultrum: BTN PM LName Address Line 2
City, State
ZipCode
Country
English en_AG East Caribbean 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Antigua and Dollar: XCD PM LName Address Line 2
Barbuda)
City, State
ZipCode
Country
English en_AU Australian 28/02/2008 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Australia) Dollar: AUD 4:30 PM LName Address Line 2
City, State
ZipCode
Country
English en_BS Bahamian 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Bahamas) Dollar: BSD PM LName Address Line 2
City, State
ZipCode
Country
English en_BB Barbados 28/02/2008 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Barbados) Dollar: BBD 16:30 LName Address Line 2
City, State
ZipCode
Country
English (Belize) en_BZ Belize Dollar: 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
BZD PM LName Address Line 2
City, State
ZipCode
Country
English en_BM Bermuda 28/02/2008 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Bermuda) Dollar: BMD 16:30 LName Address Line 2
City, State
ZipCode
32
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
Name Code Default Date and Time format Number Name Address
currency time format format format format
Country
English en_BW Botswana Pula: 28/02/2008 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Botswana) BWP 4:30 PM LName Address Line 2
City, State
ZipCode
Country
English en_CM CFA Franc 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Cameroon) (BEAC): XAF PM LName Address Line 2
City, State
ZipCode
Country
English en_CA Canadian 28/02/2008 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Canada) Dollar: CAD 4:30 PM LName Address Line 2
City, State
ZipCode
Country
English en_KY Cayman 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Cayman Islands Dollar: PM LName Address Line 2
Islands) KYD
City, State
ZipCode
Country
English en_ER Eritrea Nakfa: 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Eritrea) ERN PM LName Address Line 2
City, State
ZipCode
Country
English en_FK Falkland 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Falkland Islands Pound: PM LName Address Line 2
Islands) FKP
City, State
ZipCode
Country
English (Fiji) en_FJ Fiji Dollar: FJD 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
PM LName Address Line 2
33
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
Name Code Default Date and Time format Number Name Address
currency time format format format format
City, State
ZipCode
Country
English en_GM Gambian 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Gambia) Dalasi: GMD PM LName Address Line 2
City, State
ZipCode
Country
English en_GH Ghanaian Cedi: 28/02/2008 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Ghana) GHS 16:30 LName Address Line 2
City, State
ZipCode
Country
English en_GI Gibraltar 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Gibraltar) Pound: GIP PM LName Address Line 2
City, State
ZipCode
Country
English en_GY Guyana Dollar: 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Guyana) GYD PM LName Address Line 2
City, State
ZipCode
Country
English (Hong en_HK Hong Kong 28/2/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
Kong SAR Dollar: HKD PM LName Address Line 2
China)
City, State
ZipCode
Country
English (India) en_IN Indian Rupee: 28/2/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
INR PM LName Address Line 2
City, State
ZipCode
Country
34
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
Name Code Default Date and Time format Number Name Address
currency time format format format format
English en_ID Indonesian 28/02/2008 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Indonesia) Rupiah: IDR 16:30 LName Address Line 2
City, State
ZipCode
Country
English en_IE_EURO Euro: EUR 28/02/2008 06:00 1,234.56 Ms. FName Address Line 1,
(Ireland, Euro) 16:30 LName Address Line 2
City, State
ZipCode
Country
English en_IE Euro: EUR 28/02/2008 06:00 1,234.56 Ms. FName Address Line 1,
(Ireland) 16:30 LName Address Line 2
City, State
ZipCode
Country
English en_JM Jamaican 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Jamaica) Dollar: JMD PM LName Address Line 2
City, State
ZipCode
Country
English (Kenya) en_KE Kenyan 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
Shilling: KES PM LName Address Line 2
City, State
ZipCode
Country
English en_LR Liberian Dollar: 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Liberia) LRD PM LName Address Line 2
City, State
ZipCode
Country
English en_MG Malagasy 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Madagascar) Ariary: MGA PM LName Address Line 2
City, State
ZipCode
35
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
Name Code Default Date and Time format Number Name Address
currency time format format format format
Country
English en_MW Malawi 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Malawi) Kwacha: MWK PM LName Address Line 2
City, State
ZipCode
Country
English en_MY Malaysian 28/02/2008 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Malaysia) Ringgit: MYR 16:30 LName Address Line 2
City, State
ZipCode
Country
English en_MU Mauritius 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Mauritius) Rupee: MUR PM LName Address Line 2
City, State
ZipCode
Country
English en_NA Namibian 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Namibia) Dollar: NAD PM LName Address Line 2
City, State
ZipCode
Country
English (New en_NZ New Zealand 28/02/2008 6:00 AM 1,234.56 Ms. FName Address Line 1,
Zealand) Dollar: NZD 4:30 PM LName Address Line 2
City, State
ZipCode
Country
English en_NG Nigerian Naira: 28/02/2008 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Nigeria) NGN 16:30 LName Address Line 2
City, State
ZipCode
Country
English en_PK Pakistani 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Pakistan) Rupee: PKR PM LName Address Line 2
36
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
Name Code Default Date and Time format Number Name Address
currency time format format format format
City, State
ZipCode
Country
English (Papua en_PG Papua New 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
New Guinea) Guinea Kina: PM LName Address Line 2
PGK
City, State
ZipCode
Country
English en_PH Philippine 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Philippines) Peso: PHP PM LName Address Line 2
City, State
ZipCode
Country
English en_RW Rwanda Franc: 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Rwanda) RWF PM LName Address Line 2
City, State
ZipCode
Country
English (Saint en_SH St Helena 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
Helena) Pound: SHP PM LName Address Line 2
City, State
ZipCode
Country
English en_WS Samoa Tala: 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Samoa) WST PM LName Address Line 2
City, State
ZipCode
Country
English en_SC Seychelles 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Seychelles) Rupee: SCR PM LName Address Line 2
City, State
ZipCode
Country
37
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
Name Code Default Date and Time format Number Name Address
currency time format format format format
English (Sierra en_SL Sierra Leone 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
Leone) Leone: SLL PM LName Address Line 2
City, State
ZipCode
Country
English en_SG Singapore 28/02/2008 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Singapore) Dollar: SGD 16:30 LName Address Line 2
City, State
ZipCode
Country
English (Sint en_SX Neth Antilles 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
Maarten Guilder: ANG PM LName Address Line 2
(Dutch part))
City, State
ZipCode
Country
English en_SB Solomon 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Solomon Islands Dollar: PM LName Address Line 2
Islands) SBD
City, State
ZipCode
Country
English (South en_ZA South African 2008/02/28 6:00 AM 1,234.56 Ms. FName Address Line 1,
Africa) Rand: ZAR 4:30 PM LName Address Line 2
City, State
ZipCode
Country
English en_SZ Swaziland 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Swaziland) Lilageni: SZL PM LName Address Line 2
City, State
ZipCode
Country
English en_TZ Tanzanian 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Tanzania) Shilling: TZS PM LName Address Line 2
City, State
ZipCode
38
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
Name Code Default Date and Time format Number Name Address
currency time format format format format
Country
English en_TO Tonga Pa'anga: 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Tonga) TOP PM LName Address Line 2
City, State
ZipCode
Country
English en_TT Trinidad&Tobago 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Trinidad and Dollar: TTD PM LName Address Line 2
Tobago)
City, State
ZipCode
Country
English en_UG Ugandan 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Uganda) Shilling: UGX PM LName Address Line 2
City, State
ZipCode
Country
English (United en_GB British Pound: 28/02/2008 06:00 1,234.56 Ms. FName Address Line 1,
Kingdom) GBP 16:30 LName Address Line 2
City, State
ZipCode
Country
English (United en_US U.S. Dollar: 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
States) USD PM LName Address Line 2
City, State
ZipCode
Country
English en_VU Vanuatu Vatu: 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Vanuatu) VUV PM LName Address Line 2
City, State
ZipCode
Country
Estonian et_EE Euro: EUR 28.02.2008 6:00 1 234,56 Ms. FName Address Line 1,
(Estonia) 16:30 LName Address Line 2
39
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
Name Code Default Date and Time format Number Name Address
currency time format format format format
City, State
ZipCode
Country
Finnish fi_FI_EURO Euro: EUR 28.2.2008 6:00 1 234,56 Ms. FName Address Line 1,
(Finland, Euro) 16:30 LName Address Line 2
City, State
ZipCode
Country
Finnish fi_FI Euro: EUR 28.2.2008 6:00 1 234,56 Ms. FName Address Line 1,
(Finland) 16:30 LName Address Line 2
City, State
ZipCode
Country
French fr_BE Euro: EUR 28/02/2008 6:00 1.234,56 Ms. FName Address Line 1,
(Belgium) 16:30 LName Address Line 2
City, State
ZipCode
Country
French fr_CA Canadian 2008-02-28 06:00 1 234,56 Ms. FName Address Line 1,
(Canada) Dollar: CAD 16:30 LName Address Line 2
City, State
ZipCode
Country
French fr_KM Comoros 28/02/2008 06:00 1 234,56 Ms. FName Address Line 1,
(Comoros) Franc: KMF 16:30 LName Address Line 2
City, State
ZipCode
Country
French (France, fr_FR_EURO Euro: EUR 28/02/2008 06:00 1 234,56 Ms. FName Address Line 1,
Euro) 16:30 LName Address Line 2
City, State
ZipCode
Country
40
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
Name Code Default Date and Time format Number Name Address
currency time format format format format
French fr_FR Euro: EUR 28/02/2008 06:00 1 234,56 Ms. FName Address Line 1,
(France) 16:30 LName Address Line 2
City, State
ZipCode
Country
French fr_GN Guinea Franc: 28/02/2008 06:00 1 234,56 Ms. FName Address Line 1,
(Guinea) GNF 16:30 LName Address Line 2
City, State
ZipCode
Country
French (Haiti) fr_HT Haiti Gourde: 28/02/2008 06:00 1 234,56 Ms. FName Address Line 1,
HTG 16:30 LName Address Line 2
City, State
ZipCode
Country
French fr_LU Euro: EUR 28/02/2008 06:00 1 234,56 Ms. FName Address Line 1,
(Luxembourg) 16:30 LName Address Line 2
City, State
ZipCode
Country
French fr_MR Mauritania 28/02/2008 06:00 1 234,56 Ms. FName Address Line 1,
(Mauritania) Ougulya: MRO 16:30 LName Address Line 2
City, State
ZipCode
Country
French fr_MC Euro: EUR 28/02/2008 06:00 1 234,56 Ms. FName Address Line 1,
(Monaco) 16:30 LName Address Line 2
City, State
ZipCode
Country
French fr_CH Swiss Franc: 28.02.2008 06:00 1'234.56 Ms. FName Address Line 1,
(Switzerland) CHF 16:30 LName Address Line 2
City
41
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
Name Code Default Date and Time format Number Name Address
currency time format format format format
Country - State
ZipCode
French (Wallis fr_WF Pacific Franc: 28/02/2008 06:00 1 234,56 Ms. FName Address Line 1,
and Futuna) XPF 16:30 LName Address Line 2
City, State
ZipCode
Country
Georgian ka_GE Georgia Lari: 2008-02-28 06:00 1.234,56 Ms. FName Address Line 1,
(Georgia) GEL 16:30 LName Address Line 2
City, State
ZipCode
Country
German de_AT_EURO Euro: EUR 28.02.2008 06:00 1.234,56 Ms. FName Address Line 1,
(Austria, Euro) 16:30 LName Address Line 2
ZipCode City
State Country
German de_AT Euro: EUR 28.02.2008 06:00 1.234,56 Ms. FName Address Line 1,
(Austria) 16:30 LName Address Line 2
ZipCode City
State Country
German de_DE_EURO Euro: EUR 28.02.2008 06:00 1.234,56 Ms. FName Address Line 1,
(Germany, 16:30 LName Address Line 2
Euro)
ZipCode City
State Country
German de_DE Euro: EUR 28.02.2008 06:00 1.234,56 Ms. FName Address Line 1,
(Germany) 16:30 LName Address Line 2
ZipCode City
State Country
German de_LU_EURO Euro: EUR 28.02.2008 06:00 1.234,56 Ms. FName Address Line 1,
(Luxembourg, 16:30 LName Address Line 2
Euro)
ZipCode City
State Country
42
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
Name Code Default Date and Time format Number Name Address
currency time format format format format
German de_LU Euro: EUR 28.02.2008 06:00 1.234,56 Ms. FName Address Line 1,
(Luxembourg) 16:30 LName Address Line 2
ZipCode City
State Country
German de_CH Swiss Franc: 28.02.2008 06:00 1'234.56 Ms. FName Address Line 1,
(Switzerland) CHF 16:30 LName Address Line 2
ZipCode City
State Country
Greek (Greece) el_GR Euro: EUR 28/2/2008 4:30 6:00 πμ 1.234,56 Ms. FName Address Line 1,
PM LName Address Line 2
City, State
ZipCode
Country
Hebrew (Israel) iw_IL Israeli Shekel: 16:30 06:00 1,234.56 Ms. FName Address Line 1,
ILS 28/02/2008 LName Address Line 2
City, State
ZipCode
Country
Hungarian hu_HU Hungarian 2008.02.28. 6:00 1 234,56 LName FName Address Line 1,
(Hungary) Forint: HUF 16:30 Address Line 2
City, State
ZipCode
Country
Icelandic is_IS Iceland Krona: 28.2.2008 06:00 1.234,56 Ms. FName Address Line 1,
(Iceland) ISK 16:30 LName Address Line 2
City, State
ZipCode
Country
43
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
Name Code Default Date and Time format Number Name Address
currency time format format format format
Indonesian in_ID Indonesian 28/02/2008 6:00 1.234,56 Ms. FName Address Line 1,
(Indonesia) Rupiah: IDR 16:30 LName Address Line 2
City, State
ZipCode
Country
Irish (Ireland) ga_IE Euro: EUR 28/02/2008 06:00 1,234.56 Ms. FName Address Line 1,
16:30 LName Address Line 2
City, State
ZipCode
Country
Italian (Italy) it_IT Euro: EUR 28/02/2008 6.00 1.234,56 Ms. FName Address Line 1,
16.30 LName Address Line 2
City, State
ZipCode
Country
Italian it_CH Swiss Franc: 28.02.2008 06:00 1'234.56 Ms. FName Address Line 1,
(Switzerland) CHF 16:30 LName Address Line 2
City
Country - State
ZipCode
Japanese ja_JP Japanese Yen: 2008/02/28 6:00 1,234.56 LName FName Country
(Japan) JPY 16:30 ZipCode State
City
Address Line 1,
Address Line 2
Kazakh kk_KZ Kazakhstan 28.02.2008 06:00 1 234,56 Ms. FName Address Line 1,
(Kazakhstan) Tenge: KZT 16:30 LName Address Line 2
City, State
ZipCode
Country
Khmer km_KH Cambodia Riel: 28/2/2008, 6:00 1.234,56 Ms. FName Address Line 1,
(Cambodia) KHR 16:30 LName Address Line 2
City, State
ZipCode
44
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
Name Code Default Date and Time format Number Name Address
currency time format format format format
Country
Kyrgyz ky_KG Kyrgyzstan 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Kyrgyzstan) Som: KGS PM LName Address Line 2
City, State
ZipCode
Country
Korean (North ko_KP North Korean 2008. 2. 28 PM 오전 6:00 1,234.56 LName FName Country
Korea) Won: KPW 4:30 ZipCode State
City
Address Line 1,
Address Line 2
Korean (South ko_KR Korean Won: 2008. 2. 28 PM 오전 6:00 1,234.56 LName FName Country
Korea) KRW 4:30 ZipCode State
City
Address Line 1,
Address Line 2
Lao (Laos) lo_LA Lao Kip: LAK 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
PM LName Address Line 2
City, State
ZipCode
Country
Latvian (Latvia) lv_LV Euro: EUR 28.02.2008 06:00 1 234,56 Ms. FName Address Line 1,
16:30 LName Address Line 2
City, State
ZipCode
Country
Lithuanian lt_LT Euro: EUR 2008.2.28 06.00 1 234,56 Ms. FName Address Line 1,
(Lithuania) 16.30 LName Address Line 2
City, State
ZipCode
Country
Luba-Katanga lu_CD Franc 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Congo - Congolais: CDF PM LName Address Line 2
Kinshasa)
45
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
Name Code Default Date and Time format Number Name Address
currency time format format format format
City, State
ZipCode
Country
Luxembourgish lb_LU Euro: EUR 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Luxembourg) PM LName Address Line 2
City, State
ZipCode
Country
Macedonian mk_MK Macedonian 28.2.2008 06:00 1.234,56 Ms. FName Address Line 1,
(Macedonia) Denar: MKD 16:30 LName Address Line 2
City, State
ZipCode
Country
Malay (Brunei) ms_BN Brunei Dollar: 28/02/2008 6:00 AM 1.234,56 Ms. FName Address Line 1,
BND 4:30 PM LName Address Line 2
City, State
ZipCode
Country
Malay ms_MY Malaysian 28/02/2008 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Malaysia) Ringgit: MYR 4:30 PM LName Address Line 2
City, State
ZipCode
Country
Maltese (Malta) mt_MT Euro: EUR 28/02/2008 06:00 1,234.56 Ms. FName Address Line 1,
16:30 LName Address Line 2
City, State
ZipCode
Country
46
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
Name Code Default Date and Time format Number Name Address
currency time format format format format
Norwegian no_NO Norwegian 28.02.2008 06:00 1 234,56 Ms. FName Address Line 1,
(Norway) Krone: NOK 16:30 LName Address Line 2
City, State
ZipCode
Country
Persian (Iran) fa_IR Iranian Rial: IRR : / / : Ms. FName Address Line 1,
LName Address Line 2
City, State
ZipCode
Country
Polish (Poland) pl_PL Polish Zloty: 28.02.2008 06:00 1 234,56 Ms. FName Address Line 1,
PLN 16:30 LName Address Line 2
City, State
ZipCode
Country
Portuguese pt_AO Angola 28-02-2008 6:00 1.234,56 Ms. FName Address Line 1,
(Angola) Kwanza: AOA 16:30 LName Address Line 2
City, State
ZipCode
Country
Portuguese pt_BR Brazilian Real: 28/02/2008 06:00 1.234,56 Ms. FName Address Line 1,
(Brazil) BRL 16:30 LName Address Line 2
City, State
ZipCode
Country
Portuguese pt_CV Cape Verde 28-02-2008 6:00 1.234,56 Ms. FName Address Line 1,
(Cape Verde) Escudo: CVE 16:30 LName Address Line 2
City, State
ZipCode
47
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
Name Code Default Date and Time format Number Name Address
currency time format format format format
Country
Portuguese pt_MZ Mozambique 28/02/2008 06:00 1.234,56 Ms. FName Address Line 1,
(Mozambique) New Metical: 16:30 LName Address Line 2
MZN
City, State
ZipCode
Country
Portuguese pt_PT Euro: EUR 28-02-2008 6:00 1.234,56 Ms. FName Address Line 1,
(Portugal) 16:30 LName Address Line 2
City, State
ZipCode
Country
Portuguese pt_ST Sao Tome 28-02-2008 6:00 1.234,56 Ms. FName Address Line 1,
(São Tomé and Dobra: STD 16:30 LName Address Line 2
Príncipe)
City, State
ZipCode
Country
Romanian ro_MD Moldovan Leu: 28.02.2008, 06:00 1.234,56 Ms. FName Address Line 1,
(Moldova) MDL 16:30 LName Address Line 2
City, State
ZipCode
Country
Romanian ro_RO Romanian Leu 28.02.2008 06:00 1.234,56 Ms. FName Address Line 1,
(Romania) (New): RON 16:30 LName Address Line 2
City, State
ZipCode
Country
Romansh rm_CH Swiss Franc: 28.02.2008 06:00 1’234.56 Ms. FName Address Line 1,
(Switzerland) CHF 16:30 LName Address Line 2
City
Country - State
ZipCode
Rundi rn_BI Burundi Franc: 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Burundi) BIF PM LName Address Line 2
48
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
Name Code Default Date and Time format Number Name Address
currency time format format format format
City, State
ZipCode
Country
Russian ru_RU Russian 28.02.2008 6:00 1 234,56 Ms. FName Address Line 1,
(Russia) Rouble: RUB 16:30 LName Address Line 2
City, State
ZipCode
Country
Serbian (Bosnia sr_BA Convertible 2008-02-28 06:00 1.234,56 Ms. FName Address Line 1,
and Marks: BAM 16:30 LName Address Line 2
Herzegovina)
City, State
ZipCode
Country
Serbian sr_RS Serbian Dinar: 28.2.2008. 06.00 1.234,56 Ms. FName Address Line 1,
(Serbia) RSD 16.30 LName Address Line 2
City, State
ZipCode
Country
Serbian (Serbia sr_CS Serbian Dinar: 28.2.2008. 06.00 1.234,56 Ms. FName Address Line 1,
and CSD 16.30 LName Address Line 2
Montenegro)
City, State
ZipCode
Country
Serbo-Croatian sh_BA U.S. Dollar: 28.02.2008. 06:00 1.234,56 Ms. FName Address Line 1,
(Bosnia and USD 16:30 LName Address Line 2
Herzegovina)
City, State
ZipCode
Country
Serbo-Croatian sh_ME U.S. Dollar: 28.02.2008. 06:00 1.234,56 Ms. FName Address Line 1,
(Montenegro) USD 16:30 LName Address Line 2
City, State
ZipCode
Country
49
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
Name Code Default Date and Time format Number Name Address
currency time format format format format
Serbo-Croatian sh_CS U.S. Dollar: 28.02.2008. 06:00 1.234,56 Ms. FName Address Line 1,
(Serbia and USD 16:30 LName Address Line 2
Montenegro)
City, State
ZipCode
Country
Slovak sk_SK Euro: EUR 28.2.2008 6:00 1 234,56 Ms. FName Address Line 1,
(Slovakia) 16:30 LName Address Line 2
City, State
ZipCode
Country
Slovenian sl_SI Euro: EUR 28.2.2008 6:00 1.234,56 Ms. FName Address Line 1,
(Slovenia) 16:30 LName Address Line 2
City, State
ZipCode
Country
Somali so_DJ Dijibouti Franc: 28/02/2008 6:00 sn. 1,234.56 Ms. FName Address Line 1,
(Djibouti) DJF 4:30 PM LName Address Line 2
City, State
ZipCode
Country
Somali so_SO Somali Shilling: 28/02/2008 6:00 sn. 1,234.56 Ms. FName Address Line 1,
(Somalia) SOS 4:30 PM LName Address Line 2
City, State
ZipCode
Country
Spanish es_AR Argentine 28/02/2008 06:00 1.234,56 Ms. FName Address Line 1,
(Argentina) Peso: ARS 16:30 LName Address Line 2
City, State
ZipCode
Country
Spanish es_BO Bolivian 28-02-2008 06:00 AM 1.234,56 Ms. FName Address Line 1,
(Bolivia) Boliviano: BOB 04:30 PM LName Address Line 2
City, State
ZipCode
50
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
Name Code Default Date and Time format Number Name Address
currency time format format format format
Country
Spanish (Chile) es_CL Chilean Peso: 28-02-2008 06:00 AM 1.234,56 Ms. FName Address Line 1,
CLP 04:30 PM LName Address Line 2
City, State
ZipCode
Country
Spanish es_CO Colombian 28/02/2008 06:00 AM 1.234,56 Ms. FName Address Line 1,
(Colombia) Peso: COP 04:30 PM LName Address Line 2
City, State
ZipCode
Country
Spanish (Costa es_CR Costa Rica 28/02/2008 06:00 AM 1,234.56 Ms. FName Address Line 1,
Rica) Colon: CRC 04:30 PM LName Address Line 2
City, State
ZipCode
Country
Spanish (Cuba) es_CU Cuban Peso: 28/02/2008 6:00 1.234,56 Ms. FName Address Line 1,
CUP 16:30 LName Address Line 2
City, State
ZipCode
Country
Spanish es_DO Dominican 28/02/2008 06:00 AM 1,234.56 Ms. FName Address Line 1,
(Dominican Peso: DOP 04:30 PM LName Address Line 2
Republic)
City, State
ZipCode
Country
Spanish es_EC U.S. Dollar: 28/02/2008 06:00 AM 1.234,56 Ms. FName Address Line 1,
(Ecuador) USD 04:30 PM LName Address Line 2
City, State
ZipCode
Country
Spanish (El es_SV El Salvador 02-28-2008 06:00 AM 1,234.56 Ms. FName Address Line 1,
Salvador) Colon: SVC 04:30 PM LName Address Line 2
51
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
Name Code Default Date and Time format Number Name Address
currency time format format format format
City, State
ZipCode
Country
Spanish es_GT Guatemala 28/02/2008 06:00 AM 1,234.56 Ms. FName Address Line 1,
(Guatemala) Quetzal: GTQ 04:30 PM LName Address Line 2
City, State
ZipCode
Country
Spanish es_HN Honduras 02-28-2008 06:00 AM 1,234.56 Ms. FName Address Line 1,
(Honduras) Lempira: HNL 04:30 PM LName Address Line 2
City, State
ZipCode
Country
Spanish es_MX Mexican Peso: 28/02/2008 06:00 AM 1,234.56 Ms. FName Address Line 1,
(Mexico) MXN 04:30 PM LName Address Line 2
City, State
ZipCode
Country
Spanish es_NI Nicaragua 02-28-2008 06:00 AM 1,234.56 Ms. FName Address Line 1,
(Nicaragua) Cordoba: NIO 04:30 PM LName Address Line 2
City, State
ZipCode
Country
Spanish es_PA Panama 02/28/2008 06:00 AM 1,234.56 Ms. FName Address Line 1,
(Panama) Balboa: PAB 04:30 PM LName Address Line 2
City, State
ZipCode
Country
Spanish es_PY Paraguayan 28/02/2008 06:00 AM 1.234,56 Ms. FName Address Line 1,
(Paraguay) Guarani: PYG 04:30 PM LName Address Line 2
City, State
ZipCode
Country
52
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
Name Code Default Date and Time format Number Name Address
currency time format format format format
Spanish (Peru) es_PE Peruvian 28/02/2008 06:00 AM 1.234,56 Ms. FName Address Line 1,
Nuevo Sol: PEN 04:30 PM LName Address Line 2
City, State
ZipCode
Country
Spanish es_PR U.S. Dollar: 02-28-2008 06:00 AM 1,234.56 Ms. FName Address Line 1,
(Puerto Rico) USD 04:30 PM LName Address Line 2
City, State
ZipCode
Country
Spanish (Spain, es_ES_EURO Euro: EUR 28/02/2008 6:00 1.234,56 Ms. FName Address Line 1,
Euro) 16:30 LName Address Line 2
City, State
ZipCode
Country
Spanish (Spain) es_ES Euro: EUR 28/02/2008 6:00 1.234,56 Ms. FName Address Line 1,
16:30 LName Address Line 2
City, State
ZipCode
Country
Spanish es_US U.S. Dollar: 2/28/2008 4:30 6:00 a.m. 1,234.56 Ms. FName Address Line 1,
(United States) USD PM LName Address Line 2
City, State
ZipCode
Country
Spanish es_UY Uruguayan 28/02/2008 06:00 AM 1.234,56 Ms. FName Address Line 1,
(Uruguay) New Peso: UYU 04:30 PM LName Address Line 2
City, State
ZipCode
Country
Spanish es_VE Venezuelan 28/02/2008 06:00 AM 1.234,56 Ms. FName Address Line 1,
(Venezuela) Bolivar Fuerte: 04:30 PM LName Address Line 2
VEF
City, State
ZipCode
53
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
Name Code Default Date and Time format Number Name Address
currency time format format format format
Country
Swedish sv_SE Swedish Krona: 2008-02-28 06:00 1 234,56 Ms. FName Address Line 1,
(Sweden) SEK 16:30 LName Address Line 2
City, State
ZipCode
Country
Tagalog tl_PH Philippine 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Philippines) Peso: PHP PM LName Address Line 2
City, State
ZipCode
Country
Tajik tg_TJ Tajik Somoni: 2/28/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
(Tajikistan) TJS PM LName Address Line 2
City, State
ZipCode
Country
Tamil (India) ta_IN Indian Rupee: 2-28-2008 4:30 6:00 am 1,234.56 Ms. FName Address Line 1,
INR PM LName Address Line 2
City, State
ZipCode
Country
Tamil (Sri ta_LK Sri Lanka 2-28-2008 4:30 6:00 am 1,234.56 Ms. FName Address Line 1,
Lanka) Rupee: LKR PM LName Address Line 2
City, State
ZipCode
Country
Thai (Thailand) th_TH Thai Baht: THB 28/2/2551, 16:30 น. 6:00 น. 1,234.56 Ms. FName Address Line 1,
LName Address Line 2
City, State
ZipCode
Country
Tigrinya ti_ET Ethiopian Birr: 28/02/2008 6:00 1,234.56 Ms. FName Address Line 1,
(Ethiopia) ETB 4:30 PM LName Address Line 2
54
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
Name Code Default Date and Time format Number Name Address
currency time format format format format
City, State
ZipCode
Country
Turkish tr_TR Turkish Lira 28.02.2008 06:00 1.234,56 Ms. FName Address Line 1,
(Turkey) (New): TRY 16:30 LName Address Line 2
City, State
ZipCode
Country
Ukrainian uk_UA Ukraine 28.02.2008 6:00 1 234,56 Ms. FName Address Line 1,
(Ukraine) Hryvnia: UAH 16:30 LName Address Line 2
City, State
ZipCode
Country
Urdu (Pakistan) ur_PK Pakistani 28/2/2008 4:30 6:00 AM 1,234.56 Ms. FName Address Line 1,
Rupee: PKR PM LName Address Line 2
City, State
ZipCode
Country
Uzbek uz_LATN_UZ Uzbekistan 2008-02-28 06:00 1,234.56 Ms. FName Address Line 1,
(LATN,UZ) Sum: UZS 16:30 LName Address Line 2
City, State
ZipCode
Country
Vietnamese vi_VN Vietnam Dong: 16:30 06:00 1.234,56 LName FName Address Line 1,
(Vietnam) VND 28/02/2008 Address Line 2
City, State
ZipCode
Country
Welsh (United cy_GB British Pound: 28/02/2008 06:00 1,234.56 Ms. FName Address Line 1,
Kingdom) GBP 16:30 LName Address Line 2
City, State
ZipCode
Country
55
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
Name Code Default Date and Time format Number Name Address
currency time format format format format
Yoruba (Benin) yo_BJ CFA Franc 28/02/2008 6:00 Àár 1,234.56 Ms. FName Address Line 1,
(BCEAO): XOF 4:30 PM LName Address Line 2
City, State
ZipCode
Country
SEE ALSO:
Select Your Language, Locale, and Currency
56
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
57
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
58
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
SEE ALSO:
Select Your Language, Locale, and Currency
59
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
USER PERMISSIONS
To view currencies:
• “View Setup and
Configuration”
To change currencies:
• “Customize Application”
60
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
USER PERMISSIONS
To view currencies:
• “View Setup and
Configuration”
To change currencies:
• “Customize Application”
USER PERMISSIONS
To view company
information:
• “View Setup and
Configuration”
To change company
information:
• “Customize Application”
The available personal
setup options vary
according to which
Salesforce Edition you have.
61
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
To check the status of your recalculation job, see the Background Jobs page in Setup.
SEE ALSO:
Set Your Personal or Organization-Wide Currency
62
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
Supported Currencies
Salesforce supported currencies:
EDITIONS
Currency Name Currency Code Available in: Salesforce
UAE Dirham AED Classic
63
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
Euro EUR
64
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
65
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
66
Set Up and Maintain Your Salesforce Organization Select Your Language, Locale, and Currency
67
Set Up and Maintain Your Salesforce Organization Define Your Fiscal Year
SEE ALSO:
Set Your Personal or Organization-Wide Currency
Whether you use a standard fiscal year or a custom fiscal year, you define individual fiscal years one Available in: All Editions
time. These fiscal year definitions allow you to use these fiscal periods throughout Salesforce except for Database.com.
including in reporting, opportunities, and forecasting.
Tip: As a best practice, update product schedules whenever a custom fiscal year is created USER PERMISSIONS
or changed.
To define or edit fiscal years:
• “Customize Application”
Standard Fiscal Years To view fiscal years:
Standard fiscal years follow the Gregorian calendar, but can start on the first day of any month of • “View Setup and
Configuration”
the year.
68
Set Up and Maintain Your Salesforce Organization Define Your Fiscal Year
• You can’t use fiscal period columns in opportunity, opportunity with product, or opportunity with schedule reports.
• Opportunity list views will not include a fiscal period columns.
• When custom fiscal years are enabled, you can't use the FISCAL_MONTH(), FISCAL_QUARTER(), or FISCAL_YEAR()
date functions in SOQL.
IN THIS SECTION:
Set the Fiscal Year
If your company follows the Gregorian calendar year but you want to change the fiscal year start month, use standard fiscal years.
If your company does not observe a standard fiscal year, you can enable custom fiscal years, which define a more complex fiscal
year structure.
Customize the Fiscal Year Structure
If your custom fiscal year needs a different structure than one available from the templates, modify the details of your custom fiscal
year definition.
69
Set Up and Maintain Your Salesforce Organization Define Your Fiscal Year
2. From Setup, enter Fiscal Year in the Quick Find box, then select Fiscal Year.
3. Select Standard Fiscal Year or Custom Fiscal Year.
• To create a standard fiscal year, choose the start month and specify whether the fiscal year name is based on the year in which
it begins or ends.
If you want to apply the new fiscal year settings to your existing forecasts and quotas, select Apply to All Forecasts
and Quotas. This option might not be available depending on your forecast settings.
• To create a custom fiscal year, click Enable Custom Fiscal Years, click OK and define your fiscal year. See Define a Custom Fiscal
Year. on page 75
Warning: Custom fiscal years cannot be disabled once enabled. Enabling custom fiscal years has impacts on your reports,
forecasts, quotas, and other date-sensitive material. Do not enable custom fiscal years unless you understand and are
prepared for all the implications. For detailed information on the impact, see Define Your Fiscal Year.
4. Click Save.
For specific information on both types of fiscal years, see Define Your Fiscal Year on page 68.
70
Set Up and Maintain Your Salesforce Organization Define Your Fiscal Year
Warning: Changing the length of a fiscal year has an impact on forecasting and reporting. USER PERMISSIONS
For detailed information on the impact, see Define Your Fiscal Year.
To define or edit fiscal years:
• “Customize Application”
Customizing the Period Labels
To view fiscal years:
You can change labels, or names of your fiscal year periods. Forecasting and reporting also use • “View Setup and
these period labels. For information about changing them, see Customize the Fiscal Year Labels on Configuration”
page 72.
Note: Resetting the fiscal year structure to a template removes all the customizations you made to the fiscal year.
71
Set Up and Maintain Your Salesforce Organization Define Your Fiscal Year
Note: You must have at least one quarter, one period, and one week. If you delete a fiscal period or quarter, you delete forecast
adjustments and quotas for that period or quarter.
Note: To change the duration of a fiscal period or quarter, insert or delete weeks, or change the length of weeks that compose
the period or quarter.
After you have customized your fiscal year, preview the fiscal year definition. Then, save your work.
72
Set Up and Maintain Your Salesforce Organization Define Your Fiscal Year
Numbered By Quarter
This option allows you to set the period label based on its position in the quarter. The period label is a combination of the period
prefix and the period number. Period numbers reset in each quarter. For example, if the period prefix is “P,” and the sixth period
is the second period in the second quarter, its label is P2. To customize the period prefix, see Period Prefix on page 73.
By default the number for each period is set by their order within the quarter (the first period in a quarter is labeled “1”); customize
it by selecting a different value from the period detail drop-down list.
Standard Month Names
This option allows you to set the period label to the month name of the start of the period. For example, if a period started on
October 12 and ends on November 10, the period label would be October.
Custom Period Names
This option allows you to set the period label to any string. The period label is set to the string you select from Period Name.
By default the order of the period names is the same as the picklist order, which you can customize by selecting a different value
from the period detail drop-down list.
SEE ALSO:
Define Your Fiscal Year
73
Set Up and Maintain Your Salesforce Organization Define Your Fiscal Year
SEE ALSO:
Define Your Fiscal Year
74
Set Up and Maintain Your Salesforce Organization Define Your Fiscal Year
Note: If this is the first custom fiscal year you have defined, the Fiscal Year Start Date and the Week Start
Date are set to today's date and day of week. If you have already defined a custom fiscal year, they will be set to the day after
the last end date of your custom fiscal years.
To make changes other than the start date, year name, or week start day, see Customize the Fiscal Year Structure on page 71.
Warning: If your company uses forecasting, creating the first custom fiscal year deletes any quotas and adjustments in the
corresponding and subsequent standard fiscal years.
Note: You cannot change the start or end date of a fiscal year that causes it to overlap with a fiscal year that is defined using
a Gregorian year template.
75
Set Up and Maintain Your Salesforce Organization Set Up Search
Warning: If you change the start or end date of any quarter, period, or week, all forecast data (including quotas, forecast
history, and forecast adjustments) that are within that date range, and all forecasts for date ranges automatically adjusted as
a result of that change, will be lost. This includes end or start date changes resulting from inserting or deleting periods.
5. Click Preview.
6. Review the fiscal year definition. If it is correct, close the preview and click Save to save your fiscal year. To make more detailed edits,
see Customize the Fiscal Year Structure on page 71.
Note: Unless you specify them, the fiscal year period labels for forecasting and reporting are set by the default label values
for the fiscal year periods. To change them, see Customize the Fiscal Year Labels on page 72.
Set Up Search
Find out which objects and fields are searchable. Customize search settings, search result filters, and lookup search. Learn how to improve
the search experience for users.
IN THIS SECTION:
Searchable Objects and Fields
Salesforce searches a unique set of fields for each object.
Configure Lookup Search
Choose which columns appear to users in the lookup search results.
Configure Search Settings in Salesforce Classic
Enable document content search, CJKT search optimization, sidebar search auto-complete, and more. Configure the lookup settings
and the number of search results per object and lookup settings.
Configure Search Results Filters in Salesforce Classic
Admins choose the filters available to users for refining search results. Choosing the correct filters for each object is important so
that users can easily navigate through search results to find the right record.
Guidelines for Reducing Search Crowding
Are users reporting that records aren’t appearing in their search results? Encourage users to enter more specific search terms and
narrow the search scope for better results.
Guidelines for Making Search Faster
Disabling search for custom objects and external objects and scheduling bulk uploads during off-peak hours helps speed up search.
76
Set Up and Maintain Your Salesforce Organization Set Up Search
Not all object and fields are searchable, so see the table.
Object Fields
Account Account Name
Account Name (Local)
Account Number
Account Site
Billing Address
Description
Fax
Phone
Shipping Address
Ticker Symbol
Website
All custom fields
77
Set Up and Maintain Your Salesforce Organization Set Up Search
Object Fields
Article (Knowledge Article Number
Article)
Summary
Title
URL Name
Contact Assistant
Asst. Phone
Department
Description
Email
78
Set Up and Maintain Your Salesforce Organization Set Up Search
Object Fields
Fax
First Name (Local)
Home Phone
Last Name (Local)
Mailing Address
Mobile
Other Address
Other Phone
Phone
Title
All custom auto-number fields and custom fields that are set as an external ID (no need to enter leading
zeros)
All custom fields of type email and phone
All custom fields of type text, text area, long text area, and rich text area
Note: Custom object records are searchable in the Salesforce user interface only if the custom
object is associated with a custom tab. Users aren't required to add the tab for display.
Note: The same field types are also searchable for custom fields on standard objects.
Dashboard Title
External objects Global search only: Text, text area, and long text area fields
Note:
• Lookup search isn’t available for external lookup relationship fields. To edit an external lookup
relationship field, manually enter the value of the External ID standard field for the parent
record. This limitation doesn’t apply when the parent external object is associated with the
cross-org adapter for Salesforce Connect.
79
Set Up and Maintain Your Salesforce Organization Set Up Search
Object Fields
• Lookup search isn’t available for indirect lookup relationship fields. To edit an indirect lookup
relationship field, manually enter the value of the target field of the parent record. The target
field is the custom field with External ID and Unique attributes that was selected when
the indirect lookup relationship was created. To determine related records, Salesforce matches
target field values against the values of the indirect lookup relationship field on the child object.
An external object accesses data that’s stored outside your Salesforce org. Your Salesforce admin controls
which external objects are searchable. Which external object fields are searched depends on how the
external system handles searches. If the search results aren’t as you expected, use case-sensitive search
strings that contain only alphanumeric characters. If the results still aren’t as expected, contact your admin
for recommendations on searching your specific external system.
File Body
Description
Extension (such as ppt)
Name
Owner
Lead Address
Company
Company(Local)
Description
Email
Fax
First Name (Local)
Last Name (Local)
Mobile
Name
Phone
Title
Note: In Lightning Experience, both the converted lead record and the new record based on the
converted lead are searchable. However, you can’t view or edit the converted lead record from the
search results page.
Note Body
Title
80
Set Up and Maintain Your Salesforce Organization Set Up Search
Object Fields
Operating Hours Description
Name
Opportunity Description
Opportunity Name
People About Me
Address
Email
Name
Nickname
Phone
Title
Username
81
Set Up and Maintain Your Salesforce Organization Set Up Search
Object Fields
Other Address
Other Phone
Shipping Address
Ticker Symbol
Title
Website
Note: The Person Account object contains fields that originate from both the Business Account
and Contact objects. All search terms are compared to business account and contact fields at the
same time.
Report Description
Report Name
Task Comments
Subject
82
Set Up and Maintain Your Salesforce Organization Set Up Search
Object Fields
Work Order Number
IN THIS SECTION:
Searchable Setup Objects in Lightning Experience
Use global search while in Setup to find specific setup records, such as the Lead Source picklist or the Sales Rep profile. Global search
differs from Quick Find, which finds pages within the Setup menu, such as Account Settings or Profiles.
83
Set Up and Maintain Your Salesforce Organization Set Up Search
• Permission Sets
• Profiles
• Objects
• Roles
• Static Resources
• Users
• Workflow Outbound Messages
• Workflow Rules
• Workflow Tasks
Here are the columns shown in search results. You can’t customize the columns. The Type column lists the type of setup record, such
as Field. The Object field shows the Salesforce object, such as Contact.
• Name
• Type
• Object
• Last Modified Date
• Last Modified By
Setup search results have certain restrictions.
• You can’t sort or filter results.
• You can only search by the API name of the setup record.
Note: When you search for a value in a field that's hidden from you by field-level security, your results include the record that
contains the field. However, you can't see the field.
This table shows the types of search supported for each object. Not all objects and fields are searchable for every type, so follow the links
to see the list of searchable fields for each object.
84
Set Up and Maintain Your Salesforce Organization Set Up Search
Object Sidebar Search Advanced Search Standard Lookup Enhanced Lookup Global Search
Search Search
Activities (Events and
Tasks)
Asset
Attachment
Business Account
Campaign
Case
Chatter Feed
Chatter Group
Coaching
Community
Contact
Salesforce CRM
Content
Contract
Custom Object
D&B Company
Discussion
Document
Entitlement
External Object
File
Goal
Idea
Knowledge Article
Lead
Macro
Metric
85
Set Up and Maintain Your Salesforce Organization Set Up Search
Object Sidebar Search Advanced Search Standard Lookup Enhanced Lookup Global Search
Search Search
Note
Operating Hours
Opportunity
Order
People
Performance Cycle
Person Account
Price Book
Product
Question
Quick Text
Quote
Report
Resource Absence
Reward Fund
Self-Service User
Service Appointment
Service Contract
Service Resource
Service Territory
Service Territory
Member
Skill
Solution
Topic
User
Work Order
86
Set Up and Maintain Your Salesforce Organization Set Up Search
Object Sidebar Search Advanced Search Standard Lookup Enhanced Lookup Global Search
Search Search
Work Order Line
Item
Searchable Fields Sidebar Search Advanced Search Global Search Available in: Salesforce
Classic
Comments (tasks
Available in: All editions
only)
except Database.com
Description
(events only)
Subject
All custom
auto-number fields
and custom fields that
are set as an external
ID
(You don't need to
enter leading zeros.)
87
Set Up and Maintain Your Salesforce Organization Set Up Search
Searchable Fields Sidebar Search Advanced Search Standard Lookup Global Search
Search
(You don't need to enter
leading zeros.)
Account
Name
(Local)
Account
Number
Account
Site
Billing
Address
Description
88
Set Up and Maintain Your Salesforce Organization Set Up Search
Searchable Fields Sidebar Search Advanced Search Standard Lookup Enhanced Lookup Global Search
Search Search (Default)
D-U-N-S
Number (This field
is only available to
organizations that
use Data.com
Prospector)
Fax
Phone
Shipping
Address
Ticker Symbol
Website
All custom
auto-number fields
and custom fields
that are set as an
external ID
(You don't need to
enter leading zeros.)
89
Set Up and Maintain Your Salesforce Organization Set Up Search
Searchable Fields Sidebar Search Advanced Search Standard Lookup Global Search
Search
(You don't need to enter
leading zeros.)
Description
Subject
Web Company
(of person who
submitted the
case online)
All custom
auto-number
fields and custom
90
Set Up and Maintain Your Salesforce Organization Set Up Search
Searchable Fields Sidebar Search Advanced Search Standard Lookup Global Search
Search
fields that are set as an
external ID
(You don't need to enter
leading zeros.)
Note: Global search and feed search return matches for file or link names shared in posts, Available in: Salesforce
but not in comments. Classic
Comment
Body
Commenter
Name
File Name
Group Name
Links
Origin of
Post
(Group,
Person, or
Record Name
Post Body
91
Set Up and Maintain Your Salesforce Organization Set Up Search
92
Set Up and Maintain Your Salesforce Organization Set Up Search
Assistant
Asst.
Phone
Department
Description
Fax
First
Name
First
Name
(Local)
Home
Phone
Last Name
Last Name
(Local)
Mailing
Address
Middle
Name
Middle
Name
(Local)
Mobile
Other
Address
Other
Phone
93
Set Up and Maintain Your Salesforce Organization Set Up Search
Searchable Fields Sidebar Search Advanced Search Standard Lookup Enhanced Lookup Global Search
Search Search (Default)
Phone
Suffix
Title
All custom
auto-number fields
and custom fields
that are set as an
external ID
(You don't need to
enter leading zeros.)
Owner
Title
Version
All custom
auto-number
fields and custom
fields that are set
as an external ID
(You don't need
to enter leading
zeros.)
94
Set Up and Maintain Your Salesforce Organization Set Up Search
Searchable Fields Sidebar Search Advanced Search Global Search Content Tab
All custom fields of type
text, text area, long text
area, rich text area, email,
and phone
Contract
Number
Description
Shipping
Address
Special
Terms
All custom
auto-number
fields and custom
fields that are set
as an external ID
(You don't need
to enter leading
zeros.)
95
Set Up and Maintain Your Salesforce Organization Set Up Search
Note: If available, there is an option when using enhanced lookup search to query all Available in: Salesforce
searchable fields, not just the fields checked in the Enhanced Lookup Search (Default) column Classic
in the table. Available in: Contact
Manager, Group,
Searchable Sidebar Advanced Standard Enhanced Global Professional, Enterprise,
Fields Search Search Lookup Lookup Search Performance, Unlimited,
Search Search and Developer editions
(Default)
Name
All custom
auto-number
fields and
custom fields
that are set as
an external ID
(You don't
need to enter
leading zeros.)
All custom
fields of type
email and
phone
All custom
fields of type
text, text area,
long text area,
and rich text
area
96
Set Up and Maintain Your Salesforce Organization Set Up Search
D-U-N-S Number
Facsimile
Number
Mailing
Address
Primary
Address
Primary
Business Name
Telephone
Number
Ticker Symbol
URL
97
Set Up and Maintain Your Salesforce Organization Set Up Search
Searchable Fields Sidebar Search Advanced Search Standard Lookup Global Search Documents Tab
Search
Document Name
Body
Keywords
All custom
auto-number fields
and custom fields
that are set as an
external ID
(You don't need to
enter leading zeros.)
All custom
fields of type
text, text area,
long text area,
rich text area,
98
Set Up and Maintain Your Salesforce Organization Set Up Search
Searchable Fields Sidebar Search Standard Lookup Exhanced Lookup Advanced Search Global Search
email, and phone
Name
Owner
All custom
auto-number
99
Set Up and Maintain Your Salesforce Organization Set Up Search
Searchable Fields Sidebar Search Advanced Search Global Search Files Tab
fields and custom fields
that are set as an external
ID
(You don't need to enter
leading zeros.)
100
Set Up and Maintain Your Salesforce Organization Set Up Search
All custom
auto-number
fields and custom
fields that are set
as an external ID
(You don't need
to enter leading
zeros.)
Company
D-U-N-S
Number
101
Set Up and Maintain Your Salesforce Organization Set Up Search
Searchable Fields Sidebar Search Advanced Search Standard Lookup Global Search
Search
Company
Name(Local)
Description
Fax
First Name
First Name
(Local)
Last Name
Last Name
(Local)
Middle Name
Mobile
Phone
Suffix
Title
102
Set Up and Maintain Your Salesforce Organization Set Up Search
103
Set Up and Maintain Your Salesforce Organization Set Up Search
Description
Name
All custom
auto-number
fields and
custom fields
that are set as
an external ID
(You don't
need to enter
leading zeros.)
All custom
fields of type
text, text area,
long text area,
rich text area,
email, and
phone
Description
Opportunity
Name
Account
Name
104
Set Up and Maintain Your Salesforce Organization Set Up Search
Searchable Fields Sidebar Search Advanced Search Standard Lookup Enhanced Lookup Global Search
Search Search (Default)
All custom
auto-number fields
and custom fields
that are set as an
external ID
(You don't need to
enter leading zeros.)
Order
Reference
Number
PO Number
Shipping
Address
All custom
auto-number fields
and custom fields that
are set as an external
ID
(You don't need to
enter leading zeros.)
105
Set Up and Maintain Your Salesforce Organization Set Up Search
First Name
Last Name
Name
Nickname
Phone
Record ID (15
character Record
ID only)
Title
Username
All custom
auto-number
fields and custom
fields that are set
as an external ID
(You don't need
to enter leading
zeros.)
Note: Information in hidden fields on a profile is not searchable by other partners and customers in the community, but is
searchable by users in the company’s internal organization.
106
Set Up and Maintain Your Salesforce Organization Set Up Search
Account
Name
(Local)
Account
Number
Account
Site
Assistant
Assistant
Phone
107
Set Up and Maintain Your Salesforce Organization Set Up Search
Searchable Fields Sidebar Search Advanced Search Standard Lookup Enhanced Lookup Global Search
Search Search (Default)
Billing
Address
Description
Fax
Home Phone
Mailing
Address
Mobile
Other Address
Other Phone
Shipping
Address
Ticker Symbol
Title
Website
All custom
auto-number fields
and custom fields
that are set as an
external ID
(You don't need to
enter leading zeros.)
108
Set Up and Maintain Your Salesforce Organization Set Up Search
Price
Book Name
Product
Name
All custom
auto-number
fields and
custom fields
that are set as
an external ID
(You don't
need to enter
leading zeros.)
All custom
fields of type
text, text area,
long text area,
rich text area,
email, and
phone
109
Set Up and Maintain Your Salesforce Organization Set Up Search
110
Set Up and Maintain Your Salesforce Organization Set Up Search
Absence
Number
Description
All custom
auto-number
fields and
custom fields
that are set as
an external ID
(You don't
need to enter
leading zeros.)
All custom
fields of type
text, text area,
long text area,
rich text area,
email, and
phone
111
Set Up and Maintain Your Salesforce Organization Set Up Search
Last Name
Appointment
Number
112
Set Up and Maintain Your Salesforce Organization Set Up Search
Searchable Fields Sidebar Search Advanced Search Standard Lookup Enhanced Lookup Global Search
Search Search (Default)
Description
Subject
All custom
auto-number fields
and custom fields
that are set as an
external ID
(You don't need to
enter leading zeros.)
Description
Name
All custom
auto-number
113
Set Up and Maintain Your Salesforce Organization Set Up Search
Searchable Fields Sidebar Search Advanced Search Standard Lookup Enhanced Lookup Global Search
Search Search (Default)
fields and custom
fields that are set as
an external ID
(You don't need to
enter leading zeros.)
Resource
Skill
Number
All custom
auto-number
fields and
custom fields
that are set as
an external ID
(You don't
need to enter
leading zeros.)
All custom
fields of type
text, text area,
long text area,
rich text area,
email, and
phone
114
Set Up and Maintain Your Salesforce Organization Set Up Search
Description
Name
All custom
auto-number
fields and
custom fields
that are set as
an external ID
(You don't
need to enter
leading zeros.)
All custom
fields of type
text, text area,
long text area,
rich text area,
email, and
phone
Member
Number
All custom
auto-number
fields and
custom fields
115
Set Up and Maintain Your Salesforce Organization Set Up Search
Searchable Fields Sidebar Search Advanced Search Standard Lookup Enhanced Lookup Global Search
Search Search (Default)
that are set as an
external ID
(You don't need to
enter leading zeros.)
116
Set Up and Maintain Your Salesforce Organization Set Up Search
Topic Name
Note: If available, there is an option when using enhanced lookup search to query all Available in: Salesforce
searchable fields, not just the fields checked in the Enhanced Lookup Search (Default) column Classic
in the table.
The available fields vary
according to which
Searchable Sidebar Advanced Standard Enhanced Global
Salesforce edition you have.
Fields Search Search Lookup Lookup Search
Search Search
(Default)
About Me
Address
First
Name
Last Name
Middle
Name
Name
Nickname
Phone
Record ID
(15 character
Record ID
only)
Suffix
Title
Username
117
Set Up and Maintain Your Salesforce Organization Set Up Search
Searchable Fields Sidebar Search Advanced Search Standard Lookup Enhanced Lookup Global Search
Search Search (Default)
All custom
auto-number fields
and custom fields
that are set as an
external ID
(You don't need to
enter leading zeros.)
Description
Subject
Work
Order
Number
All custom
auto-number
fields and
custom fields
that are set as
an external ID
(You don't
need to enter
leading zeros.)
All custom
fields of type
text, text area,
long text area,
118
Set Up and Maintain Your Salesforce Organization Set Up Search
Searchable Fields Sidebar Search Advanced Search Standard Lookup Enhanced Lookup Global Search
Search Search (Default)
rich text area, email,
and phone
Description
Work
Order
Line Item
Number
All custom
auto-number
fields and
custom fields
that are set as
an external ID
(You don't
need to enter
leading zeros.)
All custom
fields of type
text, text area,
long text area,
rich text area,
email, and
phone
119
Set Up and Maintain Your Salesforce Organization Set Up Search
Note: Custom object records are searchable in the Salesforce user interface only if the custom Available in: Salesforce
object is associated with a custom tab. Users aren't required to add the tab for display. Classic
1. From Setup, enter Search Settings in the Quick Find box, then select Search Available in: All Editions
Settings. except Database.com
2. In the Lookup Settings area, select the objects for which you want to enable enhanced lookup
functionality. USER PERMISSIONS
3. Click Save. To enable enhanced
After enabling enhanced lookups, specify which fields users can use to filter lookup search results. lookups:
If you don't specify any fields, your users can't use filters in enhanced lookup dialogs. Fields configured • “Customize Application”
to use enhanced lookups don’t support single character searches (except for searches in Chinese,
Japanese, Korean, and Thai) or wildcards at the beginning of search terms.
120
Set Up and Maintain Your Salesforce Organization Set Up Search
Note: If you enable enhanced lookups in your org, it is also enabled for any Visualforce pages you create.
SEE ALSO:
Configure Lookup Search in Salesforce Classic
121
Set Up and Maintain Your Salesforce Organization Set Up Search
Enable Document Content Search If this setting is enabled, users can perform a
full-text document search. When a new
document is uploaded or an old one is replaced,
its contents are available as search terms to
retrieve the document. This setting applies only
to searches for the document object.
122
Set Up and Maintain Your Salesforce Organization Set Up Search
Field Description
Use Recently Viewed User Records for Blank If this setting is enabled, the list of records that are returned from
and Auto-Complete Lookups a user auto-complete lookup and from a blank user lookup is taken
from the user’s recently viewed user records. This setting applies
only to lookups in the user object.
If this setting isn’t enabled, the dialog box shows a list of recently
accessed user records from across the org.
Enable Drop-Down List for Sidebar Search If this setting is enabled, a drop-down appears for users to choose
whether to search within tags, within a specific object, or across
all objects.
Enable Sidebar Search Auto-Complete If this setting is enabled, when users start typing search terms,
sidebar search displays a matching list of recently viewed records.
Enable Single-Search-Result Shortcut for If this setting is enabled, users skip the search results page and go
Sidebar and Advanced Search directly to the record’s detail page when their search returns only
a single item.
Number of Search Results Displayed Per The Number of Search Results Displayed Per Object area allows
Object you to configure the number of items that are returned for each
object in the Search Results page.
Lookup Settings The Lookup Settings area allows you to enable enhanced lookups
and lookup auto-completion for enhanced lookup-enabled objects
and any custom object lookups.
SEE ALSO:
Guidelines for Making Search Faster
123
Set Up and Maintain Your Salesforce Organization Set Up Search
124
Set Up and Maintain Your Salesforce Organization Provide Maps and Location Services
Disable search for custom objects that your users aren’t actively searching
Choose which custom objects your users can search by enabling the Allow Search setting on the custom object setup page. If you
don’t need a custom object’s records to be searchable, disable search for that custom object. Making a custom object searchable
when you don’t need your users to find its records slows down searches across your org.
By default, search is disabled for new custom objects. Disabling search doesn’t affect reports and list views.
Note: Custom object records are searchable in the Salesforce user interface only if the custom object is associated with a
custom tab. Users aren't required to add the tab for display.
Disable search for external objects that your users aren’t actively searching
To disable search for an external object, deselect Allow Search on its setup page. To include an external object in SOSL and
Salesforce searches, enable search on both the external object and the external data source.
By default, search is disabled for new external objects. However, you can validate and sync an external data source to automatically
create external objects. Syncing always enables search on the external object when search is enabled on the external data source,
and vice versa.
As with custom objects, unnecessarily making an external object searchable can slow down searches across your org.
Avoid making significant changes to your org at once
Creating or updating many records at the same time, such as via data imports, increases the time it takes for each record to become
searchable. If you have a large org with many users who frequently make simultaneous updates, schedule bulk uploads and
background processes to run during non-peak hours.
The map image on the address is static, but clicking the map image opens Google Maps in a new Available in: Professional,
browser tab on the desktop, and opens a map app on a mobile device. Enterprise, Performance,
and Unlimited editions.
If your organization has Salesforce1 offline access enabled, a map doesn’t display when a user’s
device is offline.
To enable your organization’s map and location services: USER PERMISSIONS
1. From Setup, enter Maps in the Quick Find box, select Maps and Location Settings, To modify maps and
then click Edit. location settings:
• “Customize Application”
2. Check Enable Maps and Location Services.
125
Set Up and Maintain Your Salesforce Organization Provide Maps and Location Services
3. Click Save.
IN THIS SECTION:
Autocomplete on Standard Addresses
When you enable autocomplete on standard addresses, Salesforce1, users can enter text on standard address fields and see possible
matching addresses in a picklist.
Let Users Select State and Country from Picklists
State and country picklists let users select states and countries from predefined, standardized lists, instead of entering state and
country data into text fields. State and country picklists offer faster and easier data entry. They help to ensure cleaner data that can
be leveraged for other uses—in reports and dashboards, for example. They protect data integrity by preventing typos, alternate
spellings, and junk data—even in records updated through the API.
Note:
• Autocomplete on standard address fields is available for all versions of Salesforce1 and the Lightning Experience.
126
Set Up and Maintain Your Salesforce Organization Provide Maps and Location Services
127
Set Up and Maintain Your Salesforce Organization Provide Maps and Location Services
2. Scan your org’s data and customizations to see how they’ll be affected by the switch.
Convert data and update customizations, such as list views, reports, and workflow rules, so that they continue to work with the new
field type.
5. Optionally, rescan and fix customizations or records that have been created or edited since your first scan.
For a step-by-step guide to implementing state and country picklists, see Implementing State and Country Picklists.
IN THIS SECTION:
Integration Values for State and Country Picklists
An integration value is a customizable text value that is linked to a state or country code. Integration values for standard states and
countries default to the full ISO-standard state and country names. Integration values function similarly to the API names of custom
fields and objects. Configuring integration values allows integrations that you set up before enabling state and country picklists to
continue to work.
Configure State and Country Picklists
Configuring state and country picklists means choosing which states and countries you want to be available in your Salesforce org.
It lets you make state and country picklists available for purposes like importing data, working with external systems, and accessing
picklist data from the Metadata API.
Standard Countries for Address Picklists
Edit State and Country Details
State and Country Picklists and the Metadata API
If you’re editing many state and country picklist integration values, using the Metadata API is more efficient than editing values in
Setup.
Prepare to Scan State and Country Data and Customizations
Before switching from text-based state and country fields to standardized state and country picklists, scan your org to see how the
change will affect it. This discovery process shows you where and how state and country data appears in your org. The process also
shows where this data is used in customizations, such as list views and reports. After you’ve analyzed the scan results, you can plan
to convert your data, update your customizations, and turn on state and country picklists.
Scan State and Country Data and Customizations
Prepare to Convert State and Country Data
128
Set Up and Maintain Your Salesforce Organization Provide Maps and Location Services
129
Set Up and Maintain Your Salesforce Organization Provide Maps and Location Services
When you update a code value on a record, that record’s State/Province (text only) or Country (text only)
column is populated with the corresponding integration value. Likewise, when you update a state or country (text only) column
with a valid integration value, we keep the corresponding state or country code column in sync. You can change your organization’s
integration values after you enable state and country picklists. However, when you update your picklists’ state and country integration
values, the integration values on your records aren’t updated. Name values aren’t stored on records. Instead, they’re retrieved from
Salesforce based on a record’s State Code or Country Code value. If the states or countries in your picklists have different field
values for Name and Integration Value, make sure your report or list view filters use the correct values. Use names in State
and Country filters, and use integration values in State (text only) and Country (text only) filters. Otherwise,
your reports can fail to capture all relevant records.
Edit your integration values in Setup or using the Metadata API. States’ and countries’ Name fields are editable only in Setup. In the
Metadata API, Name and Integration Value fields are called label and integrationValue, respectively.
SEE ALSO:
Let Users Select State and Country from Picklists
Edit State and Country Details
State and Country Picklist Field-Syncing Logic
State and Country Picklist Error Messages
1. From Setup, enter State and Country Picklists in the Quick Find box, then select State and Country Picklists.
2. On the State and Country Picklists setup page, click Configure states and countries.
130
Set Up and Maintain Your Salesforce Organization Provide Maps and Location Services
4. Click Edit to view and edit details for the country, including to configure its states or provinces.
5. (Optional) Under Picklist Settings, select a Default Country. The Default Country automatically populates country picklists
for new records in your org, but users can select a different country. Default countries must be both active and visible.
6. Click Save to save your configuration.
Note: Active states and countries not marked Visible are still valid filter lookup values. You can use invisible states and
countries when creating filters in reports, list views, workflows, and so on.
SEE ALSO:
Edit State and Country Details
Let Users Select State and Country from Picklists
Integration Values for State and Country Picklists
AF Afghanistan
AI Anguilla
AL Albania
AM Armenia
AO Angola
AQ Antarctica
AR Argentina
AT Austria
AU Australia*
131
Set Up and Maintain Your Salesforce Organization Provide Maps and Location Services
AX Aland Islands
AZ Azerbaijan
BB Barbados
BD Bangladesh
BE Belgium
BF Burkina Faso
BG Bulgaria
BH Bahrain
BI Burundi
BJ Benin
BL Saint Barthélemy
BM Bermuda
BN Brunei Darussalam
BR Brazil*
BS Bahamas
BT Bhutan
BV Bouvet Island
BW Botswana
BY Belarus
BZ Belize
CA Canada*
CG Congo
CH Switzerland
132
Set Up and Maintain Your Salesforce Organization Provide Maps and Location Services
CK Cook Islands
CL Chile
CM Cameroon
CN China*
CO Colombia
CR Costa Rica
CU Cuba
CV Cape Verde
CW Curaçao
CX Christmas Island
CY Cyprus
CZ Czech Republic
DE Germany
DJ Djibouti
DK Denmark
DM Dominica
DO Dominican Republic
DZ Algeria
EC Ecuador
EE Estonia
EG Egypt
EH Western Sahara
ER Eritrea
ES Spain
ET Ethiopia
FI Finland
FJ Fiji
FO Faroe Islands
133
Set Up and Maintain Your Salesforce Organization Provide Maps and Location Services
GA Gabon
GB United Kingdom
GD Grenada
GE Georgia
GF French Guiana
GG Guernsey
GH Ghana
GI Gibraltar
GL Greenland
GM Gambia
GN Guinea
GP Guadeloupe
GQ Equatorial Guinea
GR Greece
GT Guatemala
GW Guinea-Bissau
GY Guyana
HN Honduras
HR Croatia
HT Haiti
HU Hungary
ID Indonesia
IE Ireland*
IL Israel
IM Isle of Man
IN India*
134
Set Up and Maintain Your Salesforce Organization Provide Maps and Location Services
IS Iceland
IT Italy*
JE Jersey
JM Jamaica
JO Jordan
JP Japan
KE Kenya
KG Kyrgyzstan
KH Cambodia
KI Kiribati
KM Comoros
KR Korea, Republic of
KW Kuwait
KY Cayman Islands
KZ Kazakhstan
LB Lebanon
LC Saint Lucia
LI Liechtenstein
LK Sri Lanka
LR Liberia
LS Lesotho
LT Lithuania
LU Luxembourg
LV Latvia
135
Set Up and Maintain Your Salesforce Organization Provide Maps and Location Services
MC Monaco
MD Moldova, Republic of
ME Montenegro
MG Madagascar
ML Mali
MM Myanmar
MN Mongolia
MO Macao
MQ Martinique
MR Mauritania
MS Montserrat
MT Malta
MU Mauritius
MV Maldives
MW Malawi
MX Mexico*
MY Malaysia
MZ Mozambique
NA Namibia
NC New Caledonia
NE Niger
NF Norfolk Island
NG Nigeria
NI Nicaragua
NL Netherlands
NO Norway
NP Nepal
136
Set Up and Maintain Your Salesforce Organization Provide Maps and Location Services
NU Niue
NZ New Zealand
OM Oman
PA Panama
PE Peru
PF French Polynesia
PH Philippines
PK Pakistan
PL Poland
PN Pitcairn
PS Palestine
PT Portugal
PY Paraguay
QA Qatar
RE Reunion
RO Romania
RS Serbia
RU Russian Federation
RW Rwanda
SA Saudi Arabia
SB Solomon Islands
SC Seychelles
SD Sudan
SE Sweden
SG Singapore
SI Slovenia
137
Set Up and Maintain Your Salesforce Organization Provide Maps and Location Services
SK Slovakia
SL Sierra Leone
SM San Marino
SN Senegal
SO Somalia
SR Suriname
SS South Sudan
SV El Salvador
SZ Swaziland
TD Chad
TG Togo
TH Thailand
TJ Tajikistan
TK Tokelau
TL Timor-Leste
TM Turkmenistan
TN Tunisia
TO Tonga
TR Turkey
TV Tuvalu
TW Taiwan
UA Ukraine
138
Set Up and Maintain Your Salesforce Organization Provide Maps and Location Services
US United States*
UY Uruguay
UZ Uzbekistan
VN Vietnam
VU Vanuatu
WS Samoa
YE Yemen
YT Mayotte
ZA South Africa
ZM Zambia
ZW Zimbabwe
139
Set Up and Maintain Your Salesforce Organization Provide Maps and Location Services
Integration Value
A customizable text value that is linked to a state or country code. Integration values for standard states and countries default
to the full ISO-standard state and country names. Integration values function similarly to the API names of custom fields and
objects. Configuring integration values allows integrations that you set up before enabling state and country picklists to continue
to work.
You can edit integration values to match values that you use elsewhere in your organization. For example, let’s say that you have
a workflow rule that uses USA instead of the default United States as the country name. If you manually set the integration
value for country code US to USA, the workflow rule doesn’t break when you enable state and country picklists.
When you update a code value on a record, that record’s State/Province (text only) or Country (text
only) column is populated with the corresponding integration value. Likewise, when you update a state or country (text
only) column with a valid integration value, we keep the corresponding state or country code column in sync. You can change
your organization’s integration values after you enable state and country picklists. However, when you update your picklists’
state and country integration values, the integration values on your records aren’t updated. Name values aren’t stored on records.
Instead, they’re retrieved from Salesforce based on a record’s State Code or Country Code value. If the states or
countries in your picklists have different field values for Name and Integration Value, make sure your report or list
view filters use the correct values. Use names in State and Country filters, and use integration values in State (text
only) and Country (text only) filters. Otherwise, your reports can fail to capture all relevant records.
Active
Makes the country available in the Metadata API so that records can be imported that contain the country. However, unless you
also set it as visible, the country isn’t available to users in Salesforce.
Visible
Makes the country available to users in Salesforce. A country must be active before you can make it visible.
8. Click Save.
SEE ALSO:
Configure State and Country Picklists
Let Users Select State and Country from Picklists
Integration Values for State and Country Picklists
State and Country Picklists and the Metadata API
140
Set Up and Maintain Your Salesforce Organization Provide Maps and Location Services
SEE ALSO:
Integration Values for State and Country Picklists
Edit State and Country Details
SEE ALSO:
Scan State and Country Data and Customizations
Let Users Select State and Country from Picklists
141
Set Up and Maintain Your Salesforce Organization Provide Maps and Location Services
Note: The emails are sent from [email protected]. They have the subject line, “Salesforce Address Data Scan” or
“Salesforce Address Customization Scan.” If you don’t receive the emails, make sure that they weren’t caught in a spam filter.
4. Click the link in each email to go to a document that contains the report of affected data or customizations.
5. On the Document detail page, click View file.
142
Set Up and Maintain Your Salesforce Organization Provide Maps and Location Services
SEE ALSO:
Let Users Select State and Country from Picklists
SEE ALSO:
Convert State and Country Data
Let Users Select State and Country from Picklists
143
Set Up and Maintain Your Salesforce Organization Provide Maps and Location Services
Note: If you map states or countries to Unknown value, users see states and countries in their records. However, your
users encounter errors when they save records, unless they change each state or country to a valid value before saving.
5. Repeat Steps 3 and 4 for other country values, such as for Canada.
Salesforce tracks planned changes in the Changelist area.
6. When all of the countries are mapped, click Next to convert state values.
Use the Country of Origin column to identify the country associated with that state or province.
7. On the Confirm Changes page, click Finish to return to the setup overview page or Finish and Enable Picklists to convert the
values and turn on state and country picklists in your org.
A few words about undo:
• On the Convert Countries or Convert States page, click Undo at any time to revert values in the changelist.
• On the Convert States page, click Previous to return to the Convert Countries page and change country mappings.
• You can convert state and country values even after clicking Finish. After picklists are enabled, however, you can no longer edit your
conversion mappings.
SEE ALSO:
Let Users Select State and Country from Picklists
144
Set Up and Maintain Your Salesforce Organization Provide Maps and Location Services
Note:
USER PERMISSIONS
• You can also enable state and country picklists when you finish converting existing,
text-based data to picklist values. See Convert State and Country Data. To turn state and country
picklists on and off:
3. To turn off state and country picklists, click Disable on the State and Country Picklists setup • “Modify All Data”
page.
SEE ALSO:
Let Users Select State and Country from Picklists
You update a record’s state or country Salesforce updates the record’s state or country
integration value to a valid value. code to match the integration value.
You remove a record’s country code, but don’t Salesforce removes the record’s state code, as
remove the corresponding state code. well as the state and country integration values.
145
Set Up and Maintain Your Salesforce Organization Provide Maps and Location Services
You update the state or country integration and code values on No changes are saved. You get an error message.
an existing record. The new integration and code values don’t
match.
You create a record with mismatched state or country integration Salesforce updates your new record’s integration value to match
and code values. the code value.
SEE ALSO:
Let Users Select State and Country from Picklists
Integration Values for State and Country Picklists
State and Country Picklist Error Messages
Mismatched integration value and ISO code for Your code and integration values match
field different states or countries.
A country must be specified before specifying Your record has a state code or integration value
a state value for field but no country code. You can’t save a state
without a corresponding country.
The existing country doesn’t recognize the state Your state code and integration values belong
value for field to a state in a different country.
Invalid state specified for field Your state code doesn’t match an existing state.
SEE ALSO:
Let Users Select State and Country from Picklists
Integration Values for State and Country Picklists
State and Country Picklist Field-Syncing Logic
146
Set Up and Maintain Your Salesforce Organization Customize Reports and Dashboards
SEE ALSO:
Upgrade the Report Wizard
147
Set Up and Maintain Your Salesforce Organization Customize Reports and Dashboards
148
Set Up and Maintain Your Salesforce Organization Customize Reports and Dashboards
Important: This option lets users override dashboard visibility settings, making snapshots
visible to all Chatter users. Though this makes it easy to share time-specific data without
USER PERMISSIONS
having to add people to dashboard folders, be aware that users can inadvertently post sensitive To modify report and
or confidential information. dashboard settings:
• “Customize Application”
149
Set Up and Maintain Your Salesforce Organization Customize Reports and Dashboards
USER PERMISSIONS
After you enable enhanced charts, everyone sees them in Salesforce1 regardless of whether they use Lightning Experience or Salesforce
Classic on the full Salesforce site.
1. From Setup, enter Reports and Dashboards Settings in the Quick Find box, then select Reports and Dashboards
Settings.
2. Select Enable Enhanced Charts in Salesforce1.
3. Click Save.
Before enabling enhanced charts, take note of these limitations:
• Enhanced Charts show only the first 200 groupings.
• On tablets, dashboards always have two columns. On phones, dashboards always have one column.
• On mobile dashboards, Enhanced Chart components don't show footers, but titles and subtitles still display. If there is important
information in a component footer, consider moving it to the title or subtitle.
150
Set Up and Maintain Your Salesforce Organization Customize Reports and Dashboards
USER PERMISSIONS
Note: Dashboard emails that contain images compatible with Lotus Notes are substantially larger and the image quality
can be lower.
3. Click Save.
151
Set Up and Maintain Your Salesforce Organization Customize Reports and Dashboards
152
Set Up and Maintain Your Salesforce Organization Customize Reports and Dashboards
5. Enter a description for your custom report type, up to 255 characters long.
Note: Provide a meaningful description so users have a good idea of which data is available for reports. For example:
Accounts with Contacts. Report on accounts and their contacts. Accounts without
contacts are not shown..
6. Select the category in which you want to store the custom report type.
7. Select a Deployment Status:
• Choose In Development during design and testing as well as editing. The report type and its reports are hidden from all
users except those with the “Manage Custom Report Types” permission. Only users with that permission can create and run
reports using report types in development.
• Choose Deployed when you’'re ready to let all users access the report type.
Note: A custom report type’s Deployment Status changes from Deployed to In Development if its primary
object is a custom or external object whose Deployment Status similarly changes.
8. Click Next.
Note: A developer can edit a custom report type in a managed package after it’s released, and can add new fields. Subscribers
automatically receive these changes when they install a new version of the managed package. However, developers can’t
remove objects from the report type after the package is released. If you delete a field in a custom report type that’s part of a
managed package, and the deleted field is part of bucketing or used in grouping, you receive an error message.
153
Set Up and Maintain Your Salesforce Organization Customize Reports and Dashboards
Example:
• If you select that object A may or may not have object B, then all subsequent objects automatically include the may-or-may-not
association on the custom report type. For example, if accounts are the primary object and contacts are the secondary object,
and you choose that accounts may or may not have contacts, then any tertiary and quaternary objects included on the custom
report type default to may-or-may-not associations.
• Blank fields display on report results for object B when object A does not have object B. For example, if a user runs a report on
accounts with or without contacts, then contact fields display as blank for accounts without contacts.
• On reports where object A may or may not have object B, you can't use the OR condition to filter across multiple objects. For
example, if you enter filter criteria Account Name starts with M OR Contact First Name starts
with M, an error message displays informing you that your filter criteria is incorrect.
• The Row Limit option on tabular reports shows only fields from the primary object on reports created from custom report
types where object A may or may not have object B. For example, in an accounts with or without contacts report, only fields
from accounts are shown. Fields from objects after a may-or-may-not association on custom report types aren't shown. For
example, in an accounts with contacts with or without cases report, only fields from accounts and contacts are available to
use. Also, existing reports may not run or disregard the Row Limit settings if they were created from custom report types
where object associations changed from object A with object B to object A with or without object B.
154
Set Up and Maintain Your Salesforce Organization Customize Reports and Dashboards
Design the Field Layout for Reports Created From Your Custom Report Type
After you define a custom report type and choose its object relationships, you can specify the
EDITIONS
standard and custom fields a report can display when created or run from a custom report type.
Note: Custom fields appear in custom report types only if they’ve been added to that report Available in: both Salesforce
type’s page layout. Classic and Lightning
Experience
1. From Setup, enter Report Types in the Quick Find box, then select Report Types
to display the All Custom Report Types page. Available in: Professional,
Enterprise, Performance,
2. Select the custom report type you want to edit and click Edit Layout on the Fields Available Unlimited, and Developer
for Reports section. Editions
You can click Preview Layout to preview which fields will display on the Select Columns page
of a report customized or run from this report type.
USER PERMISSIONS
Note: When previewing the layout, all fields and objects are displayed, including fields
and objects you may not have permission to access. However, you cannot access any To create or update custom
report types:
data stored in the fields or objects that you do not have permission to access.
• “Manage Custom Report
3. Select fields from the right-hand box and drag them to a section on the left. Types”
To delete custom report
Tip: You can view a specific object's fields by selecting an object from the View types:
drop-down list. • “Modify All Data”
4. Optionally, click Add fields related via lookup to display the Add Fields Via Lookup overlay.
From here you can add fields via the lookup relationship the object selected in the View drop-down list has to other objects.
• A lookup field is a field on an object that displays information from another object. For example, the Contact Name field
on an account.
• A custom report type can contain fields available via lookup through four levels of lookup relationships. For example, for an
account, you can get the account owner, the account owner's manager, the manager's role, and that role's parent role.
• You can only add fields via lookup that are associated with objects included in the custom report type. For example, if you add
the accounts object to the custom report type, then you can add fields from objects to which accounts have a lookup relationship.
• Selecting a lookup field on the Add Fields Via Lookup overlay may allow you to access additional lookup fields from other objects
to which there is a lookup relationship. For example, if you select the Contact Name field from cases, you can then select
the Account field from contacts because accounts have a lookup relationship to contacts which have a lookup relationship
to cases.
• The fields displayed in the Add Fields Via Lookup overlay do not include lookup fields to primary objects. For example, if accounts
are the primary object on your custom report type, and contacts are the secondary object, then the Add Fields Via Lookup overlay
does not display lookup fields from contacts to accounts.
• Fields added to the layout via the Add fields related via lookup link are automatically included in the section of the object
from which they are a lookup field. For example, if you add the Contact field as a lookup from accounts, then the Contact
field is automatically included in the Accounts section. However, you can drag a field to any section.
• Fields added via lookup automatically display the lookup icon on the field layout of the custom report type.
• Reduce the amount of time it takes a user to find fields to report on by grouping similar fields together on custom report types'
field layouts. You can create new page sections in which to group fields that are related to one another, and you can group fields
to match specific detail pages and record types.
• If you include activities as the primary object on a custom report type, then you can only add lookup fields from activities to
accounts on the select column layout of the custom report type.
155
Set Up and Maintain Your Salesforce Organization Customize Reports and Dashboards
6. Click Preview Layout and use the legend to determine which fields are included on the layout, added to the report by default, and
added to the layout via a lookup relationship.
Warning: Users can view roll-up summary fields on reports that include data from fields they do not have access to view.
For example, a user that does not have access to view the Price field on an opportunity product can view the Total
Price field on opportunity reports if he or she has access to the Total Price field.
7. To rename or set which fields are selected by default for users, select one or more fields and click Edit Properties.
• Click the Checked by Default checkbox next to one or more fields.
Fields selected by default automatically display the checkbox icon ( ) on the field layout of the custom report type.
• Change the text in the Display As field next to the field you want to rename.
Note: Renamed fields from standard objects, as well as renamed standard objects, do not display as such on the field
layout of the custom report type. However, renamed fields from standard objects and renamed standard objects do display
their new names on the report and the preview page, which you can access by clicking Preview Layout.
8. To rename the sections, click Edit next to an existing section, or create a new section by clicking Create New Section.
9. Click Save.
Important: When you delete a custom report type, any reports based on it are also To create or update custom
deleted. Any dashboard components created from a report based on a deleted custom report types:
• “Manage Custom Report
report type display an error message when viewed.
Types”
• Display detailed information about a custom report type and customize it further by clicking a To delete custom report
custom report type's name. types:
After you click a custom report type name you can: • “Modify All Data”
– Update which object relationships a report can display when run from the custom report
type.
– Edit the page layout of the custom report type to specify which standard and custom fields a report can display when created
or run from the custom report type.
156
Set Up and Maintain Your Salesforce Organization Customize Reports and Dashboards
– See how the fields display to users in reports run from the custom report type by clicking Preview Layout on the Fields Exposed
for Reporting section.
– Create a new custom report type with the same object relationships and fields as the selected custom report type by clicking
Clone.
– Rename fields in the report.
– Set which fields are selected by default.
When you edit a report, you can see the report type displayed above the report name in report builder. The report type isn't displayed
on the report run page.
1. Report type
2. Report name
Note: If the Translation Workbench is enabled for your organization, you can translate custom report types for international users.
• A custom report type can contain up to 60 object references. For example, if you select the maximum limit of four object relationships
for a report type, then you could select fields via lookup from an additional 56 objects. However, users will receive an error message
if they run a report from a custom report type and the report contains columns from more than 20 different objects.
• Object references can be used as the main four objects, as sources of fields via lookup, or as objects used to traverse relationships.
Each referenced object counts toward the maximum limit even if no fields are chosen from it. For example, if you do a lookup from
account to account owner to account owner’s role, but select no fields from account owner, all the referenced objects still count
toward the limit of 60.
• Reports run from custom report types that include cases do not display the Units drop-down list, which allows users to view the
time values of certain case fields by hours, minutes, or days.
• You can't add forecasts to custom report types.
• Report types associated with custom objects in the Deleted Custom Objects list count against the maximum number of custom
report types you can create.
157
Set Up and Maintain Your Salesforce Organization Customize Reports and Dashboards
Note: If your organization was created after the Summer ’13 Salesforce release, you already Available in: both Salesforce
have analytics folder sharing. If your organization existed before the Summer ’13 release, Classic and Lightning
Experience
follow these steps to make folder sharing available to your users.
When analytics sharing is in effect, all users in the organization get Viewer access by default to Available in: Group,
report and dashboard folders that are shared with them. Users might have more access if they are Professional, Enterprise,
Managers or Editors on a given folder, or if they have more administrative user permissions. Each Performance, Unlimited,
user’s access to folders under the new capability is based on the combination of folder access and and Developer Editions
user permissions they had before enhanced folder sharing was enabled.
1. From Setup, enter Folder Sharing in the Quick Find box, then select Folder USER PERMISSIONS
Sharing.
To view the analytics folder
2. Select Enable access levels for sharing report and dashboard folders. sharing setting:
3. Click Report and Dashboard Folder Sharing. • “View Setup and
Configuration”
Important: If you go back to the old folder sharing model, existing report and dashboard To modify the analytics
folders go back to the state they were in before. folder sharing setting:
• If a folder existed before analytics folder sharing was enabled, its properties and sharing • “Customize Application”
settings are rolled back to their previous state.
• If a folder was created while enhanced analytics folder sharing was in effect, it is hidden
from the folder list and all its sharing settings are removed. Administrative user permissions
are still in effect.
158
Set Up and Maintain Your Salesforce Organization Customize Reports and Dashboards
Cumulative Forecast Rollups are enabled in Collaborative Forecasts settings, Forecasting Items are not available in historical trend
reports.
After you enable historical trending, a new custom report type is available when you create future reports. If you enable historical trending
on a new field, that field is automatically added to the historical trending report layout.
When you turn off historical trending, keep these points in mind.
• Turning off historical trending for a field hides the historical data for that field. If you re-enable historical trending, historical data for
the field can be viewed again, including data created after historical trending was turned off.
• Turning off historical trending for an object causes all historical data and configuration settings to be deleted for that object. The
object’s historical trending report type and any reports that have been created with it are also deleted.
• If you turn off historical trending for a field and delete it, the field’s historical data is no longer available even if you re-enable historical
trending.
Note:
• The historical fields available to each user depend on the fields that user can access. If your permissions change and you can
no longer see a given field, that field’s historical data also becomes invisible.
• Each historical field has the same field-level security as its parent field. If the field permissions for the parent field change, the
historical field’s permissions change accordingly.
SEE ALSO:
Tip Sheet: Historical Trend Reporting for Opportunities
159
Set Up and Maintain Your Salesforce Organization Respond to Critical Updates
Important: Upgrading does not affect any of your existing reports. However, once you upgrade, you can't return to the old
report wizard.
1. From Setup, enter Reports in the Quick Find box, then select Reports and Dashboards Settings.
2. Review the Report Builder Upgrade section of the page and click Enable. If you don’t see the button, report builder has already been
enabled for your entire organization.
3. Confirm your choice by clicking Yes, Enable Report Builder for All Users.
Warning: Salesforce recommends testing each update by activating it in either your Developer Sandbox or your production
environment during off-peak hours.
To manage critical updates, from Setup, click Critical Updates. From this page, you can view the summary, status, and auto-activation
date for any update that Salesforce has not permanently activated. To view more details about the update, including a list of customizations
in your organization that the update might affect, click Review.
If an update has an Activate link, click it to test the update in your sandbox or production environment before Salesforce automatically
activates it.
160
Set Up and Maintain Your Salesforce Organization Organize Data with Divisions
SEE ALSO:
Administrator tip sheet: Getting Started with Divisions
161
Set Up and Maintain Your Salesforce Organization Organize Data with Divisions
Area Description
Search If you have the “Affected by Divisions” permission:
• In sidebar search, you can select a single division, or all divisions.
• In advanced search, you can select a single division or all
divisions.
• In global search, you can search a single division or all divisions.
• For searches in lookup dialogs, the results include records in
the division you select from the drop-down list in the lookup
dialog window.
List views If you have the “Affected by Divisions” permission, list views include
only the records in the division you specify when creating or editing
the list view. List views that don’t include all records (such as My
Open Cases) include records in all divisions.
If you do not have the “Affected by Divisions” permission, your list
views always include records in all divisions.
Chatter Chatter doesn’t support divisions. For example, you can’t use
separate Chatter feeds for different divisions.
Reports If you have the “Affected by Divisions” permission, you can set your
report options to include records in just one division or all divisions.
Reports that use standard filters (such as My Cases or My team’s
162
Set Up and Maintain Your Salesforce Organization Organize Data with Divisions
Area Description
accounts) show records in all divisions, and can’t further limited to
a specific division.
If you do not have the “Affected by Divisions” permission, your
reports always include records in all divisions.
Viewing records and related lists When viewing the detail page of a record, the related lists show
all associated records that you have access to, regardless of division.
Creating new records When you create new accounts, leads, or custom objects that are
enabled for divisions, the division is automatically set to your default
division, unless you override this setting.
When you create new records related to an account or other record
that already has a division, the new record is assigned to the
existing record’s division. For example, if you create a custom object
record that is on the detail side of a master-detail relationship with
a custom object that has divisions enabled, it is assigned the master
record’s division.
When you create records that are not related to other records, such
as private opportunities or contacts not related to an account, the
division is automatically set to the global division.
Editing records When editing accounts, leads, or custom objects that are enabled
for divisions, you can change the division. All records that are
associated through a master-detail relationship are automatically
transferred to the new division as well. For example, contacts and
opportunities are transferred to the new division of their associated
account, and detail custom objects are transferred to their master
record’s new division.
When editing other types of records, you can’t change the division
setting.
Custom objects When you enable divisions for a custom object, Salesforce initially
assigns each record for that custom object to the global division.
When you create a custom object record:
• If the custom object is enabled for divisions, the record adopts
your default division.
• If the custom object is on the detail side of a master-detail
relationship with a divisions-enabled custom object, the record
adopts the division of the master record.
163
Set Up and Maintain Your Salesforce Organization Organize Data with Divisions
Area Description
Relationships If you convert a lookup relationship to a master-detail relationship,
detail records lose their current division and inherit the division of
their master record.
If you convert a master-detail relationship to a lookup relationship,
the division for any detail records is determined by the previous
master record.
If you delete a master-detail relationship, the division for any detail
records is determined by the previous master record.
Setting Up Divisions
When setting up divisions, you must create divisions and assign records to divisions to make sure
EDITIONS
that your data is categorized effectively.
Before you can use the divisions feature for your organization, you must enable divisions. If you are Available in: Salesforce
using a standard object, contact Salesforce to enable divisions for your organization. For custom Classic
objects, select Enable Divisions on the custom object definition page to enable divisions.
Available in: Professional,
1. Plan which divisions you need based on how you want to segment your data. Enterprise, Performance,
For example, you may want one division for all the records belonging to your North American Unlimited, and Developer
sales team and one division for your European sales team. Editions
100
2. Create divisions for your organization. All existing records are assigned to the “Global” division USER PERMISSIONS
by default. You can change the default division name, create additional divisions, and move To create or edit divisions:
user and data records between divisions. • “Modify All Data”
3. Transfer leads, accounts, and custom objects into relevant divisions. When records are assigned
to a division, associated records are assigned the same division.
For example, when you change the division assigned to an account, related records such as contacts and opportunities are assigned
to the same division.
4. Add division fields to page layouts.
5. Add divisions to field-level security.
6. Set the default division for all users. New accounts and leads are assigned to the user’s default division unless the user explicitly
assigns a different division. New records related to existing records are assigned to the existing record’s division.
7. Enable the “Affected by Divisions” permission for users who should be able to limit list views by division, search within a division, or
report within a division.
Users who don’t have the “Affected by Divisions” permission still have a default user-level division, can view division fields, change
the division for a record, and specify a division when creating records.
164
Set Up and Maintain Your Salesforce Organization Organize Data with Divisions
5. Click Save.
6. If you want to change the order that divisions appears in the Divisions picklist, click Sort, then to use the arrow buttons to move
divisions higher or lower in the list.
165
Set Up and Maintain Your Salesforce Organization Salesforce Upgrades and Maintenance
1. From Setup, enter Users in the Quick Find box, then select Users. Available in: Professional,
2. Click the name, alias, or username of the user whose default division you want to change. Enterprise, Performance,
Unlimited, and Developer
3. Next to the Default Division field, click Change. Editions
4. Select a new default division.
5. Select an action to be applied to records the user already owns. USER PERMISSIONS
6. Click Save. To change a user’s default
If you are changing your own default division, skip step 1 and go to your personal settings. Enter division:
Advanced User Details in the Quick Find box, then select Advanced User Details.No • “Manage Users”
results? Enter Personal Information in the Quick Find box, then select Personal
Information.
IN THIS SECTION:
Read-Only Mode
Access to your data at a moment’s notice—even during our planned maintenance windows. To minimize interruption to your
business, Salesforce gives users read-only access during splits, instance migrations, instance switches, pre-scripts, and certain other
maintenance events.
166
Set Up and Maintain Your Salesforce Organization Salesforce Upgrades and Maintenance
5 Minute Upgrades
Salesforce reserves just five minutes of scheduled maintenance time to roll out new major versions of our service. These upgrades
to the next release occur three times per year.
Check for Desktop Client Updates
Read-Only Mode
Access to your data at a moment’s notice—even during our planned maintenance windows. To
EDITIONS
minimize interruption to your business, Salesforce gives users read-only access during splits, instance
migrations, instance switches, pre-scripts, and certain other maintenance events. Available in: All Editions
Activity reminders don’t occur, and Recent Items lists don’t update. Login history is still recorded for compliance purposes, but it isn’t
reflected in your organization until a few minutes after the organization exits read-only mode.
When your organization is in read-only mode, desktop and mobile browser users see a banner at the top of their browser window:
167
Set Up and Maintain Your Salesforce Organization Permissions for UI Elements, Records, and Fields
5 Minute Upgrades
Salesforce reserves just five minutes of scheduled maintenance time to roll out new major versions
EDITIONS
of our service. These upgrades to the next release occur three times per year.
Although your organization should expect to experience a disruption of up to five minutes, the Available in: Salesforce
interruption is typically one minute or less. Users receive an error message letting them know that Classic
the service is unavailable during the upgrade, and are prompted to log in again when the upgrade Available in all editions
is complete.
168
Set Up and Maintain Your Salesforce Organization How Do I Discontinue Service?
To view a field: You must have the “Read” permission on the type of record for the
field.
If you can’t view a certain field, check field-level security and your
page layout. Field-level security can restrict access to a field. Page
layouts can hide fields.
To edit a field: You must have the “Edit” permission on the type of record for the
field.
If you can’t edit a certain field, check field-level security and your
page layout. Field-level security can restrict access to a field. Page
layouts can set fields to not be editable.
To view a related list: You must have the “Read” permission on the type of records
displayed in the related list.
If you can’t view a certain field, check your page layout. Page layouts
can hide fields.
To view a button or link: Make sure that you have the necessary permission to perform the
action. Buttons and links only display for users who have the
appropriate user permissions to use them.
169
Set Up and Maintain Your Salesforce Organization User Management
User Management
In Salesforce, each user is uniquely identified with a username, password, and profile. Together with
EDITIONS
other settings, the profile determines which tasks a user can perform, what data the user can see,
and what the user can do with the data. Available in: both Salesforce
Important: Salesforce recommends that you appoint a backup administrator for your org. Classic and Lightning
Experience
A backup administrator can keep your org running in case your primary administrator is
unavailable. The available user
As an administrator, you perform user management tasks, such as: management options vary
according to which
• Create and edit users Salesforce Edition you have.
• Reset passwords
• Create Google Apps accounts
• Grant permissions
• Create and manage other types of users
• Create custom fields
• Set custom links
• Run reports on users
• Delegate user administration tasks to other users
Depending on your Salesforce edition and the additional features that your company purchased, you have specific licenses, such as
Marketing or Connect Offline. The licenses let users access features that are not included in their user licenses. You can assign one or
more of these licenses to users and also set up accounts for users outside your org to access a limited set of fields and objects. You can
grant access to the Customer Portal, partner portal, or Self-Service through user licenses. Using Salesforce to Salesforce, create connections
to share records with other Salesforce users outside of your org.
Note: Starting with Spring ’12, the Self-Service portal isn’t available for new orgs. Existing orgs continue to have access to the
Self-Service portal.
IN THIS SECTION:
View and Manage Users
In the user list, you can view and manage all users in your org, partner portal, and Salesforce Customer Portal.
Licenses Overview
To enable specific Salesforce functionality for your users, you must choose one user license for each user. To enable additional
functionality, you can assign permission set licenses and feature licenses to your users or purchase usage-based entitlements for
your organization.
Passwords
Salesforce provides each user in your organization with a unique username and password that must be entered each time a user
logs in. As an administrator, you can configure several settings to ensure that your users’ passwords are strong and secure.
Control Login Access
Control whether your users are prompted to grant account access to Salesforce admins, and whether users can grant access to
publishers.
Log In as Another User
To assist other users, administrators can log in to Salesforce as another user. Depending on your organization settings, individual
users might need to grant login access to administrators.
170
Set Up and Maintain Your Salesforce Organization View and Manage Users
SEE ALSO:
View and Manage Users
Licenses Overview
Note: You cannot delegate administrative duties related to your org to partner portal or Customer Portal users. However, you
can delegate some portal administrative duties to portal users.
171
Set Up and Maintain Your Salesforce Organization View and Manage Users
IN THIS SECTION:
Guidelines for Adding Users
Understand important options for adding users. Learn what to communicate to users about passwords and logging in.
Administrators and Separation of Duties
Separating duties limits the power of any one person or entity so that you can help prevent a single point of failure. For example,
you can have two or more administrators who have responsibilities for administering different portions of your org. If you have only
one administrator, consider assigning a backup person to the role. You can give the backup person the same profile or permission
set that your primary administrator has.
Add a Single User
Depending on the size of your organization or your new hire onboarding process, you may choose to add users one at a time. The
maximum number of users you can add is determined by your Salesforce edition.
Add Multiple Users
You can quickly add up to 10 users at a time to your organization. Your Salesforce edition determines the maximum number of users
that you can add.
Edit Users
To change user details—such as a user’s profile, role, or contact information—edit the user account.
Unlock Users
Users can be locked out of an organization if they enter incorrect login credentials too many times. Unlock users to restore their
access.
Deactivate (Delete) Users
You can’t delete a user, but you can deactivate an account so a user can no longer log in to Salesforce.
Freeze or Unfreeze User Accounts
In some cases, you can’t immediately deactivate an account, such as when a user is selected in a custom hierarchy field. To prevent
users from logging in to your organization while you perform the steps to deactivate them, you can freeze user accounts.
Restrict User Email Domains
You can define a whitelist to restrict the email domains allowed in a user’s Email field.
User Fields
The fields that comprise the Personal Information and other personal settings pages describe a user.
Salesforce Adoption Manager
Quickly turn your mobile employees into Salesforce1 power users with SalesforceAdoption Manager. This tool trains and engages
your users with intelligent email journeys aimed at driving adoption of the Salesforce1 mobile app and the Lightning Experience.
After inviting users to download the mobile app, Adoption Manager follows up with tips that help users get the most out of Salesforce1.
It also encourages dormant Salesforce1 users to try using the app again.
SEE ALSO:
Deactivate (Delete) Users
Freeze or Unfreeze User Accounts
Help Users From Anywhere With SalesforceA
172
Set Up and Maintain Your Salesforce Organization View and Manage Users
SEE ALSO:
Add a Single User
Administrators and Separation of Duties
173
Set Up and Maintain Your Salesforce Organization View and Manage Users
cloned profile to an appropriate person. If you can’t clone profiles, consider implementing a process to ensure business continuity if your
sole administrator is unavailable. You can also delegate administration tasks by assigning a delegated administrator.
SEE ALSO:
Add a Single User
Delegate Administrative Duties
SEE ALSO:
Guidelines for Adding Users
Add Multiple Users
Edit Users
User Fields
Licenses Overview
174
Set Up and Maintain Your Salesforce Organization View and Manage Users
SEE ALSO:
Add a Single User
Edit Users
User Fields
Licenses Overview
Edit Users
To change user details—such as a user’s profile, role, or contact information—edit the user account.
EDITIONS
1. From Setup, enter Users in the Quick Find box, then select Users.
Available in: both Salesforce
2. Click Edit next to a user’s name.
Classic and Lightning
3. Change the settings as needed. Experience
4. Click Save. Available in: Contact
Tip: You can perform this and other administration tasks from the SalesforceA mobile app. Manager, Group,
Professional, Enterprise,
Performance, Unlimited,
IN THIS SECTION: Developer, and
Database.com Editions
Considerations for Editing Users
Be aware of the following behaviors when editing users.
USER PERMISSIONS
Unlock Users
Help Users From Anywhere With SalesforceA
175
Set Up and Maintain Your Salesforce Organization View and Manage Users
If you change a username, a confirmation email with a login link is sent to the email address Available in: Contact
associated with that user account. If an organization has multiple login servers, sometimes users Manager, Group,
can’t log in immediately after you’ve changed their usernames. The change can take up to 24 Professional, Enterprise,
hours to replicate to all servers. Performance, Unlimited,
Developer, and
Changing email addresses
Database.com Editions
If Generate new password and notify user immediately is disabled
when you change a user’s email address, Salesforce sends a confirmation message to the email
address that you entered. Users must click the link provided in that message for the new email address to take effect. This process
ensures system security.
Personal information
Users can change their personal information after they log in.
User sharing
If the organization-wide default for the user object is Private, users must have Read or Write access to the target user to access that
user’s information.
Domain names
You can restrict the domain names of users’ email addresses to a list of specific domains. Any attempt to set an email address with
another domain results in an error message. To enable this functionality for your organization, contact Salesforce.
SEE ALSO:
Edit Users
Unlock Users
Users can be locked out of an organization if they enter incorrect login credentials too many times.
EDITIONS
Unlock users to restore their access.
1. From Setup, enter Users in the Quick Find box, then select Users. Available in: Salesforce
Classic and Lightning
2. Select the locked user.
Experience
3. Click Unlock.
Available in: Contact
This button appears only when a user is locked out. Manager, Group,
Professional, Enterprise,
Tip: You can perform this and other administration tasks from the SalesforceA mobile app. Performance, Unlimited,
Developer, and
Database.com Editions
SEE ALSO:
Edit Users
USER PERMISSIONS
Set Password Policies
Help Users From Anywhere With SalesforceA To unlock users:
• “Manage Internal Users”
176
Set Up and Maintain Your Salesforce Organization View and Manage Users
Note: If your organization has Asynchronous Deletion of Obsolete Shares (Pilot) enabled, removal of manual and team shares
is run during off-peak hours between 6 PM and 4 AM based on your organization’s default time zone. For account records,
manual and team shares are deleted right after user deactivation.
Deactivated users lose access to shared records immediately. Users higher in the role hierarchy continue to have access until
that access is deleted asynchronously. If that visibility is a concern, remove the record access that’s granted to the deactivated
users before deactivation.
177
Set Up and Maintain Your Salesforce Organization View and Manage Users
Chatter
If you deactivate users in an organization where Chatter is enabled, they’re removed from Following and Followers lists. If you
reactivate the users, the subscription information in the Following and Followers lists is restored.
If you deactivate multiple users, subscription information isn’t restored for users that follow each other. For example, user A follows
user B and user B follows user A. If you deactivate users A and B, their subscriptions to each other are deleted from Following and
Followers lists. If user A and user B are then reactivated, their subscriptions to each other aren’t restored.
Salesforce Files
Files owned by a deactivated user are not deleted. The deactivated user is the file owner until an admin reassigns the files to an
active user. Files shared in a content library can be edited by other library members with author or delete permissions. Sharing rules
remain active until an admin modifies them.
Created By fields
It's possible for inactive users to be listed in Created By fields even when they’re no longer active in an organization. This
happens because some system operations create records and toggle preferences, acting as an arbitrary administrator user to complete
the task. This user can be active or inactive.
Accounts and opportunities owned by deactivated users
You can create and edit accounts, opportunities, and custom object records that are owned by inactive users. For example, you can
edit the Account Name field on an opportunity record that’s owned by an inactive user. To enable this feature, contact Salesforce.
Territories and forecasting
Deactivated users continue to own opportunities and appear in forecasts and territories. When users are deactivated, their opportunity
forecast overrides, adjusted total overrides, and manager's choice overrides on subordinates' forecasts are frozen. However, the
manager of a deactivated user can apply manager's choice overrides to that user's forecasts. Rollup amounts are kept current. If a
deactivated user is later reactivated, the user can resume normal work as before. If “Allow Forecasting” is disabled for a user who is
deactivated, the user is removed from any territories he or she is assigned to.
Opportunity and account teams
Deactivated users are removed from the default opportunity and account teams of other users. The deactivated users' default
opportunity and account teams are not removed.
Account teams
If a user on an account team has Read/Write access (Account Access, Contact Access, Opportunity Access, and Case Access)
and is deactivated, the access will default to Read Only if the user is reactivated.
Opportunity teams
If you deactivate users in an organization where opportunity splitting is enabled, they aren’t removed from any opportunity teams
where they’re assigned a split percentage. To remove a user from an opportunity team, first reassign the split percentage.
Delegated external user administrators
When a delegated external user admin deactivates a portal user, the admin doesn’t have the option to remove the portal user from
teams that user is a member of.
SEE ALSO:
Deactivate (Delete) Users
178
Set Up and Maintain Your Salesforce Organization View and Manage Users
Note: Freezing user accounts doesn’t make their user licenses available for use in your USER PERMISSIONS
organization. To make their user licenses available, deactivate the accounts.
To freeze or unfreeze user
accounts:
SEE ALSO: • “Manage Users”
Deactivate (Delete) Users
Help Users From Anywhere With SalesforceA
179
Set Up and Maintain Your Salesforce Organization View and Manage Users
Note: The email domain whitelist doesn't apply to users external to your organization, such as portal, Communities, or Chatter
External users.
SEE ALSO:
Add a Single User
Add Multiple Users
Edit Users
User Fields
The fields that comprise the Personal Information and other personal settings pages describe a
EDITIONS
user.
The visibility of fields depends on the specific page, your org’s permissions, and which edition you Available in: Salesforce
have. Classic and Lightning
Experience
Field Description The available fields vary
Accessibility Mode When selected, enables a user interface mode according to which
designed for visually impaired users. Salesforce Edition you have.
App Registration: One-Time When connected, the user can verify identity
Password Generator with a code from an authenticator app other
than Salesforce Authenticator, such as Google
Authenticator. For example, the user enters a
code from the app when logging in from an IP
address outside the company’s trusted IP range.
This type of verification code is sometimes called
a time-based one-time password, or TOTP.
Users with “Two-Factor Authentication for User
Interface Logins” permission need to use a
second factor of authentication when logging
in to Salesforce through the user interface. A
180
Set Up and Maintain Your Salesforce Organization View and Manage Users
Field Description
current verification code generated by the authenticator app counts
as a second factor.
If the user has “Two-Factor Authentication for API Logins”
permission and connects an authenticator app, the user enters the
current code from the app to access the service. The user doesn’t
enter the standard security token.
App Registration: Salesforce Authenticator When connected, the user can verify identity by responding to a
push notification with the Salesforce Authenticator mobile app,
version 2 or later. For example, the user approves a notification
when logging in from an IP address outside the company’s trusted
IP network. If the user sets a trusted location in the app and is
allowed to use location-based automated verifications, Salesforce
Authenticator can automatically verify the user’s identity from that
trusted location. Users can connect both Salesforce Authenticator
and another authenticator app to the same Salesforce account.
When connected, the user can also verify identity with a code from
Salesforce Authenticator. For example, the user enters a code from
the app when logging in from an IP address outside the company’s
trusted IP network. This type of verification code is sometimes
called a time-based one-time password, or TOTP.
Users with “Two-Factor Authentication for User Interface Logins”
permission need to use a second factor of authentication when
logging in to Salesforce through the user interface. A manual or
automated response to a notification from Salesforce Authenticator
counts as a second factor.
If the user has “Two-Factor Authentication for API Logins”
permission and connects Salesforce Authenticator, the user enters
the current code from the app to access the service. The user
doesn’t enter the standard security token.
Call Center The name of the call center to which this user is assigned.
Checkout Enabled Indicates whether the user is notified by email when his or her
Checkout account is activated and available for login.
Enabling this option requires the “Manage Billing” permission.
Color-Blind Palette on Charts Indicates whether the option to set an alternate color palette for
charts has been enabled. The alternate palette has been optimized
for use by color-blind users. For dashboard emails, the alternate
palette is not used.
181
Set Up and Maintain Your Salesforce Organization View and Manage Users
Field Description
Contact Name of the associated contact if the user is a partner user.
Created By User who created the user including creation date and time. (Read
only)
Currency User’s default currency for quotas, forecasts, and reports. Shown
only in orgs using multiple currencies. This currency must be one
of the active currencies for the org.
Custom Links Listing of custom links for users as set up by your administrator.
Data.com User Type Enables a user to find contact and lead records from Data.com and
add them to Salesforce. Also indicates the type of Data.com user.
Data.com Users get a limited number of account, contact, and lead
records to add or export per month, and their unused additions
expire at the end of each month. Data.com List Users get a limited
number of account, contact, and lead records to add or export per
month, and their unused additions expire at the end of each month.
After the monthly limit is used, List Users draw record additions
from a pool that is shared by all List Users in the organization.
Unused pool additions expire one year from purchase.
Default Currency ISO Code User’s default currency setting for new records. Available only for
orgs that use multiple currencies.
Default Division Division that is applied, by default, to all new accounts and leads
created by the user, unless the user explicitly sets a different
division. When users create records related to an account or other
record that already has a division, the new record is assigned to
the existing record’s division. The default division is not used.
This setting does not restrict the user from viewing or creating
records in other divisions. Users can override change their default
division at any time by setting a working division.
Available only in orgs that use divisions to segment their data.
Delegated Approver User lookup field used to select a delegate approver for approval
requests. Depending on the approval process settings, this user
can also approve approval requests for the user.
Department Group that user works for, for example, Customer Support. Up to
80 characters are allowed in this field.
Development Mode Enables development mode for creating and editing Visualforce
pages.
This field is visible only to orgs that have Visualforce enabled.
182
Set Up and Maintain Your Salesforce Organization View and Manage Users
Field Description
Disable Auto Subscription For Feeds Disables automatic feed subscriptions to records owned by a user.
Only available in orgs with Chatter enabled.
Email Email address of user. Must be a valid email address in the form:
[email protected]. Up to 80 characters are allowed in this field.
Email Encoding Character set and encoding for outbound email sent by user from
within Salesforce. English-speaking users use ISO-8859-1,
which represents all Latin characters. UTF-8 (Unicode) represents
characters for all languages, however some older email software
doesn’t support it. Shift_JIS, EUC-JP, and ISO-2022-JP
are useful for Japanese users.
End of day Time of day that user generally stops working. Used to define the
times that display in the user’s calendar.
Federation ID The value used to identify a user for federated authentication single
sign-on.
First Name First name of user, as displayed on the user edit page. Up to 40
characters are allowed in this field.
Force.com Flow User Grants the ability to run flows. Available in Developer (with
limitations), Enterprise, Unlimited, and Performance Editions.
Enabling this option requires the “Manage Force.com Flow”
permission.
If the user has the “Run Flows” permission, don’t enable this field.
Force.com Quick Access Menu Enables the Force.com quick access menu, which appears in object
list view and record detail pages. The menu provides shortcuts to
customization features for apps and objects.
Information Currency The default currency for all currency amount fields in the user
record. Available only for orgs that use multiple currencies.
Language The primary language for the user. All text and online help is
displayed in this language. In Professional, Enterprise, Unlimited,
and Performance Edition orgs, a user’s individual Language
setting overrides the org’s Default Language.
183
Set Up and Maintain Your Salesforce Organization View and Manage Users
Field Description
Not available in Personal Edition, Contact Manager, or Group
Edition™. The org’s Display Language applies to all users.
Last Login The date and time when the user last successfully logged in. This
value is updated if 60 seconds have elapsed since the user’s last
login. (Read only)
Last Name Last name of user, as displayed on the user edit page. Up to 80
characters are allowed in this field.
Last Password Change or Reset The date and time of this user’s last password change or reset. This
read-only field appears only for users with the “Manage Users”
permission.
Lightning Login Allows the user to enroll in and use Lightning Login, for
password-free logins. The Enroll option indicates that a Salesforce
admin has given the user the option to enroll. The Cancel option
indicates that the user has enrolled, and can cancel their enrollment
if needed.
Make Setup My Default Landing Page When this option is enabled, users land in the Setup page when
they log in.
Manager Lookup field used to select the user's manager. This field:
• Establishes a hierarchical relationship, preventing you from
selecting a user that directly or indirectly reports to itself.
• Allows Chatter to recommend people and records to follow
based on your org's reporting structure.
184
Set Up and Maintain Your Salesforce Organization View and Manage Users
Field Description
This field is especially useful for creating hierarchical workflow rules
and approval processes without creating more hierarchy fields.
Marketing User When enabled, the user can create, edit, and delete campaigns,
configure advanced campaign setup, and add campaign members
and update their statuses with the Data Import Wizard. Available
in Professional, Enterprise, Unlimited, and Performance Editions.
If this option isn’t selected, the user can only view campaigns and
advanced campaign setup, edit the Campaign History for a single
lead or contact, and run campaign reports.
Middle Name Middle name of the user, as displayed on the user edit page. Up
to 40 characters are allowed for this field.
185
Set Up and Maintain Your Salesforce Organization View and Manage Users
Field Description
Administrators can also enter users’ mobile numbers and pre-verify
them. If Enable the SMS method of identity confirmation is
enabled when an administrator enters a mobile number for a user,
or when a mobile number is set from an API using the User
object, the mobile number is considered verified. If Enable the
SMS method of identity confirmation is not enabled, the new
mobile phone number is not considered verified.
Mobile User Allocates one Salesforce Mobile Classic license to the user, granting
the user access to Salesforce Mobile Classic app. The number of
user records enabled by this checkbox can’t exceed the total
number of mobile licenses your org has. Available in Professional,
Enterprise, Unlimited, and Performance Editions.
The Mobile User option is enabled by default for Unlimited,
Performance, and Developer Edition users. To prevent users from
activating the Salesforce Mobile Classic app on their mobile devices
before you’re ready to deploy it, disable this option for all users.
If users have already activated their Salesforce Mobile Classic
account, deselecting the Mobile User option revokes the user's
mobile license. The next time the user's device synchronizes with
Salesforce, all the Salesforce data is deleted from the device, and
the device is no longer associated with the user.
Modified By User who last changed the user fields, including modification date
and time. (Read only)
Monthly Contact and Lead Limit If the user’s Data.com User Type is Data.com User, the
number of Data.com contact and lead records the user can add
each month.
The default number of records per license is 300, but you can assign
more or fewer, up to the org limit.
Name Combined first name, middle name (beta), last name, and suffix
(beta) of user, as displayed on the user detail page.
Offline User Administrative checkbox that grants the user access to Connect
Offline. Available in Professional, Enterprise, Unlimited, and
Performance Editions.
186
Set Up and Maintain Your Salesforce Organization View and Manage Users
Field Description
Partner Super User Denotes whether a partner portal user is a super user.
Receive Approval Request Emails Preference for receiving approval request emails.
This preference also affects whether the user receives approval
request notifications in Salesforce1 or Lightning Experience.
Receive Salesforce CRM Content Daily Digest Specifies that non-portal users with a Salesforce CRM
Content User license and Salesforce CRM Content
subscription receive a daily email summary if activity occurs on
their subscribed content, libraries, tags, or authors. To receive email,
you must also select the Receive Salesforce CRM
Content Email Alerts option Portal users do not need
the Salesforce CRM Content User license. They only
need the View Content in Portals user permission.
Receive Salesforce CRM Content Email Alerts Specifies that non-portal users with a Salesforce CRM
Content User license and Salesforce CRM Content
subscription receive email notifications if activity occurs on their
subscribed content, libraries, tags, or authors. To receive real-time
email alerts, select this option and do not select the Receive
Salesforce CRM Content Daily Digest option.
Portal users do not need the Salesforce CRM Content
User license. They only need the View Content in
Portals user permission.
Salesforce CRM Content User Indicates whether a user can use Salesforce CRM Content. Available
in Professional, Enterprise, Unlimited, and Performance Editions.
Self-Registered via Customer Portal When enabled, specifies that the user was created via
self-registration to a Customer Portal. Available in Enterprise,
Unlimited, and Performance Editions.
187
Set Up and Maintain Your Salesforce Organization View and Manage Users
Field Description
Security Key (U2F) Allows the user to register and use a U2F security key as a second
factor of authentication. The Register option indicates that a
Salesforce admin has given users in the org the option to register
a security key. The Remove option indicates that the user has
registered a security key, and can remove their registration if
needed.
Send Apex Warning Emails Specifies that users receive an email notification whenever they
execute Apex that surpasses more than 50 percent of allocated
governor limits.
Available in Developer, Enterprise, Unlimited, and Performance
Editions only.
Show View State in Development Mode Enables the View State tab in the development mode footer
forVisualforce pages.
This field is only visible to orgs that have Visualforce enabled, and
Development Mode selected.
Site.com Contributor User Allocates one Site.com Contributor license to the user, granting
the user limited access to Site.com Studio. Users with a Contributor
license can use Site.com Studio to edit site content only.
The number of user records with this checkbox enabled can’t
exceed the total number of Site.com Contributor licenses your org
has.
Available in Developer, Enterprise, Unlimited, and Performance
Editions, only if Site.com is enabled for your org.
Site.com Publisher User Allocates one Site.com Publisher license to the user, granting the
user full access to Site.com Studio. Users with a Publisher license
can build and style websites, control the layout and functionality
of pages and page elements, and add and edit content.
The number of user records with this checkbox enabled can’t
exceed the total number of Site.com Publisher licenses your org
has.
Available in Developer, Enterprise, Unlimited, and Performance
Editions, only if Site.com is enabled for your org.
Start of day Time of day that user generally starts working. Used to define the
times that display in the user’s calendar.
188
Set Up and Maintain Your Salesforce Organization View and Manage Users
Field Description
Suffix Name suffix of the user, as displayed on the user edit page. Up to
40 characters are allowed for this field.
Temporary Verification Code Users can enter a temporary code when they lose the device that
they usually use for two-factor authentication. Only Salesforce
admins can generate or expire a temporary code for a user. Users
can expire their own code.
SEE ALSO:
View and Manage Users
User Licenses
View Your Organization’s Feature Licenses
Restrict User Email Domains
189
Set Up and Maintain Your Salesforce Organization View and Manage Users
What Is User Data Used for When Salesforce Adoption Manager Is Enabled?
The only change when you enable Salesforce Adoption Manager is that your users receive email messages from the program, based on
their usage of Salesforce on page 190. You can review our privacy statement for more details.
Who Receives the Salesforce Adoption Manager Emails? How Frequently Are Emails Sent Out?
Emails are delivered to users with full Salesforce licenses only. Community, Partner, and Chatter users aren’t included.
Adoption Manager is intelligent about who receives emails.
190
Set Up and Maintain Your Salesforce Organization Licenses Overview
• The invitation to download Salesforce1 is sent only to users who have permission to access the mobile app and have not yet installed
the app.
– Five separate tips are sent to all users who downloaded Salesforce1 within the last 60 days.
– A single reminder to use Salesforce1 is sent to users who haven’t accessed the mobile app for 30 days.
• The invitation to try Lightning Experience is sent only to users enabled for Lightning.
How Can I Confirm That Salesforce Adoption Manager Emails Are Actually Going Out?
The Marketing Cloud Support team can help confirm that the emails are being sent. Contact Salesforce Customer Support for more
information.
Can I Configure Salesforce Adoption Manager to Send Emails to a Specific Group of Users Only?
No. When you enable Adoption Manager, it’s turned on for all users in your org. But users can opt out of receiving future messages from
the footer of any email from the program.
Can Users Opt Back into Receiving Salesforce Adoption Manager Emails After Opting Out?
Yes. The first Adoption Manager email includes a link that allows users to opt back into receiving future emails. Consider encouraging
your users to save this email, just in case.
Licenses Overview
To enable specific Salesforce functionality for your users, you must choose one user license for each
EDITIONS
user. To enable additional functionality, you can assign permission set licenses and feature licenses
to your users or purchase usage-based entitlements for your organization. Available in: Salesforce
Specific features in Salesforce require specific permissions. For example, to view cases, a user must Classic and Lightning
have the “Read” permission on cases. However, you can’t assign permissions to any user you choose. Experience
Like the features that it enables, each permission has a requirement of its own. To assign a given
Edition requirements vary for
permission to a user, that user’s license (or licenses) must support the permission. A single permission each user, permission set,
can be supported by more than one license. and feature license type.
Think of permissions as locks, and think of licenses as rings of keys. Before you can assign users a
specific permission, they must have a license that includes the key to unlock that permission.
Although every user must have exactly one user license, you can assign one or more permission set licenses or feature licenses to
incrementally unlock more permissions.
Continuing our example, the Salesforce user license includes the key to unlock the “Read” permission on cases, but the Force.com—App
Subscription user license doesn’t. If you try to assign that permission to a Force.com—App Subscription user, you get an error message.
191
Set Up and Maintain Your Salesforce Organization Licenses Overview
However, if that Force.com—App Subscription user is also assigned a Company Community for Force.com permission set license, you
can assign “Read” on cases to that user.
Salesforce provides the following types of licenses and usage-based entitlements.
IN THIS SECTION:
User Licenses
A user license determines the baseline of features that the user can access. Every user must have exactly one user license. You assign
user permissions for data access through a profile and optionally one or more permission sets.
Permission Set Licenses
A permission set is a convenient way to assign users specific settings and permissions to use various tools and functions. Permission
set licenses incrementally entitle users to access features that are not included in their user licenses. Users can be assigned any
number of permission set licenses.
Feature Licenses Overview
A feature license entitles a user to access an additional feature that is not included with his or her user license, such as Marketing or
Work.com. Users can be assigned any number of feature licenses.
Usage-based Entitlements
A usage-based entitlement is a limited resource that your organization can use on a periodic basis—such as the allowed number
of monthly logins to a Partner Community or the record limit for Data.com list users.
User Licenses
A user license determines the baseline of features that the user can access. Every user must have
EDITIONS
exactly one user license. You assign user permissions for data access through a profile and optionally
one or more permission sets. Available in: Salesforce
Example: Classic and Lightning
Experience
• Assign a Force.com user license to Employee A. The Force.com user license only supports
standard object permissions for accounts and contacts, so Employee A can’t access cases. Edition requirements vary for
each user license type.
• Assign a Salesforce user license to Employee B. Give “Read” access on cases to Employee
B.
Note: If your company has purchased custom user licenses for other types of functionality, you can see other license types listed.
Your Salesforce org can also have other licenses that are supported but no longer available for purchase. Contact Salesforce for
more information.
The following license types are available only for orgs that use a Customer Portal or partner portal.
• Customer Portal User Licenses
• Customer Portal—Enterprise Administration User Licenses
192
Set Up and Maintain Your Salesforce Organization Licenses Overview
IN THIS SECTION:
View Your Organization’s User Licenses
View the user licenses that your company has purchased to know what you have available to assign to your users.
Standard User Licenses
Find information about standard user licenses that you can get for your organization, such as the Salesforce user license and Force.com
user license types.
Chatter User Licenses
All standard Salesforce licenses allow free Chatter access for everyone in your organization. Salesforce also offers Chatter-specific
licenses: Chatter External, Chatter Free, and Chatter Only (also known as Chatter Plus).
Communities User Licenses
We have three Communities licenses for external users: Customer Community, Customer Community Plus, and Partner Community.
We also have Employee Apps Starter and Employee Apps Plus licenses for Employee Communities.
Database.com User Licenses
Service Cloud Portal User Licenses
Sites and Site.com User Licenses
Sites and Site.com users can have Guest User or Site.com Only user licenses.
Authenticated Website User Licenses
Platform portal users have the Authenticated Website license, which is designed to be used with Force.com Sites. It gives named
sites users unlimited logins to your Platform Portal to access customer support information.
Customer Portal User Licenses
Users of a Customer Portal site have the Customer Portal Manager Standard license.
Customer Portal—Enterprise Administration User Licenses
Customer Portal—Enterprise Administration users have the Customer Portal Manager Custom license. This license gives contacts
unlimited logins to your Salesforce Customer Portal to manage customer support.
Partner Portal User Licenses
Partner Portal users have the Gold Partner user license. They can only access Salesforce using the partner portal.
SEE ALSO:
View and Manage Users
Set Your Company Up in Salesforce
193
Set Up and Maintain Your Salesforce Organization Licenses Overview
USER PERMISSIONS
Knowledge Designed for users who only need access to the Enterprise,
Only User Salesforce Knowledge app. This license provides Unlimited, and
access to custom objects, custom tabs, and the Performance
following standard tabs. Editions
• Articles
• Article Management
• Chatter
• Files
• Home
• Profile
• Reports
• Custom objects
• Custom tabs
The Knowledge Only User license includes a
Knowledge Only profile that grants access to the
Articles tab. To view and use the Article Management
tab, a user must have the “Manage Articles”
permission.
194
Set Up and Maintain Your Salesforce Organization Licenses Overview
Identity Grants users access to Salesforce Identity features.Salesforce Identity Enterprise, Unlimited,
connects Salesforce users with external applications and services, while Performance, and Developer
giving administrators control over authentication and authorization for Editions
these users. Ten free Identity user licenses
For more information, see the Salesforce Identity Implementation Guide. are included with each new
Developer Edition
organization.
External Provides Identity features for users outside of your organization’s user base Enterprise, Unlimited,
Identity (such as non-employees). Store and manage these users, choose how they Performance, and Developer
authenticate (username/password, or Single Sign-On social sign-on through Editions
Facebook, Google+, LinkedIn, and others), and allow self-registration. Five free External Identity user
licenses are included with each
new Developer Edition
organization.
Work.com Only Designed for users who don’t have a Salesforce license and need access Professional, Enterprise,
User to Work.com. Unlimited, Performance, and
Developer Editions
Note: Chatter must be enabled for Work.com features to fully
function.
Note: Users with this license can only view dashboards if the
running user also has the same license.
Users with a Salesforce Platform user license can access all the custom apps
in your organization.
195
Set Up and Maintain Your Salesforce Organization Licenses Overview
Note: Users with this license can only view dashboards if the
running user also has the same license.
Each license provides an additional 20 MB of data storage and 100 MB of
file storage, regardless of the Salesforce edition.
Force.com App Grants users access to a Force.com Light App or Force.com Enterprise App, Enterprise, Unlimited, and
Subscription neither of which include CRM functionality. Performance Editions
A Force.com Light App has up to 10 custom objects and 10 custom tabs,
has read-only access to accounts and contacts, and supports object-level
and field-level security. A Force.com Light App can’t use the Bulk API or
Streaming API.
A Force.com Enterprise App has up to 10 custom objects and 10 custom
tabs. In addition to the permissions of a Force.com Light App, a Force.com
Enterprise App supports record-level sharing, can use the Bulk API and
Streaming API, and has read/write access to accounts and contacts.
Note: Users with this license can only view dashboards if the
running user also has the same license.
Each Force.com App Subscription license provides an additional 20 MB of
data storage per user for Enterprise Edition and 120 MB of data storage per
user for Unlimited and Performance Editions, as well as 2 GB of file storage
regardless of the edition.
196
Set Up and Maintain Your Salesforce Organization Licenses Overview
Company This is an internal user license for employee communities. It’s designed for Enterprise, Unlimited,
Community User users to access custom tabs, Salesforce Files, Chatter (people, groups, feeds), Performance, and Developer
and a Community that includes a Site.com site. Editions
SEE ALSO:
User Licenses
197
Set Up and Maintain Your Salesforce Organization Licenses Overview
Feeds
File sharing
Files Connect
Groups
Profiles
198
Set Up and Maintain Your Salesforce Organization Licenses Overview
Private messages
Global search
Search results include only those
items that customers have
access to via groups.
Custom objects
Up to 10 custom objects
Content library
Note: If your org has legacy portal licenses, you don’t need to purchase communities
licenses to use communities.
Are community licenses associated with users or a community?
Communities licenses are associated with users, not a specific community. If needed, you can move users with these licenses between
communities. If you have unused licenses, you can assign them to users in any community in your org.
199
Set Up and Maintain Your Salesforce Organization Licenses Overview
Here’s another way to think about it: Your community is like an airplane. Each passenger has a different type of ticket (license), and
therefore, different levels of access. They’re all together on the same ride, but each person has a slightly different experience based
on how much the ticket cost.
In addition to supporting communities licenses, Communities supports all internal and portal licenses, including existing Customer
Portal, Authenticated Website, and partner portal licenses.
Do usernames have to be unique across the community or Salesforce?
There are different requirements for username uniqueness depending on the type of license your community is using. Customer
and Customer Community Plus licenses require unique usernames within the Salesforce org that a community belongs to. Partner
Community licenses and Employee Community licenses require unique usernames across all Salesforce orgs that the user belongs
to.
How is a license used in an employee community?
Employee Community licenses are supported by two underlying licenses—the Salesforce Platform user license and the Company
Community for Force.com permission set license. To assign an Employee Apps Starter or Employee Apps Plus license to a user, first
assign the Salesforce Platform user license. Then assign them the Company Community for Force.com permission set license (you
may have to create the permission set before you can assign the license).
When you upgrade from Employee Apps Starter license to Employee Apps Plus license, you get more custom objects, and you don’t
have to make any changes in Setup.
How do community licenses compare to legacy portal licenses?
Here’s a quick correlation of the new communities licenses with their older portal counterparts and their main use case.
Important: Users who have portal licenses can access your community as long as you include them by adding the profiles
or permission sets that they’re associated with. You don’t have to purchase new Communities licenses for them.
Customer Community Plus Business-to-business communities for Customer Portal — Enterprise Administration
support and non-sales scenarios, such as
eCommerce
Here’s a simple decision tree to help pick the license type for your community’s needs.
Note: Different license types can access your community. Your community is not limited to just one type of license.
200
Set Up and Maintain Your Salesforce Organization Licenses Overview
When using a monthly login-based license, a user consumes a login when signing in to a community. Already logged-in users don’t
consume licenses when switching between their communities. Overages are calculated at the end of the year rather than on a
monthly basis.
If users with a login-based community license access their communities through Salesforce1, they consume a login the first time
they log in or if their session times out. A login is counted each time a login-based user authenticates to the community. Salesforce
calculates logins from the LoginHistory table. The timeout period for a login is configurable up to a maximum of 12 hours.
Is an extra license required to use Community Builder?
Each community using a Community Builder-based template can use the Community Builder to add custom, branded pages to your
community. Communities users with the “Create and Set Up Communities” permission automatically have full site administrator
access to a community’s Community Builder.
Do communities have user limits?
You can have up to 100 communities in your Salesforce org. Active, inactive, and preview communities, including Force.com sites,
count against this limit.
To avoid deployment problems and any degradation in service quality, we recommend that the number of users in your community
not exceed the limits listed below. If you require additional users beyond these limits, contact your Salesforce account executive. If
your growing community needs more users, contact your Salesforce account representative to understand how the product can
scale to meet your demands.
201
Set Up and Maintain Your Salesforce Organization Licenses Overview
Customer 10 million
For example, a community set up in an Enterprise Edition org can have up to 6 million page views over the course of a year. Overages
will be calculated after the annual limit has been reached. See Community Usage Limits for more information about page view and
other user limits.
License Detail
This table shows which features are available to the default user profiles with Customer Community, Customer Community Plus, Partner
Community, or Employee Apps licenses.
Account Contact
Relationships
(Contacts to
Multiple Accounts)2
Accounts
Read, Edit3 Read, Create, Edit Read, Create, Edit Read, Create, Edit, Read, Create, Edit,
Delete, View All Delete, View All
Data, Manage All Data, Manage All
Data Data
1
A user with a Partner Community license must be associated with a business account that is enabled as a partner
account. Partner users can’t be associated with person accounts.
2
To view or create relationships between accounts and contacts, you must have “Read” on accounts and contacts. To edit or delete
relationships between account and contacts, you must have “Read” on accounts and “Edit” on contacts.
3
For Customer Community licenses, access can also be controlled using sharing sets.
202
Set Up and Maintain Your Salesforce Organization Licenses Overview
Campaigns
Read, Create, and
Edit4
Cases
Read, Create, Edit Read, Create, Edit Read, Create, Edit Read, Create, Edit, Read, Create, Edit,
5 Delete 6 Delete 7
Contacts
Read, Create, Edit Read, Create, Edit Read, Create, Edit Read, Create, Edit, Read, Create, Edit,
Delete, View All Delete, View All
Data, Manage All Data, Manage All
Data Data
Contracts
Read, Create, Edit, Read, Create, Edit, Read, Create, Edit,
Delete Delete Delete
Dashboards
Read Only Read Only Read Only Read Only
Documents
Read Only Read Only Read Only Read, Create, Edit, Read, Create, Edit,
Delete, View All Delete, View All
Data, Manage All Data, Manage All
Data Data
1
A user with a Partner Community license must be associated with a business account that is enabled as a partner
account. Partner users can’t be associated with person accounts.
4
For the Partner Community license, to read, create, and edit campaigns in the user interface, the partner user also needs the
“Marketing User” permission. With these permissions, a partner user can: search for and add their contacts or leads as campaign
members, access reports on their campaigns, and mass-email or mass-assign their contacts and leads on a campaign.
5
For the Customer Community license, cases can’t be created on behalf of another user.
6
For Employee Apps Starter licenses, cases can track internal and employee issues, but should not be used for customer cases.
Internal employee users must have a Service Cloud license to interact with external cases.
7
For Employee Apps Plus licenses, cases can track internal and employee issues, but should not be used for customer cases. Internal
employee users must have a Service Cloud license to interact with external cases.
203
Set Up and Maintain Your Salesforce Organization Licenses Overview
External Objects
(Salesforce
Read, Create, Edit Read, Create, Edit Read, Create, Edit Read, Create, Edit Read, Create, Edit
Connect)
Events and
Calendar
Read, Create, Edit, Read, Create, Edit, Read, Create, Edit, Read, Create, Edit,
Delete Delete Delete Delete
Ideas
Read, Create Read, Create Read, Create Read, Create Read, Create
Leads
Read, Create, Edit
List Views
Read, Create, Edit Read, Create, Edit Read, Create, Edit Read, Create, Edit
Notes and
Attachments
Exceptions apply
8
Opportunities
Read, Create, Edit
Orders 9
Read, Create, Edit, Read, Create, Edit, Read, Create, Edit,
Delete Delete Delete
Price Books
Read Only Read Only Read Only
Products
Read Only Read Only Read Only
1
A user with a Partner Community license must be associated with a business account that is enabled as a partner
account. Partner users can’t be associated with person accounts.
8
For the Customer Community license, access to Notes and Attachments for most objects is enabled by default. If your users with
a Customer Community license can’t access Notes and Attachments on accounts and contacts, contact Salesforce.
9
Once orders are enabled, standard profiles automatically include all object permissions for orders, as well as read access for
products and price books. If your external users are assigned to a standard profile and these object permissions aren’t appropriate
for them, consider creating custom profiles that don’t include these object permissions.
204
Set Up and Maintain Your Salesforce Organization Licenses Overview
Reports12
Create and Manage Create and Manage Create and Manage Create and Manage
Service
Appointment
Read, Create, Edit Read, Create, Edit Read, Create, Edit
Service Contracts
Read, Create, Edit Read, Create, Edit
Task
Read Only Read, Create, Edit, Read, Create, Edit, Read, Create, Edit, Read, Create, Edit,
Delete Delete Delete Delete
Work Order
Read, Create, Edit Read, Create, Edit Read, Create, Edit Read, Create, Edit, Read, Create, Edit,
Delete Delete
(Can be used for (Can be used for
employees, but not employees, but not
external users (e.g. external users (e.g.
customers, partners) customers, partners)
1
A user with a Partner Community license must be associated with a business account that is enabled as a partner
account. Partner users can’t be associated with person accounts.
10
Quotes aren’t supported in Lightning communities.
11
Partner users can’t access the Quotes tab in communities using the Salesforce Tabs + Visualforce template.
12
For the Customer Community Plus, Partner Community, and Employee Community licenses to create and edit reports, the user
also needs the “Create and Customize Reports,” “Report Builder,” and “Edit My Reports” permissions. For more information see,
Set Up Report Management for External Users—Create and Edit Reports.
205
Set Up and Maintain Your Salesforce Organization Licenses Overview
API Calls per Day 0 200 per member 200 per member 1000 per member 1000 per member
(member-based (member-based for Enterprise Edition for Enterprise Edition
license) license) orgs orgs
10 per member 10 per member 5000 per member 5000 per member
(login-based license) (login-based license) for Unlimited Edition for Unlimited Edition
orgs orgs
Chatter (People,
Groups, Feeds,
Private Messages)
Custom Objects
10 custom objects per 10 custom objects 10 custom objects 10 custom objects 110 custom objects
license (custom per license (custom per license (custom per license (custom per license (custom
objects in managed objects in managed objects in managed objects in managed objects in managed
packages don’t count packages don’t packages don’t packages don’t packages don’t
towards this limit) count towards this count towards this count towards this count towards this
limit) limit) limit) limit)
Delegated
Administration
Files15 and
Content16
Content is not Create, Read, Edit, Create, Read, Edit, Create, Read, Edit, Create, Read, Edit,
available with Delete Delete Delete Delete
Customer Community
licenses.
Knowledge
Read Only Read Only Read Only Read Only Read Only
1
A user with a Partner Community license must be associated with a business account that is enabled as a partner
account. Partner users can’t be associated with person accounts.
13
For the Employee Apps Starter license, the data storage limit is 20 MB per user license, and the file storage limit is 2 GB per user
license.
14
For the Employee Apps Plus license, the data storage limit is 20 MB per user license for EE editions, and 120 MB per user license
for UE editions. File storage limit is 2 GB per user license.
15
Salesforce Files with Chatter enabled lets you share files in a group, feed, and post a file to a record. With Salesforce CRM Content
enabled, Files gives you access to Libraries, content deliveries, and file tagging. Salesforce Files Sync is not available in Communities.
16
Library administrators can manage library permissions to determine the level of access users have to content libraries.
206
Set Up and Maintain Your Salesforce Organization Licenses Overview
Sharing Sets
Salesforce1 Mobile
App
17
Send Email
Tokens
Create, Read, Edit, Create, Read, Edit,
Delete Delete
18
Workflow Approvals
SEE ALSO:
User Licenses
Authenticated Website User Licenses
Partner Portal User Licenses
Customer Portal User Licenses
Database.com Admin Designed for users who need to administer Database.com Available in: Database.com
Database.com, or make changes to Edition: 3 Edition
Database.com schemas or other metadata
using the point-and-click tools in the
Database.com Console.
1
A user with a Partner Community license must be associated with a business account that is enabled as a partner
account. Partner users can’t be associated with person accounts.
17
Partner users can’t see emails in the case feed.
18
Customer Community license holders can submit for approval, but don’t have access to approve anything.
207
Set Up and Maintain Your Salesforce Organization Licenses Overview
Database.com Light User Designed for users who need only Database.com access to data, Database.com
need to belong to Database.com groups (but no other groups), Edition: 0
and don't need to belong to roles or queues. Access to data is Enterprise, Unlimited,
determined by organization-wide sharing defaults. and Database.com
Edition: 0
Contact
Database.com to
obtain Database.com
Light User Licenses
SEE ALSO:
User Licenses
Assets
Cases
Contacts
Custom Objects
Documents
Ideas
Knowledge
208
Set Up and Maintain Your Salesforce Organization Licenses Overview
Products
Solutions
Work Orders
SEE ALSO:
User Licenses
Note:
• You can't purchase additional Guest User licenses for Force.com sites.
• The Authenticated Website high-volume portal user license is specifically
designed to be used with Force.com sites. Because it's designed for high
volumes, it should be a cost-effective option to use with Force.com sites.
Site.com Designed for Performance, Unlimited, and Enterprise Edition users who need
Only access to Site.com but not to standard CRM functionality. Site.com Only users are
entitled to the same rights as Force.com - One App users, plus they have access to
the Content app. However, they don't have access to the Accounts and Contacts
objects. Users have access to an unlimited number of custom tabs but are limited
to the use of one custom app, which is defined as up to 20 custom objects.
Each Site.com Only user also needs either a Site.com Contributor or Site.com
Publisher feature license to access Site.com.
SEE ALSO:
User Licenses
209
Set Up and Maintain Your Salesforce Organization Licenses Overview
Documents
Ideas
Knowledge
Orders
Price Books
Products
Custom Objects
SEE ALSO:
User Licenses
It allows contacts to log in to your Customer Portal to manage customer support. You can associate Available in: Enterprise,
users who have a Customer Portal Manager Standard license with the Customer Portal User profile Performance, Unlimited,
or a profile cloned and customized from the Customer Portal User profile. This standard profile lets and Developer Editions
users view and edit data they directly own or data owned by or shared with users below them in
the Customer Portal role hierarchy. These users can also view and edit cases where they are listed
in the Contact Name field.
Users with the Customer Portal Manager Standard license can:
• View contacts, price books, and products.
• View and edit accounts and cases.
210
Set Up and Maintain Your Salesforce Organization Licenses Overview
Note: Once orders are enabled, standard profiles automatically include all object permissions for orders, as well as read access
for products and price books. If your external users are assigned to a standard profile and these object permissions aren’t appropriate
for them, consider creating custom profiles that don’t include these object permissions.
This table lists the permissions that can be given to Customer Portal users.
Assets
Cases
Contacts
Contracts
Custom Objects
Documents
Ideas
Knowledge
Orders
Price Books
Products
Solutions
Note:
1
• To create and edit reports in communities, the user also needs the “Create and Customize Reports,” “Report Builder,” and
“Edit My Reports” permissions. These permissions allow users to create and edit reports in communities, not portals. By default,
211
Set Up and Maintain Your Salesforce Organization Licenses Overview
reports and dashboards are read-only. For more information see, Set Up Report Management for External Users—Create and
Edit Reports.
SEE ALSO:
User Licenses
Note: Once orders are enabled, standard profiles automatically include all object permissions for orders, as well as read access
for products and price books. If your external users are assigned to a standard profile and these object permissions aren’t appropriate
for them, consider creating custom profiles that don’t include these object permissions.
This table lists the permissions that can be given to Customer Portal—Enterprise Administration users.
Assets
Cases
Contacts
Contracts
Custom Objects
Documents
212
Set Up and Maintain Your Salesforce Organization Licenses Overview
Knowledge
Orders
Price Books
Products
Solutions
Note:
1
• To create and edit reports in communities, the user also needs the “Create and Customize Reports,” “Report Builder,” and
“Edit My Reports” permissions. These permissions allow users to create and edit reports in communities, not portals. By default,
reports and dashboards are read-only. For more information see, Set Up Report Management for External Users—Create and
Edit Reports.
SEE ALSO:
User Licenses
This table lists the permissions that can be given to Partner Portal users.
Approvals
Assets
213
Set Up and Maintain Your Salesforce Organization Licenses Overview
Cases
Contacts
Contracts
Custom Objects
Documents
Ideas
Knowledge
Leads
Opportunities
Orders
Price Books
Products
Solutions
Note:
1
• A partner portal user can create and edit campaigns in a community but not in a legacy portal. For the Partner Community
license, to read, create, and edit campaigns in the user interface, the partner user also needs the “Marketing User” permission.
With these permissions, a partner user can: search for and add their contacts or leads as campaign members, access reports
on their campaigns, and mass-email or mass-assign their contacts and leads on a campaign.
2
• To create and edit reports in communities, the user also needs the “Create and Customize Reports,” “Report Builder,” and
“Edit My Reports” permissions. These permissions allow users to create and edit reports in communities, not portals. By default,
reports and dashboards are read-only. For more information see, Set Up Report Management for External Users—Create and
Edit Reports.
SEE ALSO:
User Licenses
214
Set Up and Maintain Your Salesforce Organization Licenses Overview
SEE ALSO:
Set Your Company Up in Salesforce
Tip: Permission sets and permission set licenses have different purposes. Read on to save Available in: both Salesforce
yourself some trouble later. Classic and Lightning
Experience
• Permission set licenses extend the functionality of user licenses. With permission set
licenses, you can assign more permissions to users than their user license supports. The availability of each
permission set license
• Permission sets contain settings that grant users permissions. Permission sets extend
depends on the edition
users’ functional access without changing their profiles.
requirements for permission
You can create a permission set for a specific feature’s permission set license. Enable the selected sets and the related feature.
permission set license permissions within the permission set. Then, users assigned to the permission
set are granted the functionality in it that you chose.
You can also create a permission set that is not specific to a single user license or permission set license. First, assign users to the permission
set licenses you want. Then, assign them to the permission set you created and enable the permissions you need.
Note: Salesforce validates if users have the licenses required for a permission set. If you assign users to a permission set who don’t
have the user permissions required, you receive an assignment error.
215
Set Up and Maintain Your Salesforce Organization Licenses Overview
Check out this table for examples of how different permission set and permission set license combinations affect users. Most features
backed by permission set licenses require that you create a permission set for its permissions, but not all do. The Sales Console permission
set license comes with a permission set already created for you.
Associate permissions that are backed by 1. Assign the Identity Connect, Voice Users assigned to the permission set are
more than one permission set license with Inbound User, and Voice Outbound User granted the Identity Connect, Voice Inbound
a permission set. For example, you could permission set licenses to the users who Calls, and Voice Outbound Calls permissions.
associate the following permission set need them.
licenses with a single permission set you
create: 2. Create a permission set. In the license
dropdown menu, select --None--.
• Identity Connect
3. In your permission set, enable the
• Voice Inbound User
following permissions:
• Voice Outbound User
• Use Identity Connect
• Access Voice Inbound Calls
• Access Voice Outbound Calls
Associate a permission that is backed by a 1. Assign the Identity Connect permission Users assigned to the permission set are
permission set license and also include other set license to the users who need it. granted the Identity Connect and Lightning
user permissions. For example, you could Experience User permissions.
create a permission set with the permissions 2. Create a permission set. In the license
backed by the Identity Connect permission dropdown menu, select --None--.
set license and also include the Lightning 3. In your permission set, enable the
Experience User permission. following permissions:
• Use Identity Connect
• Lightning Experience User
SEE ALSO:
Permission Set Licenses
User Licenses
Create Permission Sets
App and System Settings in Permission Sets
216
Set Up and Maintain Your Salesforce Organization Licenses Overview
If you select a specific permission set license, any user assigned to the permission set is auto-assigned the permission set license. If
you leave the default of --None--, you must manually assign the permission set license to users before you can add them to the new
permission set.
6. Select the feature permissions to enable for your permission set. Use Find Settings... to search for them quickly. Refer to
the documentation for your feature to see what permissions are available with a specific permission set license.
217
Set Up and Maintain Your Salesforce Organization Licenses Overview
Example: Let’s say you purchased an Identity Connect permission set license. The Identity Connect permission set license contains
a permission that grants access to the Identity Connect product features, such as providing Active Directory integration. To grant
a user access to this permission:
• ensure that the user has the Identity Connect permission set license. If users don’t have the associated permission set license
for a permission set you create, they can’t use the permission set. You can check which permission set licenses a user has by
viewing the Permission Set License Assignments section of the user detail page.
• create a permission set and name it something like “Identity Connect Permissions”; from the License drop-down options,
choose Identity Connect. While still in the permission set, make sure to go to Find Settings..., search for Identity
Connect and select the Use Identity Connect system permission.
• assign a user to the permission set.
218
Set Up and Maintain Your Salesforce Organization Licenses Overview
Note: After assigning the CRM User, Sales User, or Service User permission set license, assigning a permission set isn’t required.
SEE ALSO:
Permission Set Licenses
Remove a Permission Set License from a User
Permission Sets
Assign Permission Sets to a Single User
IN THIS SECTION:
View Your Organization’s Feature Licenses
View the feature licenses your company has purchased to know what you have available to assign to your users.
219
Set Up and Maintain Your Salesforce Organization Licenses Overview
SEE ALSO:
View and Manage Users
Set Your Company Up in Salesforce
220
Set Up and Maintain Your Salesforce Organization Licenses Overview
Site.com Publisher User Create and style websites, control the layout
and functionality of pages and page elements,
and add and edit content on Site.com Studio.
SEE ALSO:
View Your Organization’s Feature Licenses
Enable a Feature License for a User
View and Manage Users
Feature Licenses Overview
221
Set Up and Maintain Your Salesforce Organization Licenses Overview
Usage-based Entitlements
A usage-based entitlement is a limited resource that your organization can use on a periodic
EDITIONS
basis—such as the allowed number of monthly logins to a Partner Community or the record limit
for Data.com list users. Available in: Salesforce
Some entitlements are persistent. These entitlements give your Salesforce org a set number of the Classic and Lightning
resource, and the amount allowed doesn’t change unless your contract is changed. For example, Experience
if your company purchases monthly subscriptions for 50 members to access a Partner Community,
Available in: Enterprise,
you can assign up to 50 individuals the ability to log into the community as many times as they Performance, and
want. Unlimited Editions
Other entitlements are not persistent; these work like credit. Your org can use up to the amount
allowed of that entitlement over the time indicated by the resource’s frequency. If the entitlement
has a frequency of Once, your org will have to purchase more of the resource to replenish the allowance. If the entitlement has a frequency
of Monthly, the start and end of the month is determined by your contract, rather than the calendar month.
For example:
• Company A purchases 50 monthly logins for a Partner Community, and on January 15 that org has a pool of 50 logins. Each time
someone logs in, one login is used. On February 15, no matter how many were used in the previous month, the pool is refreshed
and 50 logins are available through March 14.
• Company B purchases 2,000 records for Data.com list users with an end date of May 15. That org’s list users can add or export up to
2,000 records until that date. If the org reaches that limit before May 15, the Data.com list users won’t be able to add or export
additional records. To unblock users, Company B can purchase additional allowance for that resource.
Note: If your org has multiple contracts with the same Resource and the Resource ID is (tenant), you will still only
see one row for that entitlement, but the data in that row will reflect your combined contracts. In this case, Start Date reflects
the earliest start date among those contracts, and End Date reflects the latest end date among those contracts.
Like feature licenses, usage-based entitlements don’t limit what you can do in Salesforce; they add to your functionality. If your usage
exceeds the allowance, Salesforce will contact you to discuss additions to your contract.
IN THIS SECTION:
View Your Salesforce Org’s Usage-Based Entitlements
Look at your company’s usage-based entitlements to know which resources your org is entitled to.
Usage-based Entitlement Fields
The Usage-based Entitlements related list displays the following information. These fields aren’t editable, and they are only visible
if your Salesforce org is entitled to a resource.
SEE ALSO:
Set Your Company Up in Salesforce
View and Manage Users
222
Set Up and Maintain Your Salesforce Organization Licenses Overview
To view usage-based
entitlements:
• “View Setup and
Configuration”
223
Set Up and Maintain Your Salesforce Organization Passwords
Last Updated The most recent date and time when Salesforce took a snapshot
of your org’s usage for this resource.
For more information about resources your org is entitled to, contact Salesforce.
SEE ALSO:
Usage-based Entitlements
View Your Salesforce Org’s Usage-Based Entitlements
Passwords
Salesforce provides each user in your organization with a unique username and password that must
EDITIONS
be entered each time a user logs in. As an administrator, you can configure several settings to ensure
that your users’ passwords are strong and secure. Available in: both Salesforce
• Password policies—Set various password and login policies, such as specifying an amount of Classic and Lightning
time before all users’ passwords expire and the level of complexity required for passwords. See Experience
Set Password Policies on page 585.
Password policies available
• User password expiration—Expire the passwords for all users in your organization, except for in: All Editions
users with “Password Never Expires” permission. See Expire Passwords for All Users on page
588.
USER PERMISSIONS
• User password resets—Reset the password for specified users. See Reset Passwords for Your
Users on page 228. To set password policies:
• Login attempts and lockout periods—If a user is locked out of Salesforce because of too many • “Manage Password
failed login attempts, you can unlock them. See Edit Users on page 175. Policies”
To reset user passwords
and unlock users:
Password Requirements • “Reset User Passwords
and Unlock Users”
A password can’t contain a user’s username and can’t match a user’s first or last name. Passwords
also can’t be too simple. For example, a user can’t change their password to password.
For all editions, a new organization has the following default password requirements. You can change these password policies in all
editions, except for Personal Edition.
• A password must contain at least eight characters, including one alphabetic character and one number.
• The security question’s answer can’t contain the user’s password.
• When users change their password, they can’t reuse their last three passwords.
IN THIS SECTION:
Set Password Policies
Improve your Salesforce org security with password protection. You can set password history, length, and complexity requirements
along with other values. In addition, you can specify what to do if a user forgets their password.
224
Set Up and Maintain Your Salesforce Organization Passwords
Field Description
USER PERMISSIONS
User passwords expire in The length of time until user passwords expire To set password policies:
and must be changed. The default is 90 days. • “Manage Password
This setting isn’t available for Self-Service Policies”
portals. This setting doesn’t apply to users with
the “Password Never Expires” permission.
If you change the User passwords
expire in setting, the change affects a
user’s password expiration date if that user’s
new expiration date is earlier than the old
expiration date or if you remove an expiration
by selecting Never expires.
225
Set Up and Maintain Your Salesforce Organization Passwords
Field Description
time they change their passwords. The default is 8
characters.
Password complexity requirement The requirement for which types of characters must be used in
a user’s password.
Complexity levels:
• No restriction—allows any password value and is
the least secure option.
• Must mix alpha and numeric
characters—requires at least one alphabetic character
and one number, which is the default.
• Must mix alpha, numeric, and special
characters—requires at least one alphabetic character,
one number, and one of the following special characters: !
# $ % - _ = + < >.
• Must mix numbers and uppercase and
lowercase letters—requires at least one number,
one uppercase letter, and one lowercase letter.
• Must mix numbers, uppercase and
lowercase letters, and special
characters—requires at least one number, one
uppercase letter, and one lowercase letter, and one of the
following special characters: ! # $ % - _ = + < >.
Password question requirement The values are Cannot contain password, meaning
that the answer to the password hint question cannot contain
the password itself; or None, the default, for no restrictions on
the answer. The user’s answer to the password hint question is
required. This setting is not available for Self-Service portals,
Customer Portals, or partner portals.
Maximum invalid login attempts The number of login failures allowed for a user before they
become locked out. This setting isn’t available for Self-Service
portals.
Lockout effective period The duration of the login lockout. The default is 15 minutes. This
setting isn’t available for Self-Service portals.
Note: If users are locked out, they must wait until the
lockout period expires. Alternatively, a user with the “Reset
User Passwords and Unlock Users” permission can unlock
them from Setup with the following procedure:
a. Enter Users in the Quick Find box.
226
Set Up and Maintain Your Salesforce Organization Passwords
Field Description
b. Select Users.
c. Selecting the user.
d. Click Unlock.
This button is only available when a user is locked
out.
Obscure secret answer for password resets This feature hides answers to security questions as you type. The
default is to show the answer in plain text.
Require a minimum 1 day password lifetime When you select this option, a password can’t be changed more
than once in a 24-hour period.
Note: This setting is not available for Self-Service portals, Customer Portals, or partner portals.
Field Description
Message If set, this message appears in the “We can’t reset your password”
email. Users receive this email when they lock themselves out
by trying to reset their password too many times. The text also
appears at the bottom of the Answer Your Security Question
page when users reset their passwords.
You can tailor the text to your organization by adding the name
of your internal help desk or a system administrator. For the email,
the message appears only for accounts that need an
administrator to reset them. Lockouts due to time restrictions
get a different system email message.
Help link If set, this link displays with the text defined in the Message
field. In the “We can’t reset your password” email, the URL displays
exactly as typed in the Help link field, so the user can see
where the link goes. This URL display format is a security feature,
because the user is not within a Salesforce organization.
On the Answer Your Security Question page, the Help link
URL combines with the text in the Message field to make a
227
Set Up and Maintain Your Salesforce Organization Passwords
Field Description
clickable link. Security isn’t an issue, because the user is in a
Salesforce organization when changing passwords.
Valid protocols:
• http
• https
• mailto
4. Specify an alternative home page for users with the “API Only User” permission. After completing user management tasks such as
resetting a password, API-only users are redirected to the URL specified here, rather than to the login page.
5. Click Save.
SEE ALSO:
View and Edit Password Policies in Profiles
Passwords
Tip: You can perform this and other administration tasks from the SalesforceA mobile app.
USER PERMISSIONS
To reset passwords:
Considerations for Resetting Passwords • “Reset User Passwords
• Only an administrator can reset single sign-on user passwords. Single sign-on users can’t reset and Unlock Users”
their own passwords. OR
• After resetting a password, users might be required to activate their computers to successfully Permission to edit the
log in to Salesforce. user via the user
interface or the API
• Resetting a locked-out user’s password automatically unlocks the user’s account.
• When a user loses a password, the user can click the forgot password link on the login page to
receive an email with steps to reset a password. The user must correctly answer the security
question to reset the password. In Password Policies, you can customize the security question page that the user sees with information
about where to go to for help.
228
Set Up and Maintain Your Salesforce Organization Passwords
Note: If the user hasn’t set a security question, or doesn’t answer the security question correctly, the password isn’t reset.
A user can request to reset a password through the forgot password link a maximum of five times in a 24-hour period.
Administrators can reset a user’s password as often as needed.
SEE ALSO:
Passwords
Help Users From Anywhere With SalesforceA
SEE ALSO:
Passwords
229
Set Up and Maintain Your Salesforce Organization Control Login Access
Note: Users can’t grant login access to managed packages that are licensed to your USER PERMISSIONS
entire Salesforce org. Only admins with the “Manage Users” permission enabled on their
profiles can grant access to these publishers. Also, some managed packages don’t have To control login access
login access. If a package isn’t listed on the Login Access Policies page, login access isn’t policies:
available for that package. • “Manage Login Access
Policies”
4. Click Save.
SEE ALSO:
Log In as Another User
2. Click the Login link next to the username. This link is available only for users who have granted
login access to an administrator or in organizations where administrators can log in as any user.
230
Set Up and Maintain Your Salesforce Organization Delegate Administrative Duties
SEE ALSO:
Control Login Access
View and Manage Users
• Create and edit users in specified roles and all subordinate roles. User editing tasks include Available in: Enterprise,
resetting passwords, setting quotas, creating default opportunity teams, and creating personal Performance, Unlimited,
groups for those users. Developer, and
• Unlock users. Database.com Editions
Note: When delegating administration, keep the following in mind. Delegated administrators:
• Can’t assign profiles or permission sets with the “Modify All Data” permission
• Don’t see the None Specified option when selecting a role for new users
• Need access to custom objects to access the merge fields on those objects from formulas
• Can’t modify permission sets
To delegate administration of particular objects, use object permissions, such as “View All” and “Modify All,” instead.
IN THIS SECTION:
Define Delegate Administrators
Enable delegated administrators to manage users in specified roles and all subordinate roles. You can assign specified profiles to
those users, and log in as users who have granted login access to administrators. A delegated administration group is a group of
users who have the same admin privileges. These groups are not related to public groups used for sharing.
231
Set Up and Maintain Your Salesforce Organization Topics and Tags Settings
SEE ALSO:
Delegate Administrative Duties
IN THIS SECTION:
USER PERMISSIONS
Enable and Configure Topics for Objects
Enable topics for objects so users can add topics to records and organize them by common To modify topic and tag
settings:
themes. This powerful feature is available with or without Chatter.
• “Customize Application”
Enable Tags
Allow users to add personal or public tags to most records. Tags are words or short phrases that
users associate to records to describe and organize data in a personalized way.
Adding Tags to the Sidebar
Delete Personal Tags for Deactivated Users
Your org can have up to 5,000,000 personal and public tags applied to records across all users. If your org is approaching this limit,
delete personal tags for deactivated users.
232
Set Up and Maintain Your Salesforce Organization Topics and Tags Settings
1. From Setup, enter Topics for Objects in the Quick Find box, then select Topics
for Objects. USER PERMISSIONS
2. Select an object. To enable topics for objects:
3. At the right, select Enable Topics. • “Customize Application”
4. Select the text fields that you want to use for topic suggestions. (From a combination of the
selected fields, up to 3 suggestions are made from the first 2,000 characters.)
5. Click Save to save changes for all objects.
Now, users with access to the enabled objects and appropriate topics permissions can:
• See topic assignments and suggestions on records of that object type
• Add and remove topics from records of that object type
• Use topics on records of that object type to filter their list views
Additionally, if your organization uses Chatter, users can click any topic assigned to a record to go directly to a topic page. There, they’ll
find other records on the topic, people who are knowledgeable about the topic, and other related information.
Enable Tags
Allow users to add personal or public tags to most records. Tags are words or short phrases that
EDITIONS
users associate to records to describe and organize data in a personalized way.
1. From Setup, enter Tag Settings in the Quick Find box, then select Tag Settings. Available in: Salesforce
Classic
2. Select Enable Personal Tags and Enable Public Tags to allow users to add personal and
public tags to records. Deselect both options to disable tags. Tag settings available in: All
3. Specify which objects and page layouts display tags in a tag section at the top of record detail Editions
pages. The tag section is the only place where a user can add tags to a record.
For example, if you select only account page layouts, users in your org can only tag account USER PERMISSIONS
records. If you select only account page layouts for personal tags and not public tags, users can
To modify tag settings:
tag account records only with personal tags.
• “Customize Application”
4. Click Save.
When enabling tags, keep these guidelines in mind.
• You can also add tags to page layouts by editing a layout directly. However, you can’t add tags to feed-based page layouts.
• Search results and the Tags page don’t display custom objects without an associated tab, even if tags are enabled for the custom
object. If you want custom object records to appear, create an associated tab. The tab doesn’t have to be visible to users.
233
Set Up and Maintain Your Salesforce Organization Topics and Tags Settings
• Customer Portal users can't view the tags section of a page, even if it is included in a page layout.
• When Chatter is disabled, joined reports can’t be tagged.
SEE ALSO:
Topics and Tags Settings
Tip: If you want the Tags component to appear on all pages and not just the Home tab, from To modify tag settings:
Setup, enter User Interface in the Quick Find box, then select User Interface, • “Customize Application”
and select Show Custom Sidebar Components on All Pages.
SEE ALSO:
Topics and Tags Settings
234
Set Up and Maintain Your Salesforce Organization Control Who Sees What
Note: Field-level security doesn’t prevent searching on the values in a field. When search terms match on field values protected
by field-level security, the associated records are returned in the search results without the protected fields and their values.
Record-Level Security (Sharing)
After setting object- and field-level access permissions, you may want to configure access settings for the actual records themselves.
Record-level security lets you give users access to some object records, but not others. Every record is owned by a user or a queue.
The owner has full access to the record. In a hierarchy, users higher in the hierarchy always have the same access to users below
them in the hierarchy. This access applies to records owned by users, as well as records shared with them.
To specify record-level security, set your organization-wide sharing settings, define a hierarchy, and create sharing rules.
• Organization-wide sharing settings—The first step in record-level security is to determine the organization-wide sharing settings
for each object. Organization-wide sharing settings specify the default level of access users have to each others’ records.
235
Set Up and Maintain Your Salesforce Organization Control Who Sees What
You use organization-wide sharing settings to lock down your data to the most restrictive level, and then use the other record-level
security and sharing tools to selectively give access to other users. For example, let’s say users have object-level permissions to
read and edit opportunities, and the organization-wide sharing setting is Read-Only. By default, those users can read all opportunity
records, but can’t edit any unless they own the record or are granted additional permissions.
• Role hierarchy—Once you’ve specified organization-wide sharing settings, the first way you can give wider access to records is
with a role hierarchy. Similar to an organization chart, a role hierarchy represents a level of data access that a user or group of
users needs. The role hierarchy ensures that users higher in the hierarchy always have access to the same data as people lower
in their hierarchy, regardless of the organization-wide default settings. Role hierarchies don’t have to match your organization
chart exactly. Instead, each role in the hierarchy should represent a level of data access that a user or group of users needs.
You can also use a territory hierarchy to share access to records. A territory hierarchy grants users access to records based on
criteria such as zip code, industry, revenue, or a custom field that is relevant to your business. For example, you could create a
territory hierarchy in which a user with the “North America” role has access to different data than users with the “Canada” and
“United States” roles.
Note: Although it’s easy to confuse permission sets and profiles with roles, they control two very different things. Permission
sets and profiles control a user’s object and field access permissions. Roles primarily control a user’s record-level access
through role hierarchy and sharing rules.
• Sharing rules—Sharing rules let you make automatic exceptions to organization-wide sharing settings for particular sets of users,
to give them access to records they don’t own or can’t normally see. Sharing rules, like role hierarchies, are only used to give
additional users access to records—they can’t be stricter than your organization-wide default settings.
• Manual sharing—Sometimes it’s impossible to define a consistent group of users who need access to a particular set of records.
In those situations, record owners can use manual sharing to give read and edit permissions to users who would not have access
to the record any other way. Although manual sharing isn’t automated like organization-wide sharing settings, role hierarchies,
or sharing rules, it gives record owners the flexibility to share particular records with users that need to see them.
• Apex managed sharing—If sharing rules and manual sharing don’t give you the control you need, you can use Apex managed
sharing. Apex managed sharing allows developers to programmatically share custom objects. When you use Apex managed
sharing to share a custom object, only users with the “Modify All Data” permission can add or change the sharing on the custom
object's record, and the sharing access is maintained across record owner changes.
IN THIS SECTION:
Profiles
Profiles define how users access objects and data, and what they can do within the application. When you create users, you assign
a profile to each one.
SEE ALSO:
Profiles
Permission Sets
Field-Level Security
Sharing Settings
236
Set Up and Maintain Your Salesforce Organization User Permissions and Access
Tab settings
Object permissions
Field permissions
Custom permissions
Login hours
237
Set Up and Maintain Your Salesforce Organization Profiles
SEE ALSO:
Profiles
Permission Sets
Revoking Permissions and Access
Profiles
Profiles define how users access objects and data, and what they can do within the application.
EDITIONS
When you create users, you assign a profile to each one.
Available in: Salesforce
Watch how you can grant users access to objects using profiles. Classic and Lightning
Who Sees What: Object Access (Salesforce Classic) Experience
IN THIS SECTION:
Work in the Enhanced Profile User Interface Page
In the enhanced profile user interface, the profile overview page provides an entry point for all settings and permissions for a profile.
Work in the Original Profile Interface
To view a profile on the original profile page, from Setup, enter Profiles in the Quick Find box, then select Profiles, then
select the profile you want.
Standard Profiles
Every org includes standard profiles that you can assign to users. In standard profiles, you can edit some settings.
Manage Profile Lists
Profiles define how users access objects and data, and what they can do within the application. When you create users, you assign
a profile to each one. To view the profiles in your organization, from Setup, enter Profiles in the Quick Find box, then
select Profiles.
Clone Profiles
Instead of creating profiles, save time by cloning existing profiles and customizing them.
Viewing a Profile's Assigned Users
To view all users that are assigned to a profile from the profile overview page, click Assigned Users (in the enhanced profile user
interface) or View Users (in the original profile user interface). From the assigned users page, you can:
Edit Object Permissions in Profiles
Object permissions specify the type of access that users have to objects.
238
Set Up and Maintain Your Salesforce Organization Profiles
SEE ALSO:
Edit Multiple Profiles with Profile List Views
239
Set Up and Maintain Your Salesforce Organization Profiles
Note: You can’t delete a profile that’s assigned to a user, even if the user is inactive. Custom Profiles available in:
Professional, Enterprise,
• Change the profile name or description by clicking Edit Properties Performance, Unlimited,
• View a list of users who are assigned to the profile and Developer Editions
• Under Apps and System, click any of the links to view or edit permissions and settings.
USER PERMISSIONS
IN THIS SECTION: To view profiles:
Enhanced Profile User Interface Overview • “View Setup and
Configuration”
App and System Settings in the Enhanced Profile User Interface
To delete profiles and edit
Search in the Enhanced Profile User Interface profile properties:
To locate an object, tab, permission, or setting name on a profile page, type at least three • “Manage Profiles and
consecutive letters in the Find Settings box. As you type, suggestions for results that Permission Sets”
match your search terms appear in a list. Click an item in the list to go to its settings page.
Assign Record Types and Page Layouts in the Enhanced Profile User Interface
View and Edit Login Hours in the Enhanced Profile User Interface
For each profile, you can specify the hours when users can log in.
Restrict Login IP Ranges in the Enhanced Profile User Interface
Control login access at the user level by specifying a range of allowed IP addresses on a user’s profile. When you define IP address
restrictions for a profile, a login from any other IP address is denied.
SEE ALSO:
Enhanced Profile User Interface Overview
240
Set Up and Maintain Your Salesforce Organization Profiles
Note: You can't use the enhanced profile user interface if: Available in: Professional,
Enterprise, Performance,
• You use Microsoft® Internet Explorer® 6 or earlier to manage your profiles (unless you've Unlimited, Developer, and
installed the Google Chrome Frame™ plug-in for Internet Explorer). Database.com Editions
• Your organization uses category groups on guest profiles used for sites.
Custom Profiles available in:
• Your organization delegates partner portal administration to portal users. Professional, Enterprise,
Performance, Unlimited,
and Developer Editions
SEE ALSO:
Work in the Enhanced Profile User Interface Page
USER PERMISSIONS
Profiles
To enable the enhanced
profile user interface:
• “Customize Application”
Apps are sets of tabs that users can change by selecting the drop-down menu in the header. All Available in: Enterprise,
underlying objects, components, data, and configurations remain the same, regardless of the Performance, Unlimited,
selected app. In selecting an app, users navigate in a set of tabs that allows them to efficiently use Developer, and
the underlying functionality for app-specific tasks. For example, let's say you do most of your work Database.com Editions
in the sales app, which includes tabs like Accounts and Opportunities. To track a new marketing
campaign, rather than adding the Campaigns tab to the sales app, you select Marketing from the
app drop-down to view your campaigns and campaign members.
In the enhanced profile user interface, the Apps section of the overview page contains settings that are directly associated with the
business processes that the apps enable. For example, customer service agents may need to manage cases, so the “Manage Cases”
permission is in the Call Center section of the App Permissions page. Some app settings aren't related to app permissions. For example,
to enable the Time-Off Manager app from the AppExchange, users need access to the appropriate Apex classes and Visualforce pages,
as well as the object and field permissions that allow them to create new time-off requests.
Note: Regardless of the currently selected app, all of a user's permissions are respected. For example, although the “Import Leads”
permission is under the Sales category, a user can import leads even while in the Service app.
241
Set Up and Maintain Your Salesforce Organization Profiles
System Settings
Some system functions apply to an organization and not to any single app. For example, login hours and login IP ranges control a user's
ability to log in, regardless of which app the user accesses. Other system functions apply to all apps. For example, the “Run Reports” and
“Manage Dashboards” permissions allow managers to create and manage reports in all apps. In some cases, such as with “Modify All
Data,” a permission applies to all apps, but also includes non-app functions, like the ability to download the Data Loader.
SEE ALSO:
Enhanced Profile User Interface Overview
Objects Object name Let’s say you have an Albums custom object. USER PERMISSIONS
Type albu, then select Albums.
To find permissions and
• Fields Parent object name Let’s say your Albums object contains a settings in a profile:
Description field. To find the Description • “View Setup and
• Record types
field for albums, type albu, select Albums, Configuration”
• Page layout and scroll down to Description under
assignments Field Permissions.
App and system Permission name Type api, then select API Enabled.
permissions
All other categories Category name To find Apex class access settings, type apex,
then select Apex Class Access. To find
custom permissions, type cust, then select
Custom Permissions. And so on.
242
Set Up and Maintain Your Salesforce Organization Profiles
SEE ALSO:
Enhanced Profile User Interface Overview
Assign Record Types and Page Layouts in the Enhanced Profile User Interface
In the enhanced profile user interface, Record Types and Page Layout Assignments settings determine
EDITIONS
the record type and page layout assignment mappings that are used when users view records.
They also determine which record types are available when users create or edit records. Available in: Salesforce
To specify record types and page layout assignments: Classic and Lightning
Experience
1. From Setup, enter Profiles in the Quick Find box, then select Profiles.
2. Select a profile. Available in: Enterprise,
Performance, Unlimited,
3. In the Find Settings... box, enter the name of the object you want and select it from the list. and Developer Editions
4. Click Edit. Record types available in:
5. In the Record Types and Page Layout Assignments section, make changes to the settings as Professional, Enterprise,
needed. Performance, Unlimited,
and Developer Editions
Setting Description
Record Types Lists all existing record types for the object. USER PERMISSIONS
--Master-- is a system-generated record type that's used To edit record type and
when a record has no custom record type associated with it. page layout access settings:
When --Master-- is assigned, users can't set a record • “Manage Profiles and
type to a record, such as during record creation. All other Permission Sets”
record types are custom record types.
Page Layout Assignment The page layout to use for each record type. The page layout
determines the buttons, fields, related lists, and other elements
that users with this profile see when creating records with the
associated record type. Since all users can access all record
types, every record type must have a page layout assignment,
even if the record type isn't specified as an assigned record
type in the profile.
Assigned Record Types Record types that are checked in this column are available
when users with this profile create records for the object. If
--Master-- is selected, you can't select any custom record
types; and if any custom record types are selected, you can't
select --Master--.
Default Record Type The default record type to use when users with this profile
create records for the object.
The Record Types and Page Layout Assignments settings have some variations for the following objects or tabs.
243
Set Up and Maintain Your Salesforce Organization Profiles
Cases The cases object additionally includes Case Close settings, which show the page layout
assignments to use for each record type on closed cases. That is, the same record type
may have different page layouts for open and closed cases. With this additional setting,
when users close a case, the case may have a different page layout that exposes how
it was closed.
Home You can't specify custom record types for the home tab. You can only select a page
layout assignment for the --Master-- record type.
6. Click Save.
SEE ALSO:
How is record type access specified?
Assign Custom Record Types in Permission Sets
Work in the Enhanced Profile User Interface Page
View and Edit Login Hours in the Enhanced Profile User Interface
For each profile, you can specify the hours when users can log in.
EDITIONS
1. From Setup, enter Profiles in the Quick Find box, then select Profiles.
Available in: Salesforce
2. Select a profile and click its name.
Classic and Lightning
3. In the profile overview page, scroll down to Login Hours and click Edit. Experience
4. Set the days and hours when users with this profile can log in to the organization. Available in: Professional,
To allow users to log in at any time, click Clear all times. To prohibit users from using the Enterprise, Performance,
system on a specific day, set the start and end times to the same value. Unlimited, Developer, and
Database.com Editions
If users are logged in when their login hours end, they can continue to view their current page,
but they can’t take any further action. Custom Profiles available in:
Professional, Enterprise,
Performance, Unlimited,
and Developer Editions
USER PERMISSIONS
244
Set Up and Maintain Your Salesforce Organization Profiles
Note: The first time login hours are set for a profile, the hours are based on the organization’s Default Time Zone as
specified on the Company Information page in Setup. After that, any changes to the organization’s Default Time Zone
won’t change the time zone for the profile’s login hours. As a result, the login hours are always applied at those exact times even
if a user is in a different time zone or if the organization’s default time zone is changed.
Depending on whether you’re viewing or editing login hours, the hours may appear differently. On the Login Hours edit page,
hours are shown in your specified time zone. On the profile overview page, they appear in the organization’s original default time
zone.
SEE ALSO:
Enhanced Profile User Interface Overview
5. Optionally enter a description for the range. If you maintain multiple ranges, use the Description field to provide details, like which
part of your network corresponds to this range.
Note: You can further restrict access to Salesforce to only those IPs in Login IP Ranges. To enable this option, in Setup, enter
Session Settings in the Quick Find box, then select Session Settings and select Enforce login IP ranges on every
request. This option affects all user profiles that have login IP restrictions.
245
Set Up and Maintain Your Salesforce Organization Profiles
246
Set Up and Maintain Your Salesforce Organization Profiles
SEE ALSO:
Assign Page Layouts in the Original Profile User Interface
USER PERMISSIONS
Profile Settings in the Original Profile Interface To edit profiles:
View and Edit Desktop Client Access in the Original Profile User Interface • “Manage Profiles and
Permission Sets”
Assign Record Types to Profiles in the Original Profile User Interface
AND
View and Edit Login Hours in the Original Profile User Interface
“Customize Application”
Restrict Login IP Addresses in the Original Profile User Interface
247
Set Up and Maintain Your Salesforce Organization Profiles
Record types Record Type Settings section. You see the Edit
link only if record types exist for the object.
248
Set Up and Maintain Your Salesforce Organization Profiles
SEE ALSO:
Edit Profiles in the Original Profile Interface
249
Set Up and Maintain Your Salesforce Organization Profiles
View and Edit Desktop Client Access in the Original Profile User Interface
Connect Offline and Connect for Office are desktop clients that integrate Salesforce with your PC.
EDITIONS
As an administrator, you can control which desktop clients your users can access as well as whether
users are automatically notified when updates are available. Connect Offline available in:
Note: To access desktop clients, users must also have the “API Enabled” permission. Salesforce Classic
USER PERMISSIONS
250
Set Up and Maintain Your Salesforce Organization Profiles
Master is a system-generated record type that's used when a record has no custom record type associated with it. When you assign
Master, users can't set a record type to a record, such as during record creation. All other record types are custom record types.
6. If your organization uses person accounts, set default record type options for both person accounts and business accounts. From
the Business Account Default Record Type and then the Person Account Default Record Type
drop-down list, choose a default record type.
These settings are used when defaults are needed for both kinds of accounts, such as when converting leads.
7. Click Save.
Options in the Record Type Settings section are blank wherever no record types exist. For example, if you have two record types for
opportunities but no record types for accounts, the Edit link only displays for opportunities. In this example, the picklist values and
default value for the master are available in all accounts.
Note: If your organization uses person accounts, you can view the record type defaults for business accounts and person accounts.
Go to Account Record Type Settings in the profile detail page. Clicking Edit in the Account Record Type Settings is another way
to begin setting record type defaults for accounts.
SEE ALSO:
How is record type access specified?
Work in the Original Profile Interface
Assign Custom Record Types in Permission Sets
View and Edit Login Hours in the Original Profile User Interface
Specify the hours when users can log in based on the user profile.
EDITIONS
1. From Setup, enter Profiles in the Quick Find box, then select Profiles, and select a
profile. Available in: Salesforce
Classic and Lightning
2. Click Edit in the Login Hours related list.
Experience
3. Set the days and hours when users with this profile can use the system.
Available in: Enterprise,
To allow users to log in at any time, click Clear All Times. To prohibit users from using the Performance, Unlimited,
system on a specific day, set the start and end times to the same value. Developer, and
If users are logged in when their login hours end, they can continue to view their current page, Database.com Editions
but they can’t take any further action.
251
Set Up and Maintain Your Salesforce Organization Profiles
Note: The first time login hours are set for a profile, the hours are based on the organization’s Default Time Zone as
specified on the Company Information page in Setup. After that, any changes to the organization’s Default Time Zone
won’t change the time zone for the profile’s login hours. As a result, the login hours are always applied at those exact times even
if a user is in a different time zone or if the organization’s default time zone is changed.
Depending on whether you’re viewing or editing login hours, the hours appear differently. On the profile detail page, hours are
shown in your specified time zone. On the Login Hours edit page, they appear in the organization’s default time zone.
SEE ALSO:
Work in the Original Profile Interface
Restrict Login IP Addresses in the Original Profile User Interface
4. Optionally enter a description for the range. If you maintain multiple ranges, use the Description field to provide details, such as
which part of your network corresponds to this range.
5. Click Save.
Note: Cache settings on static resources are set to private when accessed via a Force.com site whose guest user's profile has
restrictions based on IP range or login hours. Sites with guest user profile restrictions cache static resources only within the browser.
Also, if a previously unrestricted site becomes restricted, it can take up to 45 days for the static resources to expire from the Salesforce
cache and any intermediate caches.
252
Set Up and Maintain Your Salesforce Organization Profiles
Note: You can further restrict access to Salesforce to only those IPs in Login IP Ranges. To enable this option, in Setup, enter
Session Settings in the Quick Find box, then select Session Settings and select Enforce login IP ranges on every
request. This option affects all user profiles that have login IP restrictions.
SEE ALSO:
Set Trusted IP Ranges for Your Organization
View and Edit Login Hours in the Original Profile User Interface
Work in the Original Profile Interface
Standard Profiles
Every org includes standard profiles that you can assign to users. In standard profiles, you can edit
EDITIONS
some settings.
Every org includes standard profiles. In Professional, Enterprise, Unlimited, Performance, and Available in: Salesforce
Developer Editions, you can use standard profiles or create, edit, and delete custom profiles. In orgs Classic and Lightning
where you can’t create custom profiles (such as Contact Manager and Group Editions), you can Experience
assign standard profiles to your users, but you can’t view or edit them.
Your edition determines
The following table lists commonly used permissions in standard profiles. which standard profiles are
available.
Profile Name Available Permissions
System Administrator Can configure and customize the application.
Has access to all functionality that does not
require an additional license. For example,
administrators cannot manage campaigns
unless they also have a Marketing User license.
Can manage price books and products. Can edit
any quota, override forecasts, and view any
forecast.
Standard Platform One App User Can use one custom AppExchange app
developed in your org or installed from
AppExchange. The custom app is limited to five
tabs. In addition, can use core platform
functionality such as accounts, contacts, reports,
dashboards, and custom tabs.
Standard User Can create and edit most major types of records,
run reports, and view the org's setup. Can view,
but not manage, campaigns. Can create, but
not review, solutions. Can edit personal quota
and override forecasts.
253
Set Up and Maintain Your Salesforce Organization Profiles
Customer Portal User Can log in via a Customer Portal or a community. Can view and
edit data they directly own or data owned by or shared with users
below them in the Customer Portal role hierarchy; and they can
view and edit cases where they are listed in the Contact Name
field.
High Volume Customer Portal Can log in via a Customer Portal or a community.
Authenticated Website The High Volume Customer Portal and Authenticated Website
profiles are high-volume portal users.
Customer Portal Manager Can log in via a Customer Portal or a community. Can view and
edit data they directly own or data owned by or shared with users
below them in the Customer Portal role hierarchy; and they can
view and edit cases where they are listed in the Contact Name
field.
Solution Manager Can review and publish solutions. Also has access to the same
functionality as the Standard User.
Marketing User Can manage campaigns, create letterheads, create HTML email
templates, manage public documents, and add campaign members
and update their statuses with the Data Import Wizard. Also has
access to the same functionality as the Standard User.
Contract Manager Can create, edit, activate, and approve contracts. This profile can
also delete contracts as long as they are not activated. Can edit
personal quota and override forecasts.
Read Only Can view the org’s setup, run and export reports, and view, but
not edit, other records.
Chatter Only User Can only log in to Chatter. Can access all standard Chatter people,
profiles, groups, and files. Additionally, they can:
• View Salesforce accounts and contacts
• Use Salesforce CRM Content, Ideas, and Answers
• Access dashboards and reports
• Use and approve workflows
• Use the calendar to create and track activities
• View and modify up to ten custom objects
• Add records to groups
254
Set Up and Maintain Your Salesforce Organization Profiles
Note: You must expose the tabs for the standard Salesforce
objects that the Chatter Only user profile can access, as they
are hidden by default for these users.
Professional Edition organizations must have Profiles
enabled to perform these tasks. Contact your Salesforce
representative for more information.
Chatter Free User Can only log in to Chatter. Can access all standard Chatter people,
profiles, groups, and files.
Only available with the Chatter Free user license.
Chatter External User Can only log in to Chatter and access groups they've been invited
to and interact with members of those groups. Only available with
the Chatter External user license.
Chatter Moderator User Can only log in to Chatter. Can access all standard Chatter people,
profiles, groups, and files. Additionally, this user can:
• Activate and deactivate other Chatter Free users and
moderators
• Grant and revoke moderator privileges
• Delete posts and comments that they can see
Site.com Only User Can only log in to the Site.com app. Each Site.com Only user also
needs a Site.com Publisher feature license to create and publish
sites, or a Site.com Contributor feature license to edit the site’s
content.
Additionally, this user can:
• Use one custom app with up to 20 custom objects
• Access the Content app, but not the Accounts and Contacts
objects
• Create unlimited custom tabs
255
Set Up and Maintain Your Salesforce Organization Profiles
SEE ALSO:
Profiles
User Permissions
If enhanced profile list views are enabled for your organization, you can use additional tools to Available in: Professional,
customize, navigate, manage, and print profile lists. Enterprise, Performance,
Unlimited, Developer, and
• Show a filtered list of profiles by selecting a view from the drop-down list. Database.com Editions
• Delete a view by selecting it from the drop-down list and clicking Delete.
Custom Profiles available in:
• Create a list view or edit an existing view. Professional, Enterprise,
• Create a profile. Performance, Unlimited,
• Print the list view by clicking . and Developer Editions
•
Refresh the list view after creating or editing a view by clicking .
USER PERMISSIONS
• Edit permissions directly in the list view.
To view profiles, and print
• View or edit a profile by clicking its name.
profile lists:
• Delete a custom profile by clicking Del next to its name. • “View Setup and
Configuration”
Note: You can’t delete a profile that’s assigned to a user, even if the user is inactive.
To delete profile list views:
• “Manage Profiles and
Permission Sets”
Viewing the Basic Profile List
To delete custom profiles:
• Create a profile. • “Manage Profiles and
• View or edit a profile by clicking its name. Permission Sets”
• Delete a custom profile by clicking Del next to its name.
IN THIS SECTION:
Creating and Editing Profile List Views
256
Set Up and Maintain Your Salesforce Organization Profiles
SEE ALSO:
Edit Multiple Profiles with Profile List Views
Profiles
Note: If the search finds more than 500 values, no results appear. Use the preceding steps to refine your search criteria
and show fewer results.
c. To add or remove columns, select one or more column names and click the Add or Remove arrow.
d. Use the Top, Up, Down, and Bottom arrows to arrange the columns in the sequence you want.
You can add up to 15 columns in a single list view.
5. Click Save, or if you're cloning an existing view, rename it and click Save As.
SEE ALSO:
Edit Multiple Profiles with Profile List Views
257
Set Up and Maintain Your Salesforce Organization Profiles
Warning: Use care when editing profiles with this method. Because profiles affect a user's Available in: Enterprise,
fundamental access, making mass changes may have a widespread effect on users in your Performance, Unlimited,
organization. Developer, and
Database.com Editions
1. Select or create a list view that includes the profiles and permissions you want to edit.
2. To edit multiple profiles, select the checkbox next to each profile you want to edit.
USER PERMISSIONS
If you select profiles on multiple pages, Salesforce remembers which profiles are selected.
To edit multiple profiles from
3. Double-click the permission you want to edit. the list view:
For multiple profiles, double-click the permission in any of the selected profiles. • “Manage Profiles and
Permission Sets”
4. In the dialog box that appears, enable or disable the permission.
AND
In some cases, changing a permission may also change other permissions. For example, if
“Customize Application”
“Customize Application” and “View Setup and Configuration” are disabled and you enable
“Customize Application,” then “View Setup and Configuration” is also enabled. In this case, the
dialog box lists the affected permissions.
5. To change multiple profiles, select All n selected records (where n is the number of profiles you selected).
6. Click Save.
Note:
• For standard profiles, inline editing is available only for the “Single Sign-On” and “Affected By Divisions” permissions.
• If you edit multiple profiles, only those profiles that support the permission you are changing will change. For example, if you
use inline editing to add “Modify All Data” to multiple profiles, but because of its user license the profile doesn't have “Modify
All Data,” the profile won't change.
If any errors occur, an error message appears, listing each profile in error and a description of the error. Click the profile name to open
the profile detail page. The profiles you've clicked appear in the error window in gray, strike-through text. To view the error console, you
must have pop-up blockers disabled for the Salesforce domain.
Any changes you make are recorded in the setup audit trail.
SEE ALSO:
Profiles
258
Set Up and Maintain Your Salesforce Organization Profiles
Clone Profiles
Instead of creating profiles, save time by cloning existing profiles and customizing them.
EDITIONS
Tip: If you clone profiles to enable certain permissions or access settings, consider using
permission sets. For more information, see Permission Sets. Also, if your profile name contains Available in: Salesforce
more than one word, avoid extraneous spacing. For example, “Acme User” and “Acme User” Classic and Lightning
Experience
are identical other than spacing between “Acme” and “User.” Using both profiles in this case
can result in confusion for admins and users. Available in: Professional,
1. From Setup, enter Profiles in the Quick Find box, then select Profiles. Enterprise, Performance,
Unlimited, Developer, and
2. In the Profiles list page, do one of the following: Database.com Editions
• Click New Profile, then select an existing profile that’s similar to the one you want to create.
Custom Profiles available in:
• If enhanced profile list views are enabled, click Clone next to a profile that’s similar to the Professional, Enterprise,
one you want to create. Performance, Unlimited,
• Click the name of a profile that’s similar to the one you want to create, then in the profile and Developer Editions
page, click Clone.
A new profile uses the same user license as the profile it was cloned from. USER PERMISSIONS
3. Enter a profile name. To create profiles:
4. Click Save. • “Manage Profiles and
Permission Sets”
SEE ALSO:
Profiles
259
Set Up and Maintain Your Salesforce Organization Profiles
260
Set Up and Maintain Your Salesforce Organization Profiles
261
Set Up and Maintain Your Salesforce Organization Profiles
Tab Settings
Tab settings specify whether a tab appears in the All Tabs page or is visible in its associated app.
EDITIONS
They also determine whether objects appear in the Lightning Experience App Launcher and
navigation menus. Tab settings labels in permission sets differ from the labels in profiles. Available in: both Salesforce
Classic and Lightning
Enabled Settings in Enabled Setting in Profiles Description Experience
Permission Sets
Tab settings available in: All
Available Default Off The tab is available on the All Editions except
Tabs page. Individual users can Database.com
customize their display to make
the tab visible in any app. Permission sets available in:
Contact Manager,
Available and Visible Default On The tab is available on the All Professional, Group,
Tabs page and appears in the Enterprise, Performance,
visible tabs for its associated Unlimited, Developer, and
app. In Lightning Experience, Database.com Editions
this setting determines Profiles available in:
whether an object appears in Professional, Enterprise,
the App Launcher and in Performance, Unlimited,
navigation menus. Individual Developer, and
users can customize their Database.com Editions
display to hide the tab or make
it visible in other apps.
Note: If a user has another permission set or profile with enabled settings for the same tab, the most permissive setting applies.
For example, let’s say permission set A has no settings enabled for the Accounts tab, and permission set B enables the Available
setting for the Accounts tab. If permission sets A and B are assigned to a user, the user sees the Accounts tab on the All Tabs page.
SEE ALSO:
View and Edit Tab Settings in Permission Sets and Profiles
262
Set Up and Maintain Your Salesforce Organization Profiles
USER PERMISSIONS
To enable custom
permissions in profiles:
• “Manage Profiles and
Permission Sets”
263
Set Up and Maintain Your Salesforce Organization Profiles
264
Set Up and Maintain Your Salesforce Organization Profiles
Field Description
User passwords expire in The length of time until user passwords expire and must be
changed. The default is 90 days. This setting isn’t available for
Self-Service portals. This setting doesn’t apply to users with the
“Password Never Expires” permission.
If you change the User passwords expire in setting,
the change affects a user’s password expiration date if that user’s
new expiration date is earlier than the old expiration date or if you
remove an expiration by selecting Never expires.
Enforce password history Save users’ previous passwords so that they must always reset their
password to a new, unique password. Password history is not saved
until you set this value. The default is 3 passwords
remembered. You cannot select No passwords
265
Set Up and Maintain Your Salesforce Organization Profiles
Field Description
remembered unless you select Never expires for the
User passwords expire in field. This setting isn’t
available for Self-Service portals.
Minimum password length The minimum number of characters required for a password. When
you set this value, existing users aren’t affected until the next time
they change their passwords. The default is 8 characters.
Password complexity requirement The requirement for which types of characters must be used in a
user’s password.
Complexity levels:
• No restriction—allows any password value and is the
least secure option.
• Must mix alpha and numeric
characters—requires at least one alphabetic character
and one number, which is the default.
• Must mix alpha, numeric, and special
characters—requires at least one alphabetic character,
one number, and one of the following special characters: !
# $ % - _ = + < >.
• Must mix numbers and uppercase and
lowercase letters—requires at least one number,
one uppercase letter, and one lowercase letter.
• Must mix numbers, uppercase and
lowercase letters, and special
characters—requires at least one number, one uppercase
letter, and one lowercase letter, and one of the following
special characters: ! # $ % - _ = + < >.
Password question requirement The values are Cannot contain password, meaning that
the answer to the password hint question cannot contain the
password itself; or None, the default, for no restrictions on the
answer. The user’s answer to the password hint question is required.
This setting is not available for Self-Service portals, Customer Portals,
or partner portals.
Maximum invalid login attempts The number of login failures allowed for a user before they become
locked out. This setting isn’t available for Self-Service portals.
Lockout effective period The duration of the login lockout. The default is 15 minutes. This
setting isn’t available for Self-Service portals.
Note: If users are locked out, they must wait until the
lockout period expires. Alternatively, a user with the “Reset
266
Set Up and Maintain Your Salesforce Organization Profiles
Field Description
Obscure secret answer for password resets This feature hides answers to security questions as you type. The
default is to show the answer in plain text.
Require a minimum 1 day password lifetime When you select this option, a password can’t be changed more
than once in a 24-hour period.
SEE ALSO:
View and Edit Password Policies in Profiles
Permission Sets
A permission set is a collection of settings and permissions that give users access to various tools
EDITIONS
and functions. The settings and permissions in permission sets are also found in profiles, but
permission sets extend users’ functional access without changing their profiles. Available in: Salesforce
Watch a Video Tutorial: Who Sees What: Permission Sets (Salesforce Classic) Classic and Lightning
Experience
Users can have only one profile but, depending on the Salesforce edition, they can have multiple
permission sets. You can assign permission sets to various types of users, regardless of their profiles. Available in: Contact
Manager, Professional,
Create permission sets to grant access among logical groupings of users, regardless of their primary
Group, Enterprise,
job function. For example, let’s say you have several users with a profile called Sales User. This profile
Performance, Unlimited,
allows assignees to read, create, and edit leads. Some, but not all, of these users also need to delete
Developer, and
and transfer leads. Instead of creating another profile, create a permission set.
Database.com Editions
267
Set Up and Maintain Your Salesforce Organization Profiles
Or, let’s say you have an Inventory custom object in your org. Many users need “Read” access to this object, and a smaller number of
users need “Edit” access. You can create a permission set that grants “Read” access and assign it to the appropriate users. You can then
create another permission set that gives “Edit” access to the Inventory object and assign it to the smaller group of users.
If a permission isn’t enabled in a profile but is enabled in a permission set, users with that profile and permission set have the permission.
For example, if “Manage Password Policies” isn’t enabled in Jane Smith’s profile but is enabled in one of her permission sets, she can
manage password policies.
Walk Through It: Create, Edit, and Assign a Permission Set (Salesforce Classic)
IN THIS SECTION:
Create Permission Sets
You can clone a permission set or create a new one. A cloned permission set starts with the same licenses and enabled permissions
as the original one. A new permission set starts with no licenses selected and no permissions enabled.
Assign Permission Sets to a Single User
Assign permission sets or remove permission set assignments for a single user from the user detail page.
Standard Permission Sets
A standard permission set consists of a group of common permissions for a particular feature associated with a permission set license.
Using a standard permission set saves you time and facilitates administration because you don’t need to create the custom permission
set.
Session-based Permission Sets
Create session-based permission sets that allow access only during specified sessions. For example, create a session-based permission
set that grants access to an application only during an authenticated session.
Permission Sets Considerations
Be aware of these considerations and special behaviors for permission sets.
SEE ALSO:
Assign a Feature Permission Set License and Permission Set
1. From Setup enter Permission Sets in the Quick Find box, then select Permission Available in: Contact
Sets. Manager, Professional,
Group, Enterprise,
2. Click New.
Performance, Unlimited,
3. Enter your permission set information. Developer, and
Database.com Editions
4. Select the types of users for the permission set.
When you create a permission set, you select a specific user or permission set license. If only
users with one type of license can use the permission set, select the license that’s associated with the users. For example, to create
a permission set for users with
268
Set Up and Maintain Your Salesforce Organization Profiles
• the Salesforce license, select Salesforce. You can enable permissions only allowed in the Salesforce license.
• the Identity Connect permission set license, select Identity Connect. You can enable permissions only allowed in the Identity
Connect license.
• different licenses, select None. Not selecting a specific license allows you to assign the permission set to any user whose license
allows the permissions you enable in the permission set. For example, to assign the permission set to users with the Salesforce
license and to users with the Salesforce Platform license, select None.
When creating a permission set for a specific permission set license, refer to that feature’s documentation. For example, to create a
permission set for the Identity Connect permission set license, use these steps along with the Identity Connect documentation.
Example: Let’s say you have several users with a profile called Sales User. This profile allows assignees to read, create, and edit
leads. But you need some users to also delete and transfer leads. On the permission set page that you create, go to Find Settings
and begin typing Lead. Under Object Settings, select Leads and enable delete. “Transfer Leads” is an app permission (rather than
object permission). To enable it, in Find Settings, begin typing leads. “Transfer Leads” is listed under App Permissions. Assign
the permission set to users who need these permissions.
Note:
• Permission sets with no license selected don’t include all possible permissions and settings.
• Assign a permission set with no license only to users whose user licenses allow the permissions and settings that you
are enabling in the permission set. For example, don’t create a permission set with no user license and then enable
“Author Apex” and assign it to Salesforce Platform users. You can’t assign this permission set to Salesforce Platform users
because the Salesforce Platform user license doesn’t allow Apex authoring.
SEE ALSO:
Permission Sets
Standard Permission Sets
Assign a Feature Permission Set License and Permission Set
What Are Permission Set Licenses?
269
Set Up and Maintain Your Salesforce Organization Profiles
Note: Some permissions require users to have a permission set license before you can grant the permissions. For example, if you
add the “Use Identity Connect” user permission to the Identity permission set, you can assign only users with the Identity Connect
permission set license to the permission set.
1. From Setup, enter Users in the Quick Find box, then select Users.
2. Select a user.
3. In the Permission Set Assignments related list, click Edit Assignments.
4. To assign a permission set, select it under Available Permission Sets and click Add. To remove a permission set assignment, select
it under Enabled Permission Sets and click Remove.
5. Click Save.
Tip: You can perform this and other administration tasks from the SalesforceA mobile app.
SEE ALSO:
Assign a Permission Set to Multiple Users
Standard Permission Sets
Help Users From Anywhere With SalesforceA
Assign a Permission Set to Multiple Users
270
Set Up and Maintain Your Salesforce Organization Profiles
Standard permission sets don’t count against your org’s permission set limits. You can clone a standard permission set as many times
as you want, but you can’t edit it. Clones do count against your org’s permission set limits.
Example: Let’s say you purchased 10 Sales Console User permission set licenses. You can do any of the following.
• Assign all 10 users to the Salesforce Console User permission set.
• Assign some of the users to the Salesforce Console User permission set, and assign the remainder to a clone of Salesforce
Console User.
• Clone the Salesforce Console User permission set and assign different users to each clone, based on your org’s structure.
Note: Session-based permission sets is currently available as a Developer Preview. Available in: Salesforce
Classic and Lightning
Important: Managed packages with permission sets that require session activation cannot Experience
be installed on customer orgs without this feature. Available in: Developer
Use a session-based permission set to allow functional access only during a predefined session Edition
type. For example, your org might have a custom object called "Conference Room." A mobile app
271
Set Up and Maintain Your Salesforce Organization Profiles
called "Conference Room Sync" has read and update access to the object. Create a permission set to permit updates to the object only
when the “Conference Room Sync” connected mobile app generates the user’s session.
Or, let’s say you have a web application that accesses confidential information. For security, you want to limit user access to specific
types of sessions for a predetermined length of time. You can create a session-based permission set that activates only when users
authenticate into your environment using a token. When the token expires, the user must reauthenticate to access the application again.
To activate session-based permission sets, see the SessionPermSetActivation object in the SOAP API Developer Guide. You’ll need the
“Manage Session Permission Set Activation” permission.
Before assigning session-based permission sets to users, ensure that they can meet the conditions of the permission set. For example,
grant user access to appropriate tools, such as authenticators. As a best practice, inform users of the conditions in which they can access
certain applications and tools.
Tip: When you create your permission set list view, filter by and select columns to include Session Activation Required to view
which permission sets are session-based.
User assignment information appears on the user detail page in a related list called Permission Set Assignments: Activation Required.
SEE ALSO:
Permission Sets
272
Set Up and Maintain Your Salesforce Organization Profiles
SEE ALSO:
How is record type access specified?
Object Permissions
USER PERMISSIONS
273
Set Up and Maintain Your Salesforce Organization Profiles
System Settings
Some system functions apply to an organization and not to any single app. For example, “View Setup and Configuration” allows users
to view setup and administrative settings pages. Other system functions apply to all apps. For example, the “Run Reports” and “Manage
Dashboards” permissions allow managers to create and manage reports in all apps. In some cases, such as with “Modify All Data,” a
permission applies to all apps, but also includes non-app functions, like the ability to download the Data Loader.
SEE ALSO:
Permission Sets
What Are Permission Set Licenses?
274
Set Up and Maintain Your Salesforce Organization Profiles
App and system Permission name Type api, then select API Enabled.
permissions
All other categories Category name To find Apex class access settings, type apex,
then select Apex Class Access. To find
custom permissions, type cust, then select
Custom Permissions. And so on.
If you don’t get any results, don’t worry. Here’s some tips that can help:
• Check if the search term has at least three consecutive characters that match the object, setting, or permission name.
• The permission, object, or setting you're searching for might not be available in the current Salesforce org.
• The item you’re searching for might not be available for the user license that’s associated with the current permission set. For example,
a permission set with the Standard Platform User license doesn’t include the “Modify All Data” permission.
• The permission set license associated with the permission set doesn’t include the object, setting, or permission name you’re searching
for.
SEE ALSO:
Permission Sets
275
Set Up and Maintain Your Salesforce Organization Profiles
IN THIS SECTION:
How is record type access specified?
USER PERMISSIONS
You can assign record types to users in their profile or permission sets, or a combination of To assign record types in
both. Record type assignment behaves differently in profiles and permission sets. permission sets:
• “Manage Profiles and
Permission Sets”
SEE ALSO:
How is record type access specified?
276
Set Up and Maintain Your Salesforce Organization Profiles
• Page layout assignments are specified in profiles only—they’re not available in permission sets. When a permission set specifies a
custom record type, users with that permission set get the page layout assignment that’s specified for that record type in their profile.
(In profiles, page layout assignments are specified for every record type, even when record types aren’t assigned.)
• For lead conversion, the default record type specified in a user’s profile is used for the converted records.
• Users can view records assigned to any record type. As a result, a page layout is assigned to every record type on a user's profile. A
record type assignment on a user’s profile or permission set doesn’t determine whether a user can view a record with that record
type. The record type assignment simply specifies that the user can use that record type when creating or editing a record.
• Record types in permission sets aren’t supported in packages and change sets. As a result, any record type assignments in permission
sets in a sandbox organization must be manually reproduced in a production organization.
SEE ALSO:
Assign Record Types and Page Layouts in the Enhanced Profile User Interface
Assign Record Types to Profiles in the Original Profile User Interface
Assign Custom Record Types in Permission Sets
Assign Page Layouts in the Original Profile User Interface
277
Set Up and Maintain Your Salesforce Organization Profiles
USER PERMISSIONS
To enable custom
permissions in permission
sets:
• “Manage Profiles and
Permission Sets”
278
Set Up and Maintain Your Salesforce Organization Profiles
SEE ALSO:
Assign Permission Sets to a Single User USER PERMISSIONS
Note: Some permissions require users to have a permission set license before you can grant To assign permission sets:
the permissions. For example, if you add the “Use Identity Connect” user permission to the • “Assign Permission Sets”
Identity permission set, you can assign only users with the Identity Connect permission set
license to the permission set.
1. From Setup, enter Users in the Quick Find box, then select Users.
2. Select a user.
3. In the Permission Set Assignments related list, click Edit Assignments.
4. To assign a permission set, select it under Available Permission Sets and click Add. To remove a permission set assignment, select
it under Enabled Permission Sets and click Remove.
279
Set Up and Maintain Your Salesforce Organization Profiles
5. Click Save.
Tip: You can perform this and other administration tasks from the SalesforceA mobile app.
SEE ALSO:
Assign a Permission Set to Multiple Users
Standard Permission Sets
Help Users From Anywhere With SalesforceA
Assign a Permission Set to Multiple Users
USER PERMISSIONS
280
Set Up and Maintain Your Salesforce Organization Revoking Permissions and Access
6. To return to a list of all users assigned to the permission set, click Done. USER PERMISSIONS
If a permission or access setting is enabled in The user may lose other permissions or access
the user's profile, assign a different profile to the settings associated with the profile or permission
user. sets.
AND
If the permission or access setting is enabled in
any permission sets that are assigned to the user,
remove the permission set assignments from
the user.
To resolve the consequence in either case, consider all possible options. For example, you can clone the assigned profile or any assigned
permission sets where the permission or access setting is enabled. Then, disable the permission or access setting, and assign the cloned
281
Set Up and Maintain Your Salesforce Organization What Determines Field Access?
profile or permission sets to the user. Another option is to create a base profile with the least number of permissions and settings that
represents the largest number of users possible. Then create permission sets that layer more access.
SEE ALSO:
User Permissions and Access
Walk Through It: create, edit, and assign a permission set
Assign Permission Sets to a Single User
SEE ALSO:
Modifying Field Access Settings
282
Set Up and Maintain Your Salesforce Organization Modifying Field Access Settings
Note: In this user interface, you can’t check access for permission sets.
SEE ALSO:
What Determines Field Access?
We recommend that you use field-level security to control users’ access to fields rather than To view field accessibility:
creating multiple page layouts to control field access. • “View Setup and
Configuration”
• In the Page Layout section of the page, you can: To change field accessibility:
– Select the Remove or change editability radio button and then change the • “Customize Application”
field access properties for the page layout. These changes will affect all profile and record AND
type combinations that currently use this page layout. “Manage Profiles and
– Alternatively, you can select the Choose a different page layout radio Permission Sets”
button to assign a different page layout to the profile and record type combination.
SEE ALSO:
What Determines Field Access?
Field-Level Security
Field-level security settings let you restrict users’ access to view and edit specific fields.
EDITIONS
Note: Who Sees What: Field-Level Security (Salesforce Classic)
Available in: Salesforce
Watch how you can restrict access to specific fields on a profile-by-profile basis. Classic
Your Salesforce org contains a lot of data, but you probably don’t want every field accessible to Available in: Professional,
everyone. For example, your payroll manager probably wants to keep salary fields accessible only Enterprise, Performance,
to select employees. You can restrict user access in: Unlimited, Developer, and
Database.com Editions
• Detail and edit pages
• Related lists
283
Set Up and Maintain Your Salesforce Organization Field-Level Security
• List views
• Reports
• Connect Offline
• Email and mail merge templates
• Custom links
• The partner portal
• The Salesforce Customer Portal
• Synchronized data
• Imported data
The fields that users see on detail and edit pages are a combination of page layouts and field-level security settings. The most restrictive
field access settings of the two always applies. For example, you can have a field that’s required in a page layout but is read-only in the
field-level security settings. The field-level security overrides the page layout, so the field remains read-only.
Important: Field-level security doesn’t prevent searching on the values in a field. When search terms match on field values
protected by field-level security, the associated records are returned in the search results without the protected fields and their
values.
You can define field-level security in either of these ways.
• For multiple fields on a single permission set or profile
• For a single field on all profiles
After setting field-level security, you can:
• Create page layouts to organize the fields on detail and edit pages.
Tip: Use field-level security to restrict users’ access to fields, and then use page layouts to organize detail and edit pages within
tabs. This approach reduces the number of page layouts for you to maintain.
Note: Roll-up summary and formula fields are read-only on detail pages and not available on edit pages. They can also be visible
to users even though they reference fields that your users can’t see. Universally required fields appear on edit pages regardless of
field-level security.
The relationship group wizard allows you to create and edit relationship groups regardless of field-level security.
284
Set Up and Maintain Your Salesforce Organization Set Field Permissions in Permission Sets and Profiles
USER PERMISSIONS
285
Set Up and Maintain Your Salesforce Organization User Permissions
User Permissions
User permissions specify what tasks users can perform and what features users can access. For
EDITIONS
example, users with the “View Setup and Configuration” permission can view Setup pages, and
users with the “API Enabled” permission can access any Salesforce API. Available in: Salesforce
You can enable user permissions in permission sets and custom profiles. In permission sets and the Classic and Lightning
enhanced profile user interface, these permissions—as well as their descriptions—are listed in the Experience
App Permissions or System Permissions pages. In the original profile user interface, user permissions
The user permissions
are listed under Administrative Permissions and General User Permissions. available vary according to
To view permissions and their descriptions, from Setup, enter Permission Sets in the Quick which edition you have.
Find box, then select Permission Sets, then select or create a permission set. Then from the
Permission Set Overview page, click App Permissions or System Permissions.
SEE ALSO:
Profiles
Permission Sets
Standard Profiles
Object Permissions
Object permissions specify the base-level access users have to create, read, edit, and delete records
EDITIONS
for each object. You can manage object permissions in permission sets and profiles.
Object permissions either respect or override sharing rules and settings. The following permissions Available in: Salesforce
specify the access that users have to objects. Classic and Lightning
Experience
Permission Description Respects or Available in: Professional,
Overrides Sharing? Enterprise, Performance,
Read Users can only view records of this type. Respects sharing Unlimited, Developer, and
Database.com Editions
Create Users can read and create records. Respects sharing
Delete Users can read, edit, and delete records. Respects sharing
View All Users can view all records associated with this Overrides sharing
object, regardless of sharing settings.
286
Set Up and Maintain Your Salesforce Organization “View All” and “Modify All” Permissions Overview
SEE ALSO:
“View All” and “Modify All” Permissions Overview
Comparing Security Models
Field Permissions
View All Users Viewing all users in the organization. Users who need to see all users in the
Grants Read access to all users, so that organization. Useful if the
you can see their user record details, organization-wide default for the user
see them in searches, list views, and object is Private. Administrators with
so on. the “Manage Users” permission are
automatically granted the “View All
Users” permission.
287
Set Up and Maintain Your Salesforce Organization Comparing Security Models
“View All” and “Modify All” are not available for ideas, price books, article types, and products.
“View All” and “Modify All” allow for delegation of object permissions only. To delegate user administration and custom object
administration duties, define delegated administrators.
“View All Users” is available if your organization has User Sharing, which controls user visibility in the organization. To learn about User
Sharing, see User Sharing.
SEE ALSO:
Object Permissions
Where managed “Read,” “Create,” “Edit,” and “Delete” object “View All” and “Modify All”
permissions;
Sharing settings
Record access levels Private, Read-Only, Read/Write, “View All” and “Modify All”
Read/Write/Transfer/Full Access
Ability to transfer Respects sharing settings, which vary by Available on all objects with “Modify All”
object
Ability to approve records, or edit and None Available on all objects with “Modify All”
unlock records in an approval process
Ability to report on all records Available with a sharing rule that states: the Available on all objects with “View All”
records owned by the public group “Entire
Organization” are shared with a specified
group, with Read-Only access
Object support Available on all objects except products, Available on most objects via object
documents, solutions, ideas, notes, and permissions
attachments
Note: “View All” and “Modify All”
are not available for ideas, price
books, article types, and products.
288
Set Up and Maintain Your Salesforce Organization Field Permissions
Ability to manually share records Available to the record owner and any user Available on all objects with “Modify All”
above the record owner in the role hierarchy
Ability to manage all case comments Not available Available with “Modify All” on cases
Field Permissions
Field permissions specify the access level for each field in an object. In permission sets and the
EDITIONS
enhanced profile user interface, the setting labels differ from those in the original profile user
interface and in field-level security pages for customizing fields. Available in: Salesforce
Classic and Lightning
Access Level Enabled Settings in Enabled Settings in Experience
Permission Sets and Original Profile and
Enhanced Profile User Field-Level Security Available in: Professional,
Interface Interfaces Enterprise, Performance,
Unlimited, Developer, and
Users can read and edit the Read and Edit Visible Database.com Editions
field.
Users can read but not edit the Read Visible and Read-Only
field.
SEE ALSO:
Field-Level Security
Object Permissions
289
Set Up and Maintain Your Salesforce Organization Sharing Settings
Sharing Settings
In Salesforce, you can control access to data at many different levels. For example, you can control
EDITIONS
the access your users have to objects with object permissions. Within objects, you can control the
access users have to fields using field-level security. To control access to data at the record level, Available in: Salesforce
use sharing settings. Classic and Lightning
Experience
Note: Who Sees What: Overview (Salesforce Classic)
Watch how you can control who sees what data in your organization. Available in: Professional,
Enterprise, Performance,
Unlimited, Developer, and
Database.com Editions
Organization-Wide Defaults
Teams are not available in
Your organization-wide default sharing settings give you a baseline level of access for each object Database.com
and enable you to extend that level of access using hierarchies or sharing rules. For example, you
can set the organization-wide default for leads to Private if you only want users to view and edit
the leads they own. Then, you can create lead sharing rules to extend access of leads to particular
users or groups.
Sharing Rules
Sharing rules represent the exceptions to your organization-wide default settings. If you have organization-wide sharing defaults of
Public Read Only or Private, you can define rules that give additional users access to records they do not own. You can create sharing
rules based on record owner or field values in the record.
Tip: Sometimes it’s impossible to define a consistent group of users who need access to a particular set of records. In those
situations, record owners can use manual sharing to give read and edit permissions to users who would not have access to the
record any other way. Although manual sharing isn’t automated like organization-wide sharing settings, role hierarchies, or sharing
rules, it gives record owners the flexibility to share particular records with users that need to see them.
290
Set Up and Maintain Your Salesforce Organization Organization-Wide Sharing Defaults
Teams
For accounts, opportunities, and cases, record owners can use teams to allow other users access to their records. A team is a group
of users that work together on an account, sales opportunity, or case. Record owners can build a team for each record that they own.
The record owner adds team members and specifies the level of access each team member has to the record, so that some team
members can have read-only access and others can have read/write access. The record owner can also specify a role for each team
member, such as “Executive Sponsor.” In account teams, team members also have access to any contacts, opportunities, and cases
associated with an account.
Note: A team member may have a higher level of access to a record for other reasons, such as a role or sharing rule. In this
case, the team member has the highest access level granted, regardless of the access level specified in the team.
SEE ALSO:
Organization-Wide Sharing Defaults
Sharing Rules
User Role Hierarchy
Sharing Considerations
For most objects, organization-wide sharing settings can be set to Private, Public Read Only, or Available in: Professional,
Public Read/Write. In environments where the organization-wide sharing setting for an object is Enterprise, Performance,
Private or Public Read Only, an administrator can grant users additional access to records by setting Unlimited, Developer, and
up a role hierarchy or defining sharing rules. However, sharing rules can only be used to grant Database.com Editions.
additional access—they cannot be used to restrict access to records beyond what was originally Customer Portal is not
specified with the organization-wide sharing defaults. available in Database.com
Important: If your organization uses a Customer Portal, before you enable contacts to access
the portal, set the organization-wide sharing defaults on accounts, contacts, contracts, assets,
and cases to Private. This ensures that by default your customers can view only their own
data. You can still grant your Salesforce users Public Read/Write access by creating sharing
rules in which all internal users share with all internal users.
By default, Salesforce uses hierarchies, like the role or territory hierarchy, to automatically grant access of records to users above the
record owner in the hierarchy.
Setting an object to Private makes those records visible only to record owners and those above them in the role hierarchy. Use the Grant
Access Using Hierarchies checkbox to disable access to records to users above the record owner in the hierarchy for custom objects
291
Set Up and Maintain Your Salesforce Organization Organization-Wide Sharing Defaults
in Professional, Enterprise, Unlimited, Performance, and Developer Edition. If you deselect this checkbox for a custom object, only the
record owner and users granted access by the organization-wide defaults receive access to the records.
SEE ALSO:
Set Your Organization-Wide Sharing Defaults
Sharing Default Access Settings
Default Organization-Wide Sharing Settings
Note: Who Sees What: Organization-Wide Defaults (Salesforce Classic) Available in: Salesforce
Classic and Lightning
Watch how you can restrict access to records owned by other users. Experience
1. From Setup, enter Sharing Settings in the Quick Find box, then select Sharing Available in: Professional,
Settings. Enterprise, Performance,
Unlimited, and Developer
2. Click Edit in the Organization-Wide Defaults area.
Editions
3. For each object, select the default access you want to use. If you have external organization-wide
defaults, see External Organization-Wide Defaults Overview.
USER PERMISSIONS
4. To disable automatic access using your hierarchies, deselect Grant Access Using Hierarchies
for any custom object that does not have a default access of Controlled by Parent. To set default sharing
access:
Note: If Grant Access Using Hierarchies is deselected, users that are higher in the role • “Manage Sharing”
or territory hierarchy don’t receive automatic access. However, some users—such as
those with the “View All” and “Modify All” object permissions and the “View All Data” and
“Modify All Data” system permissions—can still access records they don’t own.
When you update organization-wide defaults, sharing recalculation applies the access changes to your records. If you have a lot of data,
the update can take longer.
• If you are increasing the default access, such as from Public Read Only to Public Read/Write, your changes take effect immediately.
All users get access based on the updated default access. Sharing recalculation is then run asynchronously to ensure that all redundant
access from manual or sharing rules are removed.
Note: When the default access for contacts is Controlled by Parent and you increase the default access for accounts,
opportunities, or cases, the changes take effect after recalculation is run.
• If you are decreasing the default access, such as from Public Read/Write to Public Read Only, your changes take effect after recalculation
is run.
You’ll receive a notification email when the recalculation completes. Refresh the Sharing Settings page to see your changes. To view the
update status, from Setup, enter View Setup Audit Trail in the Quick Find box, then select View Setup Audit Trail.
Limitations
The organization-wide sharing default setting can’t be changed for some objects:
• Service contracts are always Private.
• User provisioning requests are always Private.
292
Set Up and Maintain Your Salesforce Organization Organization-Wide Sharing Defaults
• The ability to view or edit a document, report, or dashboard is based on a user’s access to the folder in which it’s stored.
• Users can only view the forecasts of other users who are placed below them in the role hierarchy, unless forecast sharing is enabled.
• When a custom object is on the detail side of a master-detail relationship with a standard object, its organization-wide default is set
to Controlled by Parent and it is not editable.
• The organization-wide default settings can’t be changed from private to public for a custom object if Apex code uses the sharing
entries associated with that object. For example, if Apex code retrieves the users and groups who have sharing access on a custom
object Invoice__c (represented as Invoice__share in the code), you can’t change the object’s organization-wide sharing
setting from private to public.
SEE ALSO:
Sharing Default Access Settings
Organization-Wide Sharing Defaults
Field Description
Controlled by Parent A user can perform an action (such as view, edit, or delete) on a
contact or order based on whether he or she can perform that
same action on the record associated with it.
For example, if a contact is associated with the Acme account, then
a user can only edit that contact if he or she can also edit the Acme
account.
293
Set Up and Maintain Your Salesforce Organization Organization-Wide Sharing Defaults
Field Description
Private Only the record owner, and users above that role in the hierarchy,
can view, edit, and report on those records.
For example, if Tom is the owner of an account, and he is assigned
to the role of Western Sales, reporting to Carol (who is in the role
of VP of Western Region Sales), then Carol can also view, edit, and
report on Tom’s accounts.
Public Read Only All users can view and report on records but not edit them. Only
the owner, and users above that role in the hierarchy, can edit
those records.
For example, Sara is the owner of ABC Corp. Sara is also in the role
Western Sales, reporting to Carol, who is in the role of VP of Western
Region Sales. Sara and Carol have full read/write access to ABC
Corp. Tom (another Western Sales Rep) can also view and report
on ABC Corp, but cannot edit it.
Public Read/Write All users can view, edit, and report on all records.
For example, if Tom is the owner of Trident Inc., all other users can
view, edit, and report on the Trident account. However, only Tom
can alter the sharing settings or delete the Trident account.
Public Read/Write/Transfer All users can view, edit, transfer, and report on all records. Only
available for cases or leads.
For example, if Alice is the owner of ACME case number 100, all
other users can view, edit, transfer ownership, and report on that
case. But only Alice can delete or change the sharing on case 100.
Public Full Access All users can view, edit, transfer, delete, and report on all records.
Only available for campaigns.
For example, if Ben is the owner of a campaign, all other users can
view, edit, transfer, or delete that campaign.
Note: To use cases effectively, set the organization-wide default for Account, Contact, Contract, and Asset to Public Read/Write.
Field Description
Hide Details Others can see whether the user is available at given times, but
can not see any other information about the nature of events in
the user’s calendar.
Hide Details and Add Events In addition to the sharing levels set by Hide Details, users can insert
events in other users’ calendars.
294
Set Up and Maintain Your Salesforce Organization Organization-Wide Sharing Defaults
Field Description
Show Details Users can see detailed information about events in other users’
calendars.
Show Details and Add Events In addition to the sharing levels set by Show Details, users can
insert events in other users’ calendars.
Full Access Users can see detailed information about events in other users’
calendars, insert events in other users’ calendars, and edit existing
events in other users’ calendars.
Note: Regardless of the organization-wide defaults that have been set for calendars, all users can invite all other users to events.
Field Description
Use All users can view price books and add them to opportunities.
Users can add any product within that price book to an opportunity.
View Only All users can view and report on price books but only users with
the “Edit” permission on opportunities or users that have been
manually granted use access to the price book can add them to
opportunities.
No Access Users cannot see price books or add them to opportunities. Use
this access level in your organization-wide default if you want only
selected users to access selected price books. Then, manually share
the appropriate price books with the appropriate users.
Field Description
Private Only the activity owner, and users above the activity owner in the
role hierarchy, can edit and delete the activity; users with read
access to the record to which the activity is associated can view
and report on the activity.
Controlled by Parent A user can perform an action (such as view, edit, transfer, and
delete) on an activity based on whether he or she can perform that
same action on the records associated with the activity.
For example, if a task is associated with the Acme account and the
John Smith contact, then a user can only edit that task if he or she
can also edit the Acme account and the John Smith record.
295
Set Up and Maintain Your Salesforce Organization Organization-Wide Sharing Defaults
Field Description
Private All users have read access to their own user record and those below
them in the role hierarchy.
Public Read Only All users have read access on one another. You can see all users’
detail pages. You can also see all users in lookups, list views,
ownership changes, user operations, and search.
SEE ALSO:
Set Your Organization-Wide Sharing Defaults
SEE ALSO:
Organization-Wide Sharing Defaults
Set Your Organization-Wide Sharing Defaults
296
Set Up and Maintain Your Salesforce Organization Organization-Wide Sharing Defaults
Note: Chatter external users have access to the User object only.
Previously, if your organization wanted Public Read Only or Public Read/Write access for internal users but Private for external users, you
would have to set the default access to Private and create a sharing rule to share records with all internal users.
With separate organization-wide defaults, you can achieve similar behavior by setting the default internal access to Public Read Only or
Public Read/Write and the default external access to Private. These settings also speed up performance for reports, list views, searches,
and API queries.
SEE ALSO:
Organization-Wide Sharing Defaults
Setting the External Organization-Wide Defaults
Sharing Default Access Settings
297
Set Up and Maintain Your Salesforce Organization Organization-Wide Sharing Defaults
Private Only users who are granted access by ownership, permissions, role
hierarchy, manual sharing, or sharing rules can access the records.
Public Read Only All users can view all records for the object.
Public Read/Write All users can view and edit all records for the object.
Note: The default external access level must be more restrictive or equal to the default internal access level. For example, you
can have a custom object with default external access set to Private and default internal access set to Public Read Only.
4. Click Save.
SEE ALSO:
External Organization-Wide Defaults Overview
298
Set Up and Maintain Your Salesforce Organization Controlling Access Using Hierarchies
299
Set Up and Maintain Your Salesforce Organization Controlling Access Using Hierarchies
• If a master-detail relationship is broken by deleting the relationship, the former detail custom object's default setting is automatically
reverted to Public Read/Write and Grant Access Using Hierarchies is selected by default.
• The Grant Access Using Hierarchies option affects which users gain access to data when something is shared with
public groups, personal groups, queues, roles, or territories. For example, the View All Users option displays group members and
people above them in the hierarchies when a record is shared with them using a sharing rule or manual sharing and the Grant
Access Using Hierarchies option is selected. When the Grant Access Using Hierarchies option is not
selected, some users in these groups no longer have access. The following list covers the access reasons that depend on the Grant
Access Using Hierarchies option.
These reasons always gain access:
Group Member
Queue Member
Role Member
Member of Subordinate Role
Territory Member
Member of Subordinate Territory
These reasons only gain access when using hierarchies:
Manager of Group Member
Manager of Queue Member
Manager of Role
Manager of Territory
User Role Manager of Territory
Best Practices
• When you deselect Grant Access Using Hierarchies, notify users of the changes in report results that they can expect
due to losing visibility of their subordinates' data. For example, selecting My team's... in the View drop-down list returns records
owned by the user; it will not include records owned by their subordinates. To be included in this type of report view, records from
subordinates must be explicitly shared with that user by some other means such as a sharing rule or a manual share. So, if no records
are shared with you manually, the My... and My team's... options in the View drop-down list return the same results. However,
choosing the Activities with... any custom object report type when creating a custom report returns activities assigned to you as
well as your subordinates in the role hierarchy.
SEE ALSO:
User Role Hierarchy
300
Set Up and Maintain Your Salesforce Organization User Role Hierarchy
Users at any role level can view, edit, and report on all data that’s owned by or shared with users USER PERMISSIONS
below them in the role hierarchy, unless your Salesforce org’s sharing model for an object specifies
otherwise. Specifically, in the Organization-Wide Defaults related list, you can disable the Grant To create, edit, and delete
Access Using Hierarchies option for a custom object. When disabled, only the record owner and roles:
users who are granted access by the organization-wide defaults receive access to the object’s • “Manage Roles”
records. To assign users to roles:
Roles determine user access to cases, contacts, and opportunities, regardless of who owns those • “Manage Internal Users”
records. The access level is specified on the Role Edit page. For example, you can set the contact
access so that users in a role can edit all contacts associated with accounts that they own, regardless
of who owns the contacts. And you can set the opportunity access so that users in a role can edit all opportunities associated with
accounts that they own, regardless of who owns the opportunities.
After you share a folder with a role, it’s visible only to users in that role, not to superior roles in the hierarchy.
301
Set Up and Maintain Your Salesforce Organization Assign Users to Roles
• To avoid performance issues, no single user should own more than 10,000 records of an object. Users who need to own more than
that number of objects should either not be assigned a role or placed in a separate role at the top of the hierarchy. It’s also important
to keep that user out of public groups that might be used as the source for sharing rules.
• When an account owner is not assigned a role, the sharing access for related contacts is Read/Write, provided the organization-wide
default for contacts is not Controlled by Parent. Sharing access on related opportunities and cases is No Access.
• If your organization uses Territory Management, forecasts are based on the territory hierarchy rather than the role hierarchy.
Note: Removing a user from the Selected Users list deletes the role assignment for that user. USER PERMISSIONS
Role Fields
The fields that comprise a role entry have specific purposes. Refer to this table for descriptions of
EDITIONS
each field and how it functions in a role.
The visibility of fields depends on your organization’s permissions and sharing settings. Available in: Salesforce
Classic and Lightning
Field Description Experience
Case Access Specifies whether users can access other users’ Available in: Professional,
cases that are associated with accounts the users Enterprise, Performance,
own. This field is not visible if your organization’s Unlimited, Developer, and
sharing model for cases is Public Read/Write. Database.com Editions
302
Set Up and Maintain Your Salesforce Organization Role Fields
Field Description
Modified By The name of the user who last modified this role's details, and the
date and time that the role was modified.
Opportunity Access Specifies whether users can access other users’ opportunities that
are associated with accounts the users own. This field is not visible
if your organization’s sharing model for opportunities is Public
Read/Write.
Partner Role Indicates whether this role is associated with a partner account.
This field is available only when a Customer Portal or partner portal
is enabled for the organization.
If this checkbox is selected, you cannot edit the role. The default
number of roles in portal accounts is three. You can reduce the
number of roles or add roles to a maximum of three.
Role Name The unique name used by the API and managed packages.
Role Name as displayed on reports A role name that appears in reports. When editing a role, if the
Role Name is long, you can enter an abbreviated name in this
field.
Sharing Groups These groups are automatically created and maintained. The Role
group contains all users in this role plus all users in roles above this
role. The Role and Subordinates group contains all users in this role
plus all users in roles above and below this role in the hierarchy.
The Role and Internal Subordinates group (available if Customer
Portals or partner portals are enabled for your organization)
contains all users in this role. It also contains all users in roles above
and below this role, excluding Customer Portal and partner portal
users.
This role reports to The role above this role in the hierarchy.
SEE ALSO:
User Role Hierarchy
303
Set Up and Maintain Your Salesforce Organization What Is a Group?
What Is a Group?
A group consists of a set of users. A group can contain individual users, other groups, or the users
EDITIONS
in a particular role or territory. It can also contain the users in a particular role or territory plus all the
users below that role or territory in the hierarchy. Available in: both Salesforce
There are two types of groups. Classic and Lightning
Experience
Public groups
Administrators and delegated administrators can create public groups. Everyone in the Available in: Professional,
organization can use public groups. For example, an administrator can create a group for an Enterprise, Performance,
employee carpool program. All employees can then use this group to share records about the Unlimited, Developer, and
program. Database.com Editions
Personal groups
Each user can create groups for their personal use. For example, users might need to ensure
that certain records are always shared within a specified workgroup.
You can use groups in the following ways.
• To set up default sharing access via a sharing rule
• To share your records with other users
• To specify that you want to synchronize contacts owned by other users
• To add multiple users to a Salesforce CRM Content library
• To assign users to specific actions in Salesforce Knowledge
SEE ALSO:
Group Member Types
Create and Edit Groups
Viewing Group Lists
Sharing Records with Manager Groups
Public Group Considerations
• Avoid creating groups within groups that result in more than five levels of nesting. Available in: Professional,
• Enable automatic access to records using role hierarchies for public groups by selecting Grant Enterprise, Performance,
Access Using Hierarchies when creating the group. However, don’t use this option if you’re Unlimited, Developer, and
Database.com Editions
creating a public group with All Internal Users as members.
SEE ALSO:
What Is a Group?
304
Set Up and Maintain Your Salesforce Organization Group Member Types
Customer Portal Users All of your Customer Portal users. This is only Available in: Professional,
available when a Customer Portal is enabled for Enterprise, Performance,
your organization. Unlimited, and Developer
Editions
Partner Users All of your partner users. This is only available
The member types that are
when a partner portal is enabled for your available vary depending on
organization. your Edition.
Personal Groups All of your own groups. This is only available
when creating other personal groups.
USER PERMISSIONS
Portal Roles All roles defined for your organization’s partner
portal or Customer Portal. This includes all users To create or edit a public
group:
in the specified portal role, except high-volume
• “Manage Users”
portal users.
To create or edit another
Note: A portal role name includes the user’s personal group:
name of the account that it’s associated • “Manage Users”
with, except for person accounts, which
include the user Alias.
Portal Roles and Subordinates All roles defined for your organization’s partner
portal or Customer Portal. This includes all of
the users in the specified portal role plus all of
the users below that role in the portal role
hierarchy, except for high-volume portal users.
Roles and Internal Subordinates Adding a role and its subordinate roles includes
all of the users in that role plus all of the users
in roles below that role. This doesn't include
portal roles or users.
Roles and Subordinates Adding a role and its subordinate roles includes
all of the users in that role plus all of the users
305
Set Up and Maintain Your Salesforce Organization Create and Edit Groups
Roles, Internal and Portal Subordinates Adding a role and its subordinate roles includes all of the users in
that role plus all of the users in roles below that role. This is only
available when a partner or Customer Portal is enabled for your
organization. This includes portal users.
Users All users in your organization. This doesn't include portal users.
SEE ALSO:
What Is a Group?
Sharing Records with Manager Groups
2. Click New, or click Edit next to the group you want to edit. USER PERMISSIONS
3. Enter the following:
To create or edit a public
group:
Field Description • “Manage Users”
Label The name used to refer to the group in any user To create or edit another
interface pages. user’s personal group:
• “Manage Users”
Group Name (public groups only) The unique name used by the API and managed
packages.
306
Set Up and Maintain Your Salesforce Organization Viewing Group Lists
Search From the Search drop-down list, select the type of member to add. If you
don’t see the member you want to add, enter keywords in the search box
and click Find.
Selected Members Select members from the Available Members box, and click Add to add them
to the group.
Selected Delegated Groups In this list, specify any delegated administration groups whose members can
add or remove members from this public group. Select groups from the
Available Delegated Groups box, and then click Add. This list appears only
in public groups.
4. Click Save.
Note: When you edit groups, roles, and territories, sharing rules are recalculated to add or remove access as needed.
SEE ALSO:
What Is a Group?
307
Set Up and Maintain Your Salesforce Organization Sharing Records with Manager Groups
• To view all group members and users who have equivalent access because they are higher in the role or territory hierarchy, click
View All Users to display the All Users in Group related list. Click View Group Members to return to the Group Members related
list.
SEE ALSO:
What Is a Group?
Every user has two manager groups—Managers Group (1) and Manager Subordinates Group (2)— where (1) includes a user’s direct
and indirect managers, and (2) includes a user and the user’s direct and indirect reports. On a sharing rule setup page, these groups are
available on the Share with drop-down list.
To find out who a user’s manager is, from Setup, enter Users in the Quick Find box, then select Users. Click a user’s name. The
Manager field on the user detail page displays the user’s manager.
To enable users to share records with the manager groups, follow these steps.
308
Set Up and Maintain Your Salesforce Organization Sharing Records with Manager Groups
1. From Setup, enter Sharing Settings in the Quick Find box, then select Sharing Settings.
2. On the Sharing Settings page, click Edit.
3. In Other Settings, select Manager Groups and then click Save.
Note: You can’t disable manager groups if your organization uses Work.com or have any sharing rules that uses manager groups.
With manager groups, you can share records to these groups via manual sharing, sharing rules, and Apex managed sharing. Apex sharing
reasons is not supported. For Apex managed sharing, include the row cause ID, record ID, and the manager group ID. For more information,
see the Force.com Apex Code Developer's Guide.
Inactive users remain in the groups of which they are members, but all relevant sharing rules and manual sharing are retained in the
groups.
Note: If your organization has User Sharing enabled, you can’t see the users whom you don’t have access to. Additionally, a
querying user who doesn’t have access to another user can’t query that user’s groups.
Example: You might have a custom object for performance reviews whose organization-wide default is set to Private. After
deselecting the Grant Access Using Hierarchies checkbox, only the employee who owns the review record can
view and edit it. To share the reviews up the management chain, administrators can create a sharing rule that shares to a user’s
Managers Group. Alternatively, the employee can share the review record with the user’s Managers Group by using manual sharing.
SEE ALSO:
Sharing Settings
Sharing Rules
Sharing Rule Categories
309
Set Up and Maintain Your Salesforce Organization Sharing Rules
Sharing Rules
Make automatic exceptions to your organization-wide sharing settings for defined sets of users.
EDITIONS
Note: Who Sees What: Record Access via Sharing Rules (Salesforce Classic)
Available in: Salesforce
Watch how you can grant access to records using sharing rules. Classic and Lightning
Experience
For example, use sharing rules to extend sharing access to users in public groups, roles, or territories.
Sharing rules can never be stricter than your organization-wide default settings. They simply allow Account, asset, and contact
greater access for particular users. sharing rules are available
in: Professional, Enterprise,
You can create these types of sharing rules.
Performance, Unlimited,
and Developer Editions
Type Based on Set Default Sharing
Access for Account territory, case, lead,
opportunity, order, and
Account sharing rules Account owner or other criteria, Accounts and their associated custom object sharing rules
including account record types contracts, opportunities, cases, are available in: Enterprise,
or field values and optionally, contacts and Performance, Unlimited,
orders and Developer Editions
Account territory sharing rules Territory assignment Accounts and their associated Campaign sharing rules are
cases, contacts, contracts, and available in Enterprise,
opportunities Performance, Unlimited,
and Developer Editions and
Asset sharing rules Asset owner or other criteria, Individual asset records in Professional Edition for an
including asset record types or additional cost
field values Record types are available
Campaign sharing rules Campaign owner or other Individual campaign records in Professional, Enterprise,
criteria, including campaign Performance, Unlimited,
and Developer Editions
record types or field values
Case sharing rules Case owner or other criteria, Individual cases and associated
including case record types or accounts
field values
Contact sharing rules Contact owner or other criteria, Individual contacts and
including contact record types associated accounts
or field values
Custom object sharing rules Custom object owner or other Individual custom object
criteria, including custom records
object record types or field
values
310
Set Up and Maintain Your Salesforce Organization Criteria-Based Sharing Rules
User sharing rules Group membership or other criteria, Individual user records
including username and whether the user
is active
User provisioning request sharing rules User provisioning request owner, only; Individual user provisioning request records
criteria-based sharing rules aren’t available
Work order sharing rules Work order owner or other criteria, including Individual work orders
work order record types or field values
Note:
• You can’t include high-volume portal users in sharing rules because they don’t have roles and can’t be in public groups.
• Developers can use Apex to programmatically share custom objects (based on record owners, but not other criteria). This does
not apply to User Sharing.
SEE ALSO:
Criteria-Based Sharing Rules
Sharing Rule Considerations
You can create criteria-based sharing rules for accounts, opportunities, cases, contacts, leads, campaigns, and custom objects. You can
create up to 50 criteria-based sharing rules per object.
• Record types
• These field types:
311
Set Up and Maintain Your Salesforce Organization Criteria-Based Sharing Rules
– Auto Number
– Checkbox
– Date
– Date/Time
– Email
– Number
– Percent
– Phone
– Picklist
– Text
– Text Area
– URL
– Lookup Relationship (to user ID or queue ID)
Note: Text and Text Area are case-sensitive. For example, a criteria-based sharing rule that specifies “Manager” in a text field
doesn’t share records that have “manager” in the field. To create a rule with several common cases of a word, enter each value
separated by a comma.
SEE ALSO:
Sharing Rules
312
Set Up and Maintain Your Salesforce Organization Sharing Rule Categories
If a partner portal or Customer Portal is enabled for your organization, Campaign sharing rules
available in Professional
the All Partner Users or All Customer Portal Users group displays.
Edition for an additional cost,
These groups includes all users allowed to access your partner portal
and Enterprise,
or Customer Portal, except for high-volume portal users.
Performance, Unlimited,
and Developer Editions
Roles All roles defined for your organization. This includes all of the users
in the specified role. Custom object sharing rules
available in: Enterprise,
Portal Roles All roles defined for your organization’s partner portal or Customer Performance, Unlimited,
Portal. This includes all users in the specified portal role, except Developer, and
high-volume portal users. Database.com Editions.
A portal role name includes the name of the account that it’s Partner Portals and
associated with, except for person accounts, which include the user Customer Portals available
Alias. in Salesforce Classic
Roles and Subordinates All roles defined for your organization. This includes all of the users
in the specified role plus all of the users in roles below that role,
including partner portal and Customer Portal roles that contain users
with a portal license type.
Portal roles are only included in this category if a partner portal or
Customer Portal is enabled for your organization.
The Roles, Internal and Portal Subordinates data set category is only
available in your organization after you create at least one role in the
role hierarchy.
Portal Roles and All roles defined for your organization’s partner portal or Customer
Subordinates Portal. This includes all of the users in the specified portal role plus
all of the users below that role in the portal role hierarchy, except for
high-volume portal users.
313
Set Up and Maintain Your Salesforce Organization Creating Lead Sharing Rules
Category Description
A portal role name includes the name of the account that it’s associated with, except for person
accounts, which include the user Alias.
Roles and Internal Subordinates All roles defined for your organization. This includes all of the users in the specified role plus all
of the users in roles below that role, excluding partner portal and Customer Portal roles.
This category only displays if a partner portal or Salesforce Customer Portal is enabled for your
organization.
The Roles and Internal Subordinates data set category is only available in your organization after
you create at least one role in the role hierarchy and enable a portal.
Roles, Internal and Portal All roles defined for your organization. This includes all of the users in the specified role plus all
Subordinates of the users in roles below that role, including partner portal and Customer Portal roles.
This category only displays if a partner portal or Salesforce Customer Portal is enabled for your
organization.
The Roles and Internal Subordinates data set category is only available in your organization after
you create at least one role in the role hierarchy and enable a portal.
Territories and Subordinates All territories defined for your organization. This includes the specified territory plus all territories
below it.
SEE ALSO:
Sharing Rules
Sharing Records with Manager Groups
2. From Setup, enter Sharing Settings in the Quick Find box, then select Sharing Available in: Enterprise,
Settings. Performance, Unlimited,
and Developer Editions
3. In the Lead Sharing Rules related list, click New.
4. Enter the Label Name and Rule Name. The Label is the sharing rule label as it appears on the
user interface. The Rule Name is a unique name used by the API and managed packages. USER PERMISSIONS
5. Enter the Description. This field describes the sharing rule. It is optional and can contain up to To create sharing rules:
1000 characters. • “Manage Sharing”
6. Select a rule type.
7. Depending on the rule type you selected, do the following:
314
Set Up and Maintain Your Salesforce Organization Editing Lead Sharing Rules
• Based on record owner—In the owned by members of line, specify the users whose records will be shared:
select a category from the first drop-down list and a set of users from the second drop-down list (or lookup field, if your organization
has over 200 queues, groups, roles, or territories).
• Based on criteria—Specify the Field, Operator, and Value criteria that records must match to be included in the sharing
rule. The fields available depend on the object selected, and the value is always a literal number or string. Click Add Filter Logic...
to change the default AND relationship between each filter.
Note: To use a field that’s not supported by criteria-based sharing rules, you can create a workflow rule or Apex trigger
to copy the value of the field into a text or numeric field, and use that field as the criterion.
8. In the Share with line, specify the users who get access to the data: select a category from the first drop-down list and a set of
users from the second drop-down list or lookup field.
9. Select the sharing access setting for users.
SEE ALSO:
Sharing Rules
Sharing Rule Considerations
Sharing Rule Categories
315
Set Up and Maintain Your Salesforce Organization Creating Account Sharing Rules
6. Click Save.
SEE ALSO:
Sharing Rules
Sharing Rule Considerations
Sharing Rule Categories
2. From Setup, enter Sharing Settings in the Quick Find box, then select Sharing Available in: Professional,
Settings. Enterprise, Performance,
Unlimited, and Developer
3. In the Account Sharing Rules related list, click New.
Editions
4. Enter the Label Name and Rule Name. The Label is the sharing rule label as it appears on the
user interface. The Rule Name is a unique name used by the API and managed packages.
USER PERMISSIONS
5. Enter the Description. This field describes the sharing rule. It is optional and can contain up to
1000 characters. To create sharing rules:
6. Select a rule type. • “Manage Sharing”
Note: To use a field that’s not supported by criteria-based sharing rules, you can create a workflow rule or Apex trigger
to copy the value of the field into a text or numeric field, and use that field as the criterion.
8. In the Share with line, specify the users who get access to the data: select a category from the first drop-down list and a set of
users from the second drop-down list or lookup field.
9. Select a setting for Default Account, Contract and Asset Access.
10. In the remaining fields, select the access settings for the records associated with the shared accounts.
316
Set Up and Maintain Your Salesforce Organization Editing Account Sharing Rules
Note: Contact Access is not available when the organization-wide default for contacts is set to Controlled by Parent.
SEE ALSO:
Sharing Rules
Sharing Rule Considerations
Sharing Rule Categories
317
Set Up and Maintain Your Salesforce Organization Creating Account Territory Sharing Rules
Note: Contact Access is not available when the organization-wide default for contacts is set to Controlled by Parent.
7. Click Save.
SEE ALSO:
Sharing Rules
Sharing Rule Considerations
Sharing Rule Categories
Note: Contact Access is not available when the organization-wide default for contacts is set to Controlled by Parent.
318
Set Up and Maintain Your Salesforce Organization Editing Account Territory Sharing Rules
SEE ALSO:
Sharing Rules
Sharing Rule Considerations
Sharing Rule Categories
Note: Contact Access is not available when the organization-wide default for contacts is set to Controlled by Parent.
5. Click Save.
SEE ALSO:
Sharing Rules
Sharing Rule Considerations
Sharing Rule Categories
319
Set Up and Maintain Your Salesforce Organization Creating Contact Sharing Rules
2. From Setup, enter Sharing Settings in the Quick Find box, then select Sharing Available in: Professional,
Settings. Enterprise, Performance,
Unlimited, and Developer
3. In the Contact Sharing Rules related list, click New.
Editions
4. Enter the Label Name and Rule Name. The Label is the sharing rule label as it appears on the
user interface. The Rule Name is a unique name used by the API and managed packages.
USER PERMISSIONS
5. Enter the Description. This field describes the sharing rule. It is optional and can contain up to
1000 characters. To create sharing rules:
6. Select a rule type. • “Manage Sharing”
Note: To use a field that’s not supported by criteria-based sharing rules, you can create a workflow rule or Apex trigger
to copy the value of the field into a text or numeric field, and use that field as the criterion.
8. In the Share with line, specify the users who get access to the data: select a category from the first drop-down list and a set of
users from the second drop-down list or lookup field.
9. Select the sharing access setting for users.
SEE ALSO:
Sharing Rules
Sharing Rule Considerations
Sharing Rule Categories
320
Set Up and Maintain Your Salesforce Organization Editing Contact Sharing Rules
6. Click Save.
SEE ALSO:
Sharing Rules
Sharing Rule Considerations
Sharing Rule Categories
2. From Setup, enter Sharing Settings in the Quick Find box, then select Sharing Available in: Enterprise,
Settings. Performance, Unlimited,
and Developer Editions
3. In the Opportunity Sharing Rules related list, click New.
4. Enter the Label Name and Rule Name. The Label is the sharing rule label as it appears on the
user interface. The Rule Name is a unique name used by the API and managed packages. USER PERMISSIONS
5. Enter the Description. This field describes the sharing rule. It is optional and can contain up to To create sharing rules:
1000 characters. • “Manage Sharing”
6. Select a rule type.
321
Set Up and Maintain Your Salesforce Organization Editing Opportunity Sharing Rules
Note: To use a field that’s not supported by criteria-based sharing rules, you can create a workflow rule or Apex trigger
to copy the value of the field into a text or numeric field, and use that field as the criterion.
8. In the Share with line, specify the users who get access to the data: select a category from the first drop-down list and a set of
users from the second drop-down list or lookup field.
9. Select the sharing access setting for users. For owner-based rules or criteria-based rules with ownership as criteria, the Opportunity
Access level applies to opportunities owned by the group, role, or territory members, regardless of the associated account.
SEE ALSO:
Sharing Rules
Sharing Rule Considerations
Sharing Rule Categories
322
Set Up and Maintain Your Salesforce Organization Creating Case Sharing Rules
5. Select the sharing access setting for users. For owner-based rules or criteria-based rules with ownership as criteria, the Opportunity
Access level applies to opportunities owned by the group, role, or territory members, regardless of the associated account.
6. Click Save.
SEE ALSO:
Sharing Rules
Sharing Rule Considerations
Sharing Rule Categories
2. From Setup, enter Sharing Settings in the Quick Find box, then select Sharing Available in: Enterprise,
Settings. Performance, Unlimited,
and Developer Editions
3. In the Case Sharing Rules related list, click New.
4. Enter the Label Name and Rule Name. The Label is the sharing rule label as it appears on the
user interface. The Rule Name is a unique name used by the API and managed packages. USER PERMISSIONS
5. Enter the Description. This field describes the sharing rule. It is optional and can contain up to To create sharing rules:
1000 characters. • “Manage Sharing”
6. Select a rule type.
7. Depending on the rule type you selected, do the following:
• Based on record owner—In the owned by members of line, specify the users whose records will be shared:
select a category from the first drop-down list and a set of users from the second drop-down list (or lookup field, if your organization
has over 200 queues, groups, roles, or territories).
• Based on criteria—Specify the Field, Operator, and Value criteria that records must match to be included in the sharing
rule. The fields available depend on the object selected, and the value is always a literal number or string. Click Add Filter Logic...
to change the default AND relationship between each filter.
Note: To use a field that’s not supported by criteria-based sharing rules, you can create a workflow rule or Apex trigger
to copy the value of the field into a text or numeric field, and use that field as the criterion.
8. In the Share with line, specify the users who get access to the data: select a category from the first drop-down list and a set of
users from the second drop-down list or lookup field.
323
Set Up and Maintain Your Salesforce Organization Editing Case Sharing Rules
SEE ALSO:
Sharing Rules
Sharing Rule Considerations
Sharing Rule Categories
6. Click Save.
SEE ALSO:
Sharing Rules
Sharing Rule Considerations
Sharing Rule Categories
324
Set Up and Maintain Your Salesforce Organization Creating Campaign Sharing Rules
Note: To use a field that’s not supported by criteria-based sharing rules, you can create a workflow rule or Apex trigger
to copy the value of the field into a text or numeric field, and use that field as the criterion.
8. In the Share with line, specify the users who get access to the data: select a category from the first drop-down list and a set of
users from the second drop-down list or lookup field.
9. Select the sharing access setting for users.
Full Access Any user in the selected group, role, or territory can view, edit, transfer, delete, and
share the record, just like the record’s owner.
With a Full Access sharing rule, users can also view, edit, delete, and close activities
associated with the record if the organization-wide sharing setting for activities is
Controlled by Parent.
325
Set Up and Maintain Your Salesforce Organization Editing Campaign Sharing Rules
SEE ALSO:
Sharing Rules
Sharing Rule Considerations
Sharing Rule Categories
Full Access Any user in the selected group, role, or territory can view, edit,
transfer, delete, and share the record, just like the record’s
owner.
With a Full Access sharing rule, users can also view, edit, delete,
and close activities associated with the record if the
organization-wide sharing setting for activities is Controlled
by Parent.
6. Click Save.
SEE ALSO:
Sharing Rules
Sharing Rule Considerations
Sharing Rule Categories
326
Set Up and Maintain Your Salesforce Organization Creating Quick Text Sharing Rules
9. Click Save.
SEE ALSO:
Sharing Rules
Sharing Rule Considerations
Sharing Rule Categories
327
Set Up and Maintain Your Salesforce Organization Creating Custom Object Sharing Rules
2. From Setup, enter Sharing Settings in the Quick Find box, then select Sharing Available in: Enterprise,
Settings. Performance, Unlimited,
Developer, and
3. In the Sharing Rules related list for the custom object, click New.
Database.com Editions
4. Enter the Label and Rule Name. The Label is the sharing rule label as it appears on the user
interface. The Rule Name is a unique name used by the API and managed packages.
USER PERMISSIONS
5. Enter the Description. This field describes the sharing rule. It is optional and can contain up to
1000 characters. To create sharing rules:
6. Select a rule type. • “Manage Sharing”
Note: To use a field that’s not supported by criteria-based sharing rules, you can create a workflow rule or Apex trigger
to copy the value of the field into a text or numeric field, and use that field as the criterion.
8. In the Share with line, specify the users who get access to the data: select a category from the first drop-down list and a set of
users from the second drop-down list or lookup field.
9. Select the sharing access setting for users.
SEE ALSO:
Sharing Rules
Sharing Rule Considerations
Sharing Rule Categories
328
Set Up and Maintain Your Salesforce Organization Editing Custom Object Sharing Rules
6. Click Save.
SEE ALSO:
Sharing Rules
Sharing Rule Considerations
Sharing Rule Categories
329
Set Up and Maintain Your Salesforce Organization Edit Order Sharing Rules
Note: To use a field that’s not supported by criteria-based sharing rules, you can create a workflow rule or Apex trigger
to copy the value of the field into a text or numeric field, and use that field as the criterion.
8. In the Share with line, specify the users who get access to the data: select a category from the first drop-down list and a set of
users from the second drop-down list or lookup field.
9. Select the sharing access setting for users.
330
Set Up and Maintain Your Salesforce Organization Creating User Provisioning Request Sharing Rules
6. Click Save.
9. Click Save.
SEE ALSO:
Sharing Rules
Sharing Rule Considerations
Sharing Rule Categories
Editing User Provisioning Request Sharing Rules
331
Set Up and Maintain Your Salesforce Organization Editing User Provisioning Request Sharing Rules
5. Click Save.
SEE ALSO:
Sharing Rules
Sharing Rule Considerations
Sharing Rule Categories
4. Enter the Label Name and click the Rule Name field to auto-populate it. To enable work orders:
• “Customize Application”
5. Enter the Description. This field describes the sharing rule. It is optional and can contain up to
1000 characters.
6. Select a rule type.
7. Depending on the rule type you selected, do the following:
• Based on record owner—In the owned by members of line, specify the users whose records are shared: select a
category from the first drop-down list and a set of users from the second drop-down list (or lookup field, if your organization
has over 200 queues, groups, roles, or territories).
332
Set Up and Maintain Your Salesforce Organization Sharing Rule Considerations
• Based on criteria—Specify the Field, Operator, and Value criteria that records must match to be included in the sharing
rule. The fields available depend on the object selected, and the value is always a literal number or string. Click Add Filter Logic...
to change the default AND relationship between each filter.
Note: To use a field that’s not supported by criteria-based sharing rules, you can create a workflow rule or Apex trigger to
copy the value of the field into a text or numeric field, and use that field as the criterion.
8. In the Share with line, specify the users who get access to the data: select a category from the first drop-down list and a set of users
from the second drop-down list or lookup field.
9. Select the sharing access setting for users.
333
Set Up and Maintain Your Salesforce Organization User Sharing
• When you change the access levels for a sharing rule, all existing records are automatically updated to reflect the new access
levels.
• When you delete a sharing rule, the sharing access created by that rule is automatically removed.
• When you modify which users are in a group, role, or territory, the sharing rules are reevaluated to add or remove access as
necessary.
• When you transfer records from one user to another, the sharing rules are reevaluated to add or remove access to the transferred
records as necessary.
• Making changes to sharing rules may require changing a large number of records at once. To process these changes efficiently,
your request may be queued and you may receive an email notification when the process has completed.
• Lead sharing rules do not automatically grant access to lead information after leads are converted into account, contact, and
opportunity records.
Portal Users
• You can create rules to share records between most types of Customer Portal users and Salesforce users. Similarly, you can create
sharing rules between Customer Portal users from different accounts as long as they have the Customer Portal Manager user
license. However, you can’t include high-volume portal users in sharing rules because they don’t have roles and can’t be in public
groups.
• You can easily convert sharing rules that include Roles, Internal and Portal Subordinates to include Roles and Internal Subordinates
instead by using the Convert Portal User Access wizard. Furthermore, you can use this wizard to convert any publicly accessible
report, dashboard, and document folders to folders that are accessible by all users except for portal users.
Managed Package Fields
If a criteria-based sharing rule references a field from a licensed managed package whose license has expired, (expired) is
appended to the label of the field. The field label is displayed in the field drop-down list on the rule’s definition page in Setup.
Criteria-based sharing rules that reference expired fields aren't recalculated, and new records aren't shared based on those rules.
However, the sharing of existing records prior to the package's expiration is preserved.
SEE ALSO:
Sharing Rules
Sharing Rules for Communities
User Sharing
User Sharing enables you to show or hide an internal or external user from another user in your
EDITIONS
organization.
Watch a demo: Who Sees Whom: User Sharing (Salesforce Classic) Available in: Salesforce
Classic and Lightning
For example, you might be a manufacturer who wants to include all dealers in your organization
Experience
but keep them from seeing or interacting with each other. If so, set the organization-wide defaults
for the user object to Private. Then, open up access to specified dealers with sharing rules or manual Manual sharing, portals,
sharing. and communities available
in: Salesforce Classic
With User Sharing, you can:
• Assign the “View All Users” permission to users who need to see or interact with all users. This Available in: Enterprise,
permission is automatically enabled for users who have the “Manage Users” permission. Performance, Unlimited,
and Developer Editions
• Set the organization-wide default for user records to Private or Public Read Only.
• Create user sharing rules based on group membership or other criteria.
334
Set Up and Maintain Your Salesforce Organization Understanding User Sharing
• Create manual shares for user records to open up access to individual users or groups.
• Control the visibility of external users in customer or partner portals and communities.
SEE ALSO:
Understanding User Sharing
Restoring User Visibility Defaults
Controlling Who Community or Portal Users Can See
Review these considerations before you implement user sharing. Manual sharing available in:
Salesforce Classic
“View All Users” permission
This permission can be assigned to users who need Read access to all users, regardless of the Available in: Professional,
sharing settings. If you already have the “Manage Users” permission, you are automatically Enterprise, Performance,
granted the “View All Users” permission. Unlimited, and Developer
Organization-wide defaults for user records Editions
This setting defaults to Private for external users and Public Read Only for internal users. When
the default access is set to Private, users can only read and edit their own user record. Users
with subordinates in the role hierarchy maintain read access to the user records of those subordinates.
User sharing rules
General sharing rule considerations apply to user sharing rules. User sharing rules are based on membership to a public group, role,
or territory. Each sharing rule shares members of a source group with those of the target group. You must create the appropriate
public groups, roles, or territories before creating your sharing rules. Users inherit the same access as users below them in the role
hierarchy.
Manual sharing for user records
Manual sharing can grant read or edit access on an individual user, but only if the access is greater than the default access for the
target user. Users inherit the same access as users below them in the role hierarchy. Apex managed sharing is not supported.
User sharing for external users
Users with the “Manage External Users” permission have access to external user records for Partner Relationship Management,
Customer Service, and Customer Self-Service portal users, regardless of sharing rules or organization-wide default settings for User
records. The “Manage External Users” permission does not grant access to guest or Chatter External users.
User Sharing Compatibility
When the organization-wide default for the user object is set to Private, User Sharing does not fully support these features.
• Chatter Messenger is not available for external users. It is available for internal users only when the organization-wide default
for the user object is set to Public Read Only.
• Customizable Forecasts—Users with the "View All Forecast" permission can see users to whom they don't have access.
• Salesforce CRM Content—A user who can create libraries can see users they don't have access to when adding library members.
335
Set Up and Maintain Your Salesforce Organization Set the Org-Wide Sharing Defaults for User Records
• Standard Report Types—Some reports based on standard report types expose data of users to whom a user doesn’t have access.
For more information, see Control Standard Report Visibility.
SEE ALSO:
User Sharing
4. Click Save.
Users have Read access to those below them in the role hierarchy and full access on their own user record.
SEE ALSO:
External Organization-Wide Defaults Overview
Controlling Who Community or Portal Users Can See
User Sharing
336
Set Up and Maintain Your Salesforce Organization Creating User Sharing Rules
User sharing rules based on membership enable user records belonging to members of one group Available in: Professional,
to be shared with members of another group. Before you can create a membership-based user Enterprise, Performance,
sharing rule, confirm that the appropriate groups have been created. Unlimited, and Developer
Editions
Users inherit the same access as users below them in the role hierarchy.
1. From Setup, enter Sharing Settings in the Quick Find box, then select Sharing
Settings. USER PERMISSIONS
2. In the User Sharing Rules related list, click New. To create sharing rules:
3. Enter the Label Name and click the Rule Name field to auto-populate it. • “Manage Sharing”
4. Enter the Description. This field describes the sharing rule. It is optional and can contain up to
1000 characters.
5. Select a rule type.
6. Depending on the rule type you selected, do the following:
a. Based on group membership—Users who are members of a group can be shared with members of another group.
In the Users who are members of line, select a category from the first drop-down list and a set of users from the
second drop-down list (or lookup field, if your organization has over 200 groups, roles, or territories).
b. Based on criteria—Specify the Field, Operator, and Value criteria that records must match to be included in the sharing
rule. The fields available depend on the object selected, and the value is always a literal number or string. Click Add Filter Logic...
to change the default AND relationship between each filter.
7. In the Share with line, specify the group that should have access to the user records. Select a category from the first drop-down
list and a set of users from the second drop-down list or lookup field.
8. Select the sharing access setting for users.
9. Click Save.
SEE ALSO:
Editing User Sharing Rules
Sharing Rule Categories
User Sharing
337
Set Up and Maintain Your Salesforce Organization Editing User Sharing Rules
2. In the User Sharing Rules related list, click Edit next to the rule you want to change. Available in: Professional,
3. Change the Label and Rule Name if desired. Enterprise, Performance,
Unlimited, and Developer
4. If you selected a rule that’s based on group membership, skip to the next step. If you selected Editions
a rule that's based on criteria, specify the criteria that records must match to be included in the
sharing rule. The fields available depend on the object selected, and the value must be a literal
number or string. Click Add Filter Logic... to change the default AND relationship between USER PERMISSIONS
each filter. To edit sharing rules:
5. Select the sharing access setting for users. The User Access level applies to users who are • “Manage Sharing”
members of the groups being shared to.
6. Click Save.
SEE ALSO:
User Sharing
338
Set Up and Maintain Your Salesforce Organization Grant Access to User Records
An administrator can disable or enable manual user record sharing for all users.
SEE ALSO:
User Sharing
Differences Between User Sharing with Manual Sharing and Sharing Sets
7. Click Save.
8. To change record access, on the user’s Sharing Detail page, click Edit or Del.
339
Set Up and Maintain Your Salesforce Organization Controlling Who Community or Portal Users Can See
Visibility to users as a result of the Community User Visibility preference is not inherited through the role hierarchy. If a manager
in the role hierarchy is not a member of a community, but their subordinate is, the manager does not gain access to other members
of the community.
Portals
The initial default is to allow portal users to be seen by other portal users within the same account. You can change the default to
allow external users in portals to be seen by only themselves and their superiors in the role hierarchy. The setting provides Read
access only and applies to all of the portals in your organization.
Note: Partner portal users also have access to their channel manager.
1. From Setup, enter Sharing Settings in the Quick Find box, then select Sharing Settings.
2. Click Edit in the Organization-Wide Defaults area.
3. Deselect the Portal User Visibility checkbox to allow users to be seen by only themselves and their superiors. Or select the checkbox
to let portal users be seen by all other portal users within the same account.
4. For Community User Visibility, deselect the checkbox to allow users to be seen only by themselves and their superiors. Select the
checkbox to allow community users to be seen by all other users in their communities.
5. Click Save.
Selecting either of these options is a quick way of overriding an organization-wide default setting of Private for external access to the
User object for Community or Portal users.
Once you have set these defaults, you can selectively expand access to users.
SEE ALSO:
Set the Org-Wide Sharing Defaults for User Records
Creating User Sharing Rules
Control Standard Report Visibility
User Sharing
340
Set Up and Maintain Your Salesforce Organization Control Standard Report Visibility
Important: When Analytics sharing is in effect, all users in the organization get Viewer access to report and dashboard folders
that are shared with them. Users who have been designated Manager or Editor on a folder, and users with additional administrative
permissions, can have more access. Each user’s access to folders is based on the combination of folder access and user permissions.
To ensure that standard report folders are hidden as needed, remove sharing for all users from the folders. Then deselect the View
Dashboards in Public Folders and View Reports in Public Folders checkboxes for the users’ profiles.
SEE ALSO:
User Sharing
Report Types Support for User Sharing
341
Set Up and Maintain Your Salesforce Organization Restoring User Visibility Defaults
When the organization-wide default for users is set to Public Read Only, users get read access to all other user records, can see those
users in search and list views, and can interact with those users on Chatter and Communities.
Example: For example, a partner user wants to collaborate with the sales representative in Communities. If you have disabled
the Community User Visibility checkbox in the Sharing Settings page, community users can only be seen by themselves
and their superiors in the role hierarchy. You can use manual sharing to grant the partner user read access to the sales representative
by using the Sharing button on the sales representative’s user detail page. This access enables both parties to interact and
collaborate in Communities.
SEE ALSO:
Controlling Who Community or Portal Users Can See
After user visibility is restored to the defaults, all internal users are visible to each other, portal users under the same portal account are
visible to each other, and community members in the same community are visible to each other.
SEE ALSO:
Controlling Who Community or Portal Users Can See
User Sharing
342
Set Up and Maintain Your Salesforce Organization Report Types Support for User Sharing
343
Set Up and Maintain Your Salesforce Organization Differences Between User Sharing with Manual Sharing and
Sharing Sets
Additionally, some reports may display a user’s role. When a user can see a record but does not have access to the record owner, the
user can see the owner’s role on those reports.
SEE ALSO:
Control Standard Report Visibility
User Sharing
Differences Between User Sharing with Manual Sharing and Sharing Sets
Manual sharing and sharing sets provide access to different groups of users.
EDITIONS
You can control who sees whom in the organization, including internal and external users, if your
organization has User Sharing enabled. Manual sharing and sharing sets provide additional access Available in: Salesforce
beyond the organization-wide defaults and sharing rules. External users, such as high-volume portal Classic
or community users (HVPU), don’t have roles and can’t be used in sharing rules.
Available in: Enterprise,
Example: Grant internal and non-HVPU users access to a user by creating a manual share Performance, Unlimited,
using the Sharing button on the user detail page of that user. Grant HVPUs access to other and Developer Editions
users by creating a sharing set for your portals or communities.
The following table shows when to use manual sharing and sharing sets.
1
Non-HVPU refers to an external user who is not using an HVPU profile.
2
HVPU refers to an external user that has one of these profiles:
• Authenticated Website
• Customer Community User
• Customer Community Login User
• High Volume Customer Portal
• High Volume Portal
• Overage Authenticated Website User
• Overage High Volume Customer Portal User
SEE ALSO:
User Sharing
Share User Records
344
Set Up and Maintain Your Salesforce Organization Sharing Considerations
Sharing Considerations
Learn how sharing models give users access to records they don’t own.
The sharing model is a complex relationship between role hierarchies, user permissions, sharing rules, and exceptions for certain situations.
Review the following notes before setting your sharing model:
Deleting Records
• The ability to delete individual records is controlled by administrators, the record owner, users in a role hierarchy above the record
owner, and any user that has been granted “Full Access.”
• If the sharing model is set to Public Read/Write/Transfer for cases or leads or Public Full Access for campaigns, any user can delete
those types of records.
345
Set Up and Maintain Your Salesforce Organization Sharing Considerations
Account Sharing
• To restrict users’ access to records they do not own that are associated with accounts they do own, set the appropriate access level
on the role. For example, you can restrict a user’s access to opportunities they do not own yet are associated with accounts they do
own using the Opportunity Access option.
• Regardless of the organization-wide defaults, users can, at a minimum, view the accounts in their territories. Also, users can be
granted access to view and edit the contacts, opportunities, and cases associated with their territories’ accounts.
Apex Sharing
The organization-wide default settings can’t be changed from private to public for a custom object if Apex code uses the sharing entries
associated with that object. For example, if Apex code retrieves the users and groups who have sharing access on a custom object
Invoice__c (represented as Invoice__share in the code), you can’t change the object’s organization-wide sharing setting from
private to public.
Campaign Sharing
• In Professional, Enterprise, Unlimited, Performance, and Developer Editions, designate all users as Marketing Users when enabling
campaign sharing. This simplifies administration and troubleshooting because access can be controlled using sharing and profiles.
• To segment visibility between business units while maintaining existing behavior within a business unit:
1. Set the campaign organization-wide default to Private.
2. Create a sharing rule to grant marketing users Public Full Access to all campaigns owned by users within their business unit.
3. Create a sharing rule to grant all non-marketing users in a business unit Read Only access to all campaigns owned by users in
their business unit.
• When a single user, such as a regional marketing manager, owns multiple campaigns and needs to segment visibility between
business units, share campaigns individually instead of using sharing rules. Sharing rules apply to all campaigns owned by a user
and do not allow segmenting visibility.
• Create all campaign sharing rules prior to changing your organization-wide default to reduce the affect the change has on your
users.
• To share all campaigns in your organization with a group of users or a specific role, create a sharing rule that applies to campaigns
owned by members of the “Entire Organization” public group.
• Minimize the number of sharing rules you need to create by using the “Roles and Subordinates” option instead of choosing a specific
role.
• If campaign hierarchy statistics are added to the page layout, a user can see aggregate data for a parent campaign and all the
campaigns below it in the hierarchy regardless of whether that user has sharing rights to a particular campaign within the hierarchy.
Therefore, consider your organization’s campaign sharing settings when enabling campaign hierarchy statistics. If you do not want
346
Set Up and Maintain Your Salesforce Organization Who Has Access to Account Records?
users to see aggregate hierarchy data, remove any or all of the campaign hierarchy statistics fields from the Campaign Hierarchy
related list. These fields will still be available for reporting purposes.
• If the sharing model is set to Public Full Access for campaigns, any user can delete those types of records.
Contact Sharing
The organization-wide sharing default for contacts is not available to organizations that have person accounts enabled.
SEE ALSO:
Sharing Rules
Sharing Settings
Note: If the Sharing button does not appear, the organization-wide sharing defaults may have been set to Controlled by Parent
or Public Read. Otherwise, only the record owner, an administrator, or a user above the owner in the role hierarchy can see the
Sharing Detail page.
347
Set Up and Maintain Your Salesforce Organization Who Has Access to Account Records?
Implicit access Corresponds to the “Associated record owner or sharing” entry in the Reason column of the Sharing Detail
page. The user may have access to a child record of an account (opportunity, case, or contact), which grants
them Read access on that account. You cannot overwrite this access. For example, if the user has access to a
case record, he or she has implicit Read access to the parent account record.
Organization-wide Check if the defaults for the account object are set to Private. If it is, the user may have gained access via other
sharing default methods listed here. It must be set to Private if at least one of your users should not see a record.
Role hierarchy The user may have inherited Read access from a subordinate in the role hierarchy. You can’t override this
behavior for non-custom objects. If the user who has access is on a different branch of the hierarchy from the
account owner, check the sharing rules, account teams, and account territory.
Sharing rules The user may have gotten access because he or she has been included in a relevant sharing rule. If the sharing
rule uses public groups (or other categories such as roles) to grant access, check your public groups to see if
the user has been included in the group.
Manual shares The user may have gotten access through the Sharing button of the record. Only the record owner, an
administrator, or a user above the owner in the role hierarchy can create or remove a manual share on the
record.
Account Teams and The user may have been added to an Account Team by the account owner, an administrator, a user above the
Territory owner in the role hierarchy, or an account team member. If your organization uses territory management,
check if the user who has access is higher in the territory hierarchy than the account owner. Managers gain
the same access as their subordinates. Additionally, if the user is a member of Group A, which is a member of
Group B, he or she gets access to all accounts shared to Group B, at the same level of access as members of
Group B.
SEE ALSO:
Control Who Sees What
Resolving Insufficient Privileges Errors
348
Set Up and Maintain Your Salesforce Organization Viewing Sharing Overrides
For each profile, the list specifies the permissions that allow it to override sharing settings. The “View Available in: Professional,
All Data” and “Modify All Data” permissions override sharing settings for all objects in the organization, Enterprise, Performance,
while the object permissions “View All” and “Modify All” override sharing settings for the named Unlimited, Developer, and
object. Database.com Editions
Note: The Sharing Overrides list doesn't show permissions granted through permission sets,
which may also override sharing settings for an object. USER PERMISSIONS
To override sharing settings for specific objects, you can create or edit permission sets or profiles To view sharing overrides:
and enable the “View All” and “Modify All” object permissions. These permissions provide access • “View Setup and
to all records associated with an object across the organization, regardless of the sharing settings. Configuration”
Before setting these permissions, compare the different ways to control data access.
SEE ALSO:
Profiles
349
Set Up and Maintain Your Salesforce Organization Recalculate Sharing Rules
Note: Use the Recalculate buttons on the Sharing Rules related lists only if sharing rule Account and contact sharing
updates have failed or are not working as expected. rules are available in:
Professional, Enterprise,
To manually recalculate an object’s sharing rules: Performance, Unlimited,
1. From Setup, enter Sharing Settings in the Quick Find box, then select Sharing and Developer Editions
Settings. Account territory, case, lead,
2. In the Sharing Rules related list for the object you want, click Recalculate. opportunity, order sharing
rules, and custom object
3. If you want to monitor the progress of a recalculation, from Setup, enter Background Jobs sharing rules are available
in the Quick Find box, then select Background Jobs. in: Enterprise, Performance,
Note: The Recalculate button is disabled when group membership or sharing rule Unlimited, and Developer
Editions
calculations are deferred. Sharing rules for related objects are automatically recalculated. For
example, account sharing rules are recalculated when opportunity sharing rules are Campaign sharing rules are
recalculated since the opportunity records are in a master-detail relationship on account available in Professional
records. Edition for an additional cost,
and Enterprise,
When sharing is recalculated, Salesforce also runs all Apex sharing recalculations. During sharing Performance, Unlimited,
rule recalculation, related object sharing rules are calculated as well. You receive an email that and Developer Editions
notifies you when the recalculation is completed. For example, when recalculating sharing rule for
opportunities, account sharing rules are recalculated as well since opportunity is a detail of an
account object. USER PERMISSIONS
Automatic sharing rule calculation is enabled by default. You can defer sharing rule calculation by
To recalculate sharing rules:
suspending and resuming at your discretion.
• “Manage Sharing”
SEE ALSO:
Sharing Rules
Defer Sharing Calculations
Monitoring Background Jobs
Asynchronous Parallel Recalculation of Sharing Rules
350
Set Up and Maintain Your Salesforce Organization Asynchronous Parallel Recalculation of Org-Wide Defaults
(Pilot)
SEE ALSO:
Recalculate Sharing Rules
Asynchronous Parallel Recalculation of Sharing Rules
351
Set Up and Maintain Your Salesforce Organization Defer Sharing Calculations
You can monitor the progress of your parallel recalculation on the Background Jobs page or view your recent sharing operations on the
View Setup Audit Trail page.
Recalculation of sharing rules maintains implicit sharing between accounts and child records. In the Background Jobs page, these
processes corresponds to these job sub types:, Account — Extra Parent Access Removal and Account — Parent Access Grant.
Additionally, deleting a sharing rule corresponds to the job sub type Object — Access Cleanup, denoting that irrelevant share rows
are removed.
Note: For an in-depth look at record access, see Designing Record Access for Enterprise Scale.
SEE ALSO:
Monitoring Background Jobs
Recalculate Sharing Rules
Built-in Sharing Behavior
If You can
Group membership and sharing rule calculation are enabled • Suspend, update, and resume group membership calculation.
This suspends sharing rule calculation and requires a full
recalculation of sharing rules.
• Suspend, update, and resume sharing rule calculation.
Group membership calculation is enabled and sharing rule Suspend, update, and, resume group membership calculation.
calculation is suspended
Group membership calculation is suspended and sharing rule Suspend, update, resume, and recalculate sharing rule calculation.
calculation is enabled
To suspend or resume group membership calculation, see Manage Group Membership Calculations.
To suspend, resume, or recalculate sharing rule calculation, see Deferring Sharing Rule Calculations.
SEE ALSO:
Recalculate Sharing Rules
352
Set Up and Maintain Your Salesforce Organization Defer Sharing Calculations
SEE ALSO:
Defer Sharing Calculations
353
Set Up and Maintain Your Salesforce Organization Defer Sharing Calculations
USER PERMISSIONS
354
Set Up and Maintain Your Salesforce Organization Object-Specific Share Locks
Note: Use the Recalculate buttons on the Sharing Rules related lists only if sharing rule updates have failed or are not working
as expected.
When recalculation for an ownership-based sharing rule is in progress, you can’t create, edit, or delete ownership-based sharing
rules for that object targeting the same group of users. For example, let’s say you’re creating an ownership-based lead sharing rule
targeting the All Internal Users group. While recalculation is in progress, you can create another ownership-based sharing rule for
leads targeting any other public group except the All Internal Users group. You can create, update, or delete ownership-based sharing
rules for leads targeting all internal users only after the recalculation finishes. You receive an email notification when the recalculation
is complete.
When recalculation for a criteria-based sharing rule is in progress, you can’t edit or delete that rule. But you can create, edit, or delete
any other criteria-based or ownership-based sharing rule for that object regardless of the target group of users.
Note: You can’t modify the org-wide defaults when a sharing rule recalculation for any object is in progress. Similarly, you
can’t modify sharing rules when recalculation for an org-wide default update is in progress.
Account, cases, contacts, and opportunities
Sharing rules can affect accounts and the associated account children—cases, contacts, and opportunities—so they are locked
together to ensure that recalculation runs properly. For example, creating or editing an account sharing rule prevents you from
creating or editing a case, contact, or opportunity sharing rule. Similarly, creating or editing an opportunity sharing rule prevents
355
Set Up and Maintain Your Salesforce Organization Object-Specific Share Locks
you from creating or editing a case, contact, or account sharing rule before recalculation is complete. Locks are not shared across
objects, except across accounts and associated account children.
Note: Clicking the Recalculate button for any of these four objects’ sharing rules prevents anyone from making changes to
sharing rules for those objects until recalculation finishes.
In the following example, an ownership-based account sharing rule has been deleted and recalculation is in progress. Although you
can’t create, edit, or delete another ownership-based sharing rule for any of these objects, you can make changes to a criteria-based
sharing rule (2) for those objects.
SEE ALSO:
Sharing Rules
Recalculate Sharing Rules
Defer Sharing Calculations
356
Set Up and Maintain Your Salesforce Organization Built-in Sharing Behavior
Note: These sharing behaviors simplify administration for data access but can make mass inserts and mass updates slow. For best
practices on designing record access in a large organization, see Designing Record Access for Enterprise Scale.
SEE ALSO:
Control Who Sees What
357
Set Up and Maintain Your Salesforce Organization Resolving Insufficient Privileges Errors
It’s a good idea for an administrator to log in to the application using your login to help you resolve an issue. You can grant administrators
access for a specified duration.
Note: Watch this video series to understand how to grant users the access they need. Who Sees What
4. If needed, assign the necessary permission using a permission set or by updating the profile. Permission sets provide access on an
individual basis. Assign permissions on the user profile only if all users of this profile require access. Be sure you're aware of your
organization's security policy and take action accordingly.
SEE ALSO:
Resolving Insufficient Privileges Errors
Permission Sets
User Permissions and Access
Profiles
358
Set Up and Maintain Your Salesforce Organization Resolving Insufficient Privileges Errors
2. If the user should have gotten access via a sharing rule, review your sharing rules. To manage territories:
• “Manage Territories”
The user might have been unintentionally left out from a sharing rule.
a. From Setup, enter Sharing Settings in the Quick Find box, then select Sharing
Settings.
b. Check the public group (or other categories such as roles or queues) that the user should belong to for that sharing rule.
b. If the user must gain access via a manual share, create a manual share by clicking Add.
359
Set Up and Maintain Your Salesforce Organization Resolving Insufficient Privileges Errors
If your organization is using territories, the user might be missing from the territories or the record might not be under the correct
territory where the user is a member. Otherwise, you must be a forecast manager, Forecast managers can manage
territories is selected, and you are working below your position in the territory hierarchy.
SEE ALSO:
Resolving Insufficient Privileges Errors
User Role Hierarchy
Sharing Rules
2. From your object management settings, find the object that you want to check, and then scroll USER PERMISSIONS
down to Validation Rules.
To view and change
3. Verify that none of the validation rules are causing the error. Or fix the validation rule if the user validation rules:
must gain access through it. • ”View Setup and
Configuration”
360
Set Up and Maintain Your Salesforce Organization Managing Folders
Managing Folders
A folder is a place where you can store reports, dashboards, documents, or email templates. Folders
EDITIONS
can be public, hidden, or shared, and can be set to read-only or read/write. You control who has
access to its contents based on roles, permissions, public groups, and license types. You can make Available in: both Salesforce
a folder available to your entire organization, or make it private so that only the owner has access. Classic and Lightning
• To access document folders, click the Documents tab. Experience
• To access email template folders, from Setup, enter Email Templates in the Quick Available in: All Editions
Find box, then select Email Templates. except Database.com
To create a folder, click Create New Folder. Report folders not available
To edit a folder, click Edit next to the folder name. Alternatively, select a folder name from the Folder in: Contact Manager,
Group, and Personal
drop-down list and click Edit.
Editions
Note: You can modify the contents of a folder only if the folder access level is set to read/write.
Only users with the “Manage Public Documents” or “Manage Public Templates” permission
can delete or change a read-only folder. Regardless of permissions or folder settings, users USER PERMISSIONS
can’t edit unfiled or personal folders. Users with the “Manage Reports in Public Folders”
To create, edit, or delete
permission can edit all reports in public folders but not reports in other users’ personal folders. public document folders:
• “Manage Public
SEE ALSO: Documents”
Creating and Editing Folders To create, edit, and delete
public email template
Deleting Folders folders:
Filing Items in Folders • “Manage Public
Templates”
To create, edit, and delete
public report folders:
• “Manage Reports in
Public Folders”
To create, edit, and delete
public dashboard folders:
• “Manage Dashboards”
AND “View All Data”
361
Set Up and Maintain Your Salesforce Organization Managing Folders
Note: You can use enhanced folder sharing to give your users more detailed levels of access to reports folders and
dashboard folders. For more information, see Turn On Enhanced Sharing for Reports and Dashboards and Share a
Report or Dashboard Folder.
6. Click Save.
SEE ALSO:
Managing Folders
362
Set Up and Maintain Your Salesforce Organization Managing Folders
Deleting Folders
You can only delete folders that are empty. Before you begin, remove all the documents, dashboards,
EDITIONS
templates, or reports from the folder you would like to delete.
1. Click Edit next to the folder name from any page that lists folders. On the Reports tab, click Available in: both Salesforce
Classic and Lightning
then Edit in the Folders pane.
Experience
2. Click Delete or then Delete.
Available in: All Editions
3. Click OK to confirm. except Database.com
Report folders not available
SEE ALSO: in: Contact Manager,
Group, and Personal
Managing Folders
Editions
USER PERMISSIONS
363
Set Up and Maintain Your Salesforce Organization Import Data Into Salesforce
Note: If commas aren’t appropriate for your locale, use a tab or other delimiter. Specify your
delimiter in Data Loader Settings (Settings | Settings).
364
Set Up and Maintain Your Salesforce Organization Import Data Into Salesforce
The number of records you can import depends on your permissions and the type of data you’re importing. You can import as many
records as allowed, as long as you don’t exceed the overall data storage limits for your org.
Business accounts and contacts 50,000 at a time Modify All Data What Is Imported for Business
owned by other users Accounts and Contacts?
Person accounts owned by you 50,000 at a time Create on accounts What Is Imported for Person
AND Accounts?
Edit on accounts
AND
Import Personal Contacts
Person accounts owned by other 50,000 at a time Create on accounts What Is Imported for Person
users AND Accounts?
Campaign members 50,000 at a time Depends on what’s being What’s Imported for Campaign
imported: Members?
Custom objects 50,000 at a time Import Custom Objects What Is Imported for Custom
AND Objects?
Assets You can’t import these records via the Data Import Wizard.
365
Set Up and Maintain Your Salesforce Organization Choosing a Method for Importing Data
For information on field accessibility and how different field type values are imported, see Notes on Importing Data on page 372.
SEE ALSO:
Data Import Wizard
Choosing a Method for Importing Data
Undoing an Import
What permissions do I need to import records?
Data Loader Enterprise, Between 5,000 Yes Yes External Data Loader is an application for
Unlimited, and 5 million the bulk import or export of data.
Performance, Use it to insert, update, delete, or
Developer, and
366
Set Up and Maintain Your Salesforce Organization Choosing a Method for Importing Data
SEE ALSO:
Data Import Wizard
Import Data Into Salesforce
Matching by Salesforce ID
You can also choose to match contacts and business accounts by Salesforce ID. With this option, the Salesforce ID is the criteria for
de-duplication. That is, if you are matching by ID and a record in your source file has the same ID as a record in Salesforce, that record is
updated in Salesforce. Record IDs are case-sensitive and must match exactly.
Matching by External ID
An external ID is a custom field that has the External ID attribute, meaning that it contains unique record identifiers from a system outside
of Salesforce. When you select this option, the Data Import Wizard detects existing records in Salesforce with external IDs that match
those in the import file. This operation is not case-sensitive. For example, “ABC” is matched with “abc”. However, if the external ID field
also has the case-sensitive Unique attribute, uppercase and lowercase letters aren’t considered identical.
Scan and standardize your external ID values before performing the import to prevent unintended matches.
Imported External IDs are always treated as unique. Multiple records with the same External ID within a file aren’t uploaded.
367
Set Up and Maintain Your Salesforce Organization Choosing a Method for Importing Data
SEE ALSO:
Data Import Wizard
Choosing a Method for Importing Data
Import Data Into Salesforce
Matching by Email
With this option, records in your import file are matched with existing records in Salesforce according to the exact value in the Email
field.
368
Set Up and Maintain Your Salesforce Organization Choosing a Method for Importing Data
Matching by External ID
An external ID is a custom field that has the External ID attribute, meaning that it contains unique record identifiers from a system outside
of Salesforce. When you select this option, the Data Import Wizard detects existing records in Salesforce with external IDs that match
those in the import file. This operation is not case-sensitive. For example, “ABC” is matched with “abc”. However, if the external ID field
also has the case-sensitive Unique attribute, uppercase and lowercase letters aren’t considered identical.
Scan and standardize your external ID values before performing the import to prevent unintended matches.
Imported External IDs are always treated as unique. Multiple records with the same External ID within a file aren’t uploaded.
Matching by Name
When you select this option, the Data Import Wizard detects existing records in Salesforce that have the same name. This type of matching
is not case-sensitive. For example, names that begin with a capital letter are matched with the same name that begins with a lowercase
letter. If necessary, scan and standardize your record names before performing the import to prevent unintended matches.
Matching by Email
With this option, records in your import file are matched with existing records in Salesforce according to the exact value in the Email
field.
369
Set Up and Maintain Your Salesforce Organization Choosing a Method for Importing Data
Matching by Salesforce ID
A Salesforce ID is a system-generated, case-sensitive string of 15 or 18 letters and numbers that uniquely identifies each Salesforce record.
When you select this option, the Data Import Wizard detects existing records in Salesforce that have the same Salesforce ID. You can
obtain Salesforce IDs by running reports that include the ID field of the record.
Matching by External ID
An external ID is a custom field that has the External ID attribute, meaning that it contains unique record identifiers from a system outside
of Salesforce. When you select this option, the Data Import Wizard detects existing records in Salesforce with external IDs that match
those in the import file. This operation is not case-sensitive. For example, “ABC” is matched with “abc”. However, if the external ID field
also has the case-sensitive Unique attribute, uppercase and lowercase letters aren’t considered identical.
Scan and standardize your external ID values before performing the import to prevent unintended matches.
Imported External IDs are always treated as unique. Multiple records with the same External ID within a file aren’t uploaded.
SEE ALSO:
Data Import Wizard
Choosing a Method for Importing Data
Matching by External ID
An external ID is a custom field that has the External ID attribute, meaning that it contains unique record identifiers from a system outside
of Salesforce. When you select this option, the Data Import Wizard detects existing records in Salesforce with external IDs that match
those in the import file. This operation is not case-sensitive. For example, “ABC” is matched with “abc”. However, if the external ID field
also has the case-sensitive Unique attribute, uppercase and lowercase letters aren’t considered identical.
Scan and standardize your external ID values before performing the import to prevent unintended matches.
Imported External IDs are always treated as unique. Multiple records with the same External ID within a file aren’t uploaded.
SEE ALSO:
Data Import Wizard
370
Set Up and Maintain Your Salesforce Organization Choosing a Method for Importing Data
When you select this option, the Data Import Wizard detects existing records in Salesforce that have Custom object import
the same name. This type of matching is not case-sensitive. For example, names that begin with a available in: Contact
capital letter are matched with the same name that begins with a lowercase letter. If necessary, Manager, Group,
scan and standardize your record names before performing the import to prevent unintended Professional, Enterprise,
Performance, Unlimited,
matches.
and Developer Editions
Matching by Salesforce ID
USER PERMISSIONS
A Salesforce ID is a system-generated, case-sensitive string of 15 or 18 letters and numbers that
uniquely identifies each Salesforce record. When you select this option, the Data Import Wizard To import custom object
detects existing records in Salesforce that have the same Salesforce ID. You can obtain Salesforce data via the Data Import
Wizard:
IDs by running reports that include the ID field of the record.
• Import Custom Objects
AND
Matching by External ID Create on the custom
An external ID is a custom field that has the External ID attribute, meaning that it contains unique object
record identifiers from a system outside of Salesforce. When you select this option, the Data Import AND
Wizard detects existing records in Salesforce with external IDs that match those in the import file.
Edit on the custom object
This operation is not case-sensitive. For example, “ABC” is matched with “abc”. However, if the
external ID field also has the case-sensitive Unique attribute, uppercase and lowercase letters aren’t
considered identical.
Scan and standardize your external ID values before performing the import to prevent unintended matches.
Imported External IDs are always treated as unique. Multiple records with the same External ID within a file aren’t uploaded.
Note: You can’t use the Data Import Wizard to import custom objects with two master-detail relationships.
SEE ALSO:
Data Import Wizard
Choosing a Method for Importing Data
371
Set Up and Maintain Your Salesforce Organization Choosing a Method for Importing Data
When you select this option, the import wizard detects existing solutions in Salesforce that have Available in: Professional,
the same title. This type of matching isn’t case-sensitive. For example, titles that begin with a capital Enterprise, Performance,
letter are matched with the same title that begins with a lowercase letter. If necessary, scan and Unlimited, and Developer
standardize your solution titles before performing the import to prevent unintended matches. Editions
A Salesforce ID is a system-generated, case-sensitive string of 15 or 18 letters and numbers that To import solutions:
uniquely identifies each Salesforce record. When you select this option, the Data Import Wizard • “Import Solutions”
detects existing records in Salesforce that have the same Salesforce ID. You can obtain Salesforce
IDs by running reports that include the ID field of the record.
Matching by External ID
An external ID is a custom field that has the External ID attribute, meaning that it contains unique record identifiers from a system outside
of Salesforce. When you select this option, the Data Import Wizard detects existing records in Salesforce with external IDs that match
those in the import file. This operation is not case-sensitive. For example, “ABC” is matched with “abc”. However, if the external ID field
also has the case-sensitive Unique attribute, uppercase and lowercase letters aren’t considered identical.
Scan and standardize your external ID values before performing the import to prevent unintended matches.
Imported External IDs are always treated as unique. Multiple records with the same External ID within a file aren’t uploaded.
SEE ALSO:
Data Import Wizard
Choosing a Method for Importing Data
• New Values for Picklists and Multi-Select Picklists—If you import a picklist value that Your edition determines the
doesn’t match an existing picklist value: types of objects you can
import.
– For an unrestricted picklist, the Data Import Wizard uses the value that’s in the import file.
– For a restricted picklist, the Data Import Wizard uses the picklist’s default value.
• Multi-Select Picklists—To import multiple values into a multi-select picklist, separate the values by a semicolon in your import
file.
372
Set Up and Maintain Your Salesforce Organization Choosing a Method for Importing Data
You can import up to 100 values at a time in a multi-select picklist field. If you have more than 100 values in your import file for any
one record, the import wizard leaves the field blank in that record.
• Checkboxes—To import data into a checkbox field, use 1 for checked values and 0 for unchecked values.
• Default Values—For picklist, multi-select picklist, and checkbox fields, if you do not map the field in the import wizard, the default
value for the field, if any, is automatically inserted into the new or updated record.
• Date/Time Fields—Ensure that the format of any date/time fields you are importing matches how they display in Salesforce per
your locale setting.
• Formula Fields—Formula fields cannot accept imported data because they are read only.
• Field Validation Rules—Salesforce runs validation rules on records before they are imported. Records that fail validation aren’t
imported. Consider deactivating the appropriate validation rules before running an import if they affect the records you are importing.
• Geolocation Custom Fields—To import a geolocation custom field using the Data Import Wizard, supply two values: a latitude
and a longitude. Import both values in one field, separated by a semicolon. If you enter only one value, it is imported as the latitude,
and the longitude is interpreted as 0. If you supply more than two values, the import fails for the entire row.
• Currency Fields—If you have currency data in your CSV file, format your values for your locale. For example, if you’re in the U.S.
locale, use periods for decimals and commas for thousand markers. Using the incorrect currency format could change your imported
values.
SEE ALSO:
Data Import Wizard
Choosing a Method for Importing Data
Import Data Into Salesforce
373
Set Up and Maintain Your Salesforce Organization Create Export Files for Import Wizards
• Omitting the Currency ISO Code column - When creating records via importing, if you don’t use the Currency ISO Code
column or fail to map it, your personal currency is used. For example, if your file has 100 and your personal currency is U.S. dollars
(currency code = USD), it’s imported as USD 100.
When updating existing records via importing, if you don’t use the Currency ISO Code column or fail to map it, any amounts
are interpreted as having the currency of the record. For example, if your file has 100 for a record that has a currency of EUR (the
currency code for euros), this amount is interpreted as EUR 100.
SEE ALSO:
Data Import Wizard
2. Review data you will import to ensure that it is more up-to-date than what is already in Salesforce. Your Salesforce data will be
replaced with data from your import file, even if it is out of date.
3. Compare your data fields with the Salesforce fields you can import into, and verify that your data will be mapped into the appropriate
Salesforce fields. See Prepare Your Data for Import on page 377.
4. If you are the administrator and are importing for multiple users, combine export data from multiple sources into a single comma
delimited text file (.csv) using Excel.
Note: When importing records from multiple users, your export file must include a Record Owner field for all new records
which must contain the full usernames or first and last names of existing, active users. Existing record owners will not be
changed; new records will be assigned to the user listed in the Record Owner field. For example, records that should be
owned by Joe Smith in your organization must have that user’s username (”[email protected]”) or first and last names (for
example, “Joe Smith”, or “Smith Joe” for Asian locales). For lead imports, you can also specify the name of a lead queue.
When importing leads, you can alternatively use a lead assignment rule to specify the owners of the imported data, instead
of using a Record Owner field.
374
Set Up and Maintain Your Salesforce Organization Create Export Files for Import Wizards
Note: If commas aren’t appropriate for your locale, use a tab or other delimiter. Specify your delimiter in Data Loader Settings
(Settings | Settings).
SEE ALSO:
Default Field Mapping for ACT!
Create Export Files for Import Wizards
Note: If commas aren’t appropriate for your locale, use a tab or other delimiter. Specify your delimiter in Data Loader Settings
(Settings | Settings).
3. Select the folder containing the contacts you want to export, and click Next.
4. Choose a file name for the exported data and click Next.
375
Set Up and Maintain Your Salesforce Organization Create Export Files for Import Wizards
5. Click Finish.
SEE ALSO:
Default Field Mapping for Outlook
Create Export Files for Import Wizards
Note: If commas aren’t appropriate for your locale, use a tab or other delimiter. Specify your delimiter in Data Loader Settings
(Settings | Settings).
2. Ensure your file includes only one name per field. The system cannot accept more than one name per field.
3. Ensure your file separates names and titles into two fields. The system cannot accept fields containing both names and titles.
4. Ensure your file includes only one phone number per field.
SEE ALSO:
Field Mapping for Other Data Sources and Organization Import
Create Export Files for Import Wizards
Note: Remember that Salesforce record IDs are case-sensitive. Don’t manually change
Salesforce IDs in your import file.
SEE ALSO:
Create Export Files for Import Wizards
Videos: Data Import How-To Series
376
Set Up and Maintain Your Salesforce Organization Prepare Your Data for Import
Note: If your data has information in fields that do not match any standard fields, your admin Available in: Salesforce
can create custom fields for that data before import. Classic and Lightning
Experience
Preparing Contacts
Use Excel® to label the columns in your import file as specified in Field Mapping for Other Data Available in: Group,
Sources and Organization Import on page 383. Professional, Enterprise,
Performance, Unlimited,
Preparing Person Accounts and Developer Editions
When importing person accounts, use the field labels in Salesforce as the column labels in your
import file.
Preparing Org Business Accounts and Contacts
When importing business accounts and contacts for your org, you must use Excel® to label the columns in your import file as specified
in Field Mapping for Other Data Sources and Organization Import on page 383.
Preparing Org Leads
When importing general leads or leads for campaigns, use the import file labels specified in Field Mapping for Importing Leads on
page 387.
Preparing Custom Objects
When importing a custom object, use the field labels shown on the custom object detail page in Salesforce as the column labels in
your import file.
Preparing Campaign Members
When importing campaign members, use the field labels in Salesforce as the column labels in your import file.
Preparing Solutions
When importing solutions, use the field labels in Salesforce as the column labels in your import file.
You can enter HTML into the solutions you plan to import into Salesforce. However, unless your org has enabled HTML solutions,
HTML tags will display in the solutions after they are imported.
For security purposes, Salesforce automatically filters all HTML solutions for potentially malicious HTML. If potentially malicious HTML
is detected in an HTML solution, the potentially malicious HTML is either removed or transformed into text for users who view the
HTML solution. Users can’t notice when potentially malicious HTML is removed from an HTML solution.
You can import solutions written in HTML format into Salesforce. However, for security purposes, only the HTML tags listed below
are allowed. The content of any HTML tags not listed below is removed when saved in HTML solutions. Furthermore, the content of
all <script> and <iframe> tags, as well as all JavaScript, is removed when saved in HTML solutions. Cascading Style Sheets
(CSS) are not supported in HTML solutions.
The following HTML tags are allowed in HTML solutions imported into Salesforce:
377
Set Up and Maintain Your Salesforce Organization Prepare Your Data for Import
<dl>
Within the above tags, you can include the following attributes:
The above attributes, which can include a URL, are limited to URLs that begin with the following:
• http:
• https:
• file:
• ftp:
• mailto:
• #
• / for relative links
SEE ALSO:
Default Field Mapping for ACT!
Default Field Mapping for Outlook
Create Export Files for Import Wizards
378
Set Up and Maintain Your Salesforce Organization Prepare Your Data for Import
Note: If an ACT! record contains more than one contact for the same company, the import Available in: Salesforce
wizard creates multiple contacts for one account. Classic
379
Set Up and Maintain Your Salesforce Organization Prepare Your Data for Import
380
Set Up and Maintain Your Salesforce Organization Prepare Your Data for Import
2nd Last Reach, 3rd Last Reach, Asst. Title, Contact: Note or Account: Note
Last Attempt, Last Meeting, Last Reach, Last (In Professional, Enterprise, Unlimited, Performance, and Developer
Results, Letter Date, Pager, Spouse, User 1-15 Edition organizations, you specify which fields import into a single
contact or account note; separate notes are not created for each
ACT! field.)
SEE ALSO:
Exporting from ACT!
Prepare Your Data for Import
381
Set Up and Maintain Your Salesforce Organization Prepare Your Data for Import
382
Set Up and Maintain Your Salesforce Organization Prepare Your Data for Import
SEE ALSO:
Exporting from Outlook
Prepare Your Data for Import
383
Set Up and Maintain Your Salesforce Organization Prepare Your Data for Import
Contact Fields
Label for Your Import File Salesforce Field
Assistant Contact: Assistant
384
Set Up and Maintain Your Salesforce Organization Prepare Your Data for Import
Contact Fields
Label for Your Import File Salesforce Field
Mailing State Contact: Mailing State/Province
2nd Contact Split into Contact: First Name & Last Name for a second
contact for the account
2nd Phone Contact: Phone for a second contact for the account
2nd Phone Ext. Appended to Contact: Phone for a second contact for the account
2nd Title Contact: Title for a second contact for the account
3rd Contact Split into Contact: First Name & Last Name for a third
contact for the account
3rd Phone Contact: Phone for a third contact for the account
3rd Phone Ext. Appended to Contact: Phone for a third contact for the account
3rd Title Contact: Title for a third contact for the account
385
Set Up and Maintain Your Salesforce Organization Prepare Your Data for Import
Account Fields
Label for Your Import File Salesforce Field
Account Description Account: Description
386
Set Up and Maintain Your Salesforce Organization Prepare Your Data for Import
Account Fields
Label for Your Import File Salesforce Field
(Note: If the import wizard cannot find an account that matches
the parent account name, it will create a new account using this
value as the Account Name.)
Note: If you include record types in your import file, the Import Wizard uses the record owner’s default record type when creating
new records. For existing records, the Import Wizard does not update the record type field.
SEE ALSO:
Prepare Your Data for Import
387
Set Up and Maintain Your Salesforce Organization Prepare Your Data for Import
Company Company
Country Country
(Note: You can use this field only for orgs that use multiple
currencies; see Importing Multiple Currencies on page 373.)
Description Description
Email Email
(The Data Import Wizard verifies that this is a valid email address
in the form [email protected].)
(Use “1” to indicate that the user opts out; use “0” to indicate that
the user wants emails.)
Fax Fax
Full Name or First Name & Last Name First Name and Last Name
Industry Industry
(Note: You do not need to specify this field if you choose to assign
the division via the drop-down list on Step 1 of the Data Import
Wizard. If you do not map this field or use the division drop-down
list, the division is set to the record owner’s default division for each
record.)
Lead ID Lead ID
(Note: You do not need to specify this field if you choose to assign
the same Lead Source to all leads on the first page of the
Data Import Wizard.)
388
Set Up and Maintain Your Salesforce Organization Data Import Wizard
Phone Phone
Rating Rating
(Note: You do not need this field if assigning ownership via a lead
assignment rule. In addition, when importing records by Salesforce
record ID, this field is ignored.)
State State
Status Status
(in the Campaign History related list of a lead)
Street 1 Address
Street 2 Address
Street 3 Address
Title Title
Website Website
If you include record types in this list, the Data Import Wizard uses the record owner’s default record type when creating new records.
For existing records, the Data Import Wizard does not update the record type field.
If you choose to use assignment rules, the Data Import Wizard uses the new owner’s default record type when creating new records.
When the assignment rules assign the record to a queue, the queue owner’s default record type is used.
SEE ALSO:
Prepare Your Data for Import
These browsers support the Data Import Wizard: Available in: All Editions
• Google Chrome™ version 29 and later except Database.com
389
Set Up and Maintain Your Salesforce Organization Data Import Wizard
Note:
• Dragging and dropping CSV files isn’t supported in Internet Explorer 9.
• You can’t run more than one import job at a time, even from separate browser windows.
SEE ALSO:
Import Data with the Data Import Wizard
390
Set Up and Maintain Your Salesforce Organization Add Person Accounts with the Data Import Wizard
4. Select the CSV file that contains your import data, and click Next. To create person accounts
that you own via the Data
5. Map column headers from your CSV file to these fields. Import Wizard:
• First Name • Create on accounts
• Last Name AND
• Email Edit on accounts
• Phone AND
Import Personal
6. Click Next. Contacts
7. Review the import settings, and then click Start Import.
To create person accounts
When we finish importing your data, we notify you by email. Review the results and resolve any owned by others via the
errors that occurred. Data Import Wizard:
• Create on accounts
AND
Data Import Wizard FAQ
Edit on accounts and
contacts
IN THIS SECTION: AND
How many records can I import? Modify All Data
What kind of objects can I import?
Can I do simultaneous imports?
391
Set Up and Maintain Your Salesforce Organization Data Import Wizard FAQ
SEE ALSO:
Data Import Wizard
SEE ALSO:
Data Import Wizard FAQ
SEE ALSO:
Data Import Wizard FAQ
SEE ALSO:
Data Import Wizard FAQ
SEE ALSO:
Data Import Wizard FAQ
392
Set Up and Maintain Your Salesforce Organization Undoing an Import
Undoing an Import
If you import accounts, contacts, leads, or solutions by mistake, your administrator can from Setup,
EDITIONS
enter Mass Delete Records in the Quick Find box, then select Mass Delete Records
to delete the items you mistakenly imported. View the Using Mass Delete to Undo Imports document Available in: both Salesforce
for instructions. Classic and Lightning
The Mass Delete Records tools do not support custom objects. If you import custom objects by Experience
mistake in Enterprise, Unlimited, Performance, or Developer Edition, your administrator can use the Available in: All Editions
Data Loader to mass delete the mistakenly imported records. See Perform Mass Deletes on page except Database.com
406.
USER PERMISSIONS
SEE ALSO:
Data Import Wizard User Permissions Needed
Import Data Into Salesforce To mass delete data:
• “Modify All Data”
Data Loader
Data Loader is a client application for the bulk import or export of data. Use it to insert, update,
EDITIONS
delete, or export Salesforce records.
When importing data, Data Loader reads, extracts, and loads data from comma-separated values Available in: both Salesforce
(CSV) files or from a database connection. When exporting data, it outputs CSV files. Classic and Lightning
Experience
Note: If commas aren’t appropriate for your locale, use a tab or other delimiter. Specify your
delimiter in Data Loader Settings (Settings | Settings). Available in: Enterprise,
Performance, Unlimited,
You can use Data Loader in two different ways: Developer, and
• User interface—When you use the user interface, you work interactively to specify the Database.com Editions
configuration parameters, CSV files used for import and export, and the field mappings that
map the field names in your import file with the field names in Salesforce.
• Command line (Windows only)—When you use the command line, you specify the configuration, data sources, mappings, and
actions in files. This enables you to set up Data Loader for automated processing.
Data Loader offers the following key features:
• An easy-to-use wizard interface for interactive use
• An alternate command-line interface for automated batch operations (Windows only)
• Support for large files with up to 5 million records
• Drag-and-drop field mapping
• Support for all objects, including custom objects
• Can be used to process data in both Salesforce and Database.com
• Detailed success and error log files in CSV format
• A built-in CSV file viewer
• Support for Windows and Mac
To get started, see the following topics:
• When to Use Data Loader
393
Set Up and Maintain Your Salesforce Organization Data Loader
Note: In previous versions, Data Loader has been known as “AppExchange Data Loader“ and “Sforce Data Loader.”
SEE ALSO:
Encrypt Fields
Encrypt Files and Attachments
• You need to load 50,000 to 5,000,000 records. Data Loader is supported for loads of up to 5 Available in: Enterprise,
million records. If you need to load more than 5 million records, we recommend you work with Performance, Unlimited,
a Salesforce partner or visit the App Exchange for a suitable partner product. Developer, and
Database.com Editions
• You need to load into an object that is not yet supported by the import wizards.
• You want to schedule regular data loads, such as nightly imports.
• You want to export your data for backup purposes.
394
Set Up and Maintain Your Salesforce Organization Data Loader
Data Loader is signed for Windows. To use Data Loader for Windows, you need: Available in: Enterprise,
Performance, Unlimited,
• Microsoft® Windows® 7, Windows® 8, or Windows® 10 Developer, and
• 120 MB of free disk space Database.com Editions
• 256 MB of available memory
• Java JRE 1.8 (32-bit) USER PERMISSIONS
Note: Salesforce no longer bundles Java with the Data Loader for Windows installer. To access the page to
Download and install Java on your Windows computer. download Data Loader:
We recommend that you set the JAVA_HOME environment variable to the directory where • “Modify All Data”
the Java Runtime Environment (JRE) is installed. Doing so ensures that you can run Data To use Data Loader:
Loader in batch mode from the command line. • “API Enabled”
AND
The appropriate user
System Requirements for macOS permission for the
To use Data Loader for macOS, you need: operation you are doing,
for example, “Create” on
• macOS El Capitan accounts to insert new
• 120 MB of free disk space accounts
• 256 MB of available memory AND
• Java JRE 1.8 “Bulk API Hard Delete”
(only if you configure
• Administrator privileges on the machine
Data Loader to use Bulk
API to hard-delete
records)
Installation Considerations
Over time, several versions of the Data Loader client application have been available for download.
Some earlier versions were called “AppExchange Data Loader” or “Sforce Data Loader.” You can run
different versions at the same time on one computer. However, do not install more than one copy of the same version.
The latest version is always available in Salesforce. If you have installed the latest version and want to install it again, first remove the
version on your computer.
Tip: If you experience login issues in the command line interface after upgrading to a new version of Data Loader, please try
re-encrypting your password to solve the problem. For information on the password encryption utility, see Encrypt from the
Command Line on page 410.
Note: The Data Loader command-line interface is supported for Windows only.
To make changes to the source code, download the open-source version of Data Loader from https://github.com/forcedotcom/dataloader.
395
Set Up and Maintain Your Salesforce Organization Data Loader
Login Considerations
• If your organization restricts IP addresses, logins from untrusted IPs are blocked until they’re activated. Salesforce automatically sends
you an activation email that you can use to log in. The email contains a security token that you must add to the end of your password.
For example, if your password is mypassword, and your security token is XXXXXXXXXX, you must enter
mypasswordXXXXXXXXXX to log in.
• Data Loader version 36.0 and later supports Web Server OAuth Authentication. See OAuth Authentication for more information.
• Data Loader version 36.0 and later supports Salesforce Communities. Communities users always log in with the OAuth option in
Data Loader. To enable OAuth for Communities, the user modifies the config.properties file as follows.
– Change the portion in bold in the following line to the login URL of the community. Don’t add a forward slash (/) to the end of
the line.
sfdc.oauth.Production.server=https\://login.salesforce.com
For example:
sfdc.oauth.Production.server=
https\://johnsmith-developer-edition.yourInstance.force.com/test
– Change the portion in bold in the following line to the hostname of the community.
sfdc.oauth.Production.redirecturi=https\://login.salesforce.com/services/oauth2/success
For example:
sfdc.oauth.Production.redirecturi=
https\:/johnsmith-developer-edition.yourInstance.force.com/services/oauth2/success
The config.properties file is in the conf default configuration directory, which is installed in these locations.
– macOS: /Applications/Data\ Loader.app/Contents/Resources/conf/
– Windows: %LOCALAPPDATA%\salesforce.com\Data Loader\samples\conf\ for the current user, and
C:\ProgramData\salesforce.com\Data Loader\samples\conf\ for all users
396
Set Up and Maintain Your Salesforce Organization Data Loader
Field Description
Insert null values Select this option to insert blank mapped values as null values
during data operations. Note that when you are updating records,
this option instructs Data Loader to overwrite any existing data
in mapped fields.
This option is not available if the Use Bulk API option is
selected. Empty field values are ignored when you update records
using the Bulk API. To set a field value to null when the Use
Bulk API option is selected, use a field value of #N/A.
Assignment rule Specify the ID of the assignment rule to use for inserts, updates,
and upserts. This option applies to inserts, updates, and upserts
on cases and leads. It also applies to updates on accounts if your
organization has territory assignment rules on accounts. The
assignment rule overrides Owner values in your CSV file.
Server host Enter the URL of the Salesforce server with which you want to
communicate. For example, if you are loading data into a
sandbox, change the URL to
https://test.salesforce.com.
Reset URL on Login By default, Salesforce resets the URL after login to the one
specified in Server host. To turn off this automatic reset,
disable this option.
Query request size In a single export or query operation, records are returned from
Salesforce in increments of this size. The maximum value is 2,000
records. Larger values may improve performance but use more
memory on the client.
Generate status files for exports Select this option to generate success and error files when
exporting data.
Read all CSVs with UTF-8 encoding Select this option to force files to open in UTF-8 encoding, even
if they were saved in a different format.
Write all CSVs with UTF-8 encoding Select this option to force files to be written in UTF-8 encoding.
Use European date format Select this option to support the date formats dd/MM/yyyy
and dd/MM/yyyy HH:mm:ss.
397
Set Up and Maintain Your Salesforce Organization Data Loader
Field Description
Allow field truncation Select this option to truncate data in the following types of fields
when loading that data into Salesforce: Email, Multi-select Picklist,
Phone, Picklist, Text, and Text (Encrypted).
In Data Loader versions 14.0 and earlier, values for fields of those
types are truncated by Data Loader if they are too large. In Data
Loader version 15.0 and later, the load operation fails if a value
is specified that is too large.
Selecting this option allows you to specify that the previous
behavior, truncation, be used instead of the new behavior in
Data Loader versions 15.0 and later. This option is selected by
default and has no effect in versions 14.0 and earlier.
This option is not available if the Use Bulk API option is
selected. In that case, the load operation fails for the row if a
value is specified that is too large for the field.
Allow comma as a CSV delimiter Select this option if your CSV file uses commas to delimit records.
Allow Tab as a CSV delimiter Select this option if your CSV file uses tab characters to delimit
records.
Allow other characters as CSV delimiters Select this option if your CSV file uses a character other than a
comma or tab to delimit records.
Other Delimiters (enter multiple values The characters in this field are used only if the Allow other
with no separator; for example, !+?) characters as CSV delimiters option is selected.
For example, if you use the | (pipe) character to delimit data
records, enter that character in this field.
Use Bulk API Select this option to use the Bulk API to insert, update, upsert,
delete, and hard delete records. The Bulk API is optimized to load
or delete a large number of records asynchronously. It’s faster
than the default SOAP-based API due to parallel processing and
fewer network round-trips.
Enable serial mode for Bulk API Select this option to use serial instead of parallel processing for
Bulk API. Processing in parallel can cause database contention.
When this is severe, the load may fail. Using serial mode
guarantees that batches are processed one at a time. Note that
using this option may significantly increase the processing time
for a load.
This option is only available if the Use Bulk API option is
selected.
398
Set Up and Maintain Your Salesforce Organization Data Loader
Field Description
Upload Bulk API Batch as Zip File Select this option to use Bulk API to upload zip files containing
binary attachments, such as Attachment records or Salesforce
CRM Content.
This option is only available if the Use Bulk API option is
selected.
Proxy NTLM domain The name of the Windows domain used for NTLM authentication.
Start at row If your last operation failed, you can use this setting to begin
where the last successful operation finished.
SEE ALSO:
Data Loader Behavior with Bulk API Enabled
Configure the Data Loader to Use the Bulk API
399
Set Up and Maintain Your Salesforce Organization Data Loader
SEE ALSO:
Configure Data Loader
Note:
• You can also select the Enable serial mode for Bulk API option.
Processing in parallel can cause database contention. When this is severe, the load may
fail. Using serial mode guarantees that batches are processed one at a time. Note that
using this option may significantly increase the processing time for a load.
• Caution: You can hard delete records when you configure Data Loader to Use Bulk
API. Keep in mind that hard deleted records are immediately deleted and can’t be
recovered from the Recycle Bin.
SEE ALSO:
Configure Data Loader
400
Set Up and Maintain Your Salesforce Organization Data Loader
401
Set Up and Maintain Your Salesforce Organization Data Loader
• If your computer's locale is east of Greenwich Mean Time (GMT), we recommend that you change your computer setting to
GMT in order to avoid date adjustments when inserting or updating records.
• Only dates within a certain range are valid. The earliest valid date is 1700-01-01T00:00:00Z GMT, or just after midnight on January
1, 1700. The latest valid date is 4000-12-31T00:00:00Z GMT, or just after midnight on December 31, 4000. These values are offset
by your time zone. For example, in the Pacific time zone, the earliest valid date is 1699-12-31T16:00:00, or 4:00 PM on December
31, 1699.
Double
Standard double string
ID
A Salesforce ID is a case-sensitive 15-character or case–insensitive 18-character alphanumeric string that uniquely identifies a particular
record.
Tip: To ensure data quality, make sure that all Salesforce IDs you enter in Data Loader are in the correct case.
Integer
Standard integer string
String
All valid XML strings; invalid XML characters are removed.
Export Data
You can use the Data Loader export wizard to extract data from any Salesforce object. When you
EDITIONS
export, you can choose to include (Export All) or exclude (Export) soft-deleted records.
1. Open the Data Loader. Available in: both Salesforce
Classic and Lightning
2. Click Export or Export All. These commands can also be found in the File menu.
Experience
3. Enter your Salesforce username and password. Click Log in to log in. After your login completes
successfully, click Next. (Until you log out or close the program, you will not be asked to log in Available in: Enterprise,
again.) Performance, Unlimited,
Developer, and
If your organization restricts IP addresses, logins from untrusted IPs are blocked until they’re Database.com Editions
activated. Salesforce automatically sends you an activation email that you can use to log in. The
email contains a security token that you must add to the end of your password. For example,
if your password is mypassword, and your security token is XXXXXXXXXX, you must enter USER PERMISSIONS
mypasswordXXXXXXXXXX to log in.
To export records:
4. Choose an object. For example, select the Account object. If your object name does not display • “Read” on the records
in the default list, check Show all objects to see a complete list of objects that you can To export all records:
access. The objects will be listed by localized label name, with developer name noted in • “Read” on the records
parentheses. For object descriptions, see the SOAP API Developer's Guide.
5. Click Browse... to select the CSV file to which the data will be exported. You can enter a new
file name to create a new file or choose an existing file.
If you select an existing file, the contents of that file are replaced. Click Yes to confirm this action, or click No to choose another file.
6. Click Next.
7. Create a SOQL query for the data export. For example, check Id and Name in the query fields and click Finish. As you follow the
next steps, you will see that the CSV viewer displays all the Account names and their IDs. SOQL is the Salesforce Object Query
Language that allows you to construct simple but powerful query strings. Similar to the SELECT command in SQL, SOQL allows you
to specify the source object, a list of fields to retrieve, and conditions for selecting rows in the source object.
402
Set Up and Maintain Your Salesforce Organization Data Loader
Tip: You can use a SOQL relationship query to include fields from a related object. For example:
Select Name, Pricebook2Id, Pricebook2.Name, Product2Id, Product2.ProductCode FROM
PricebookEntry WHERE IsActive = true
Or:
Select Id, LastName, Account.Name FROM Contact
When using relationship queries in Data Loader, the fully specified field names are case-sensitive. For example, using
ACCOUNT.NAME instead of Account.Name does not work.
Data Loader doesn’t support nested queries or querying child objects. For example, queries similar to the following return an
error:
SELECT Amount, Id, Name, (SELECT Quantity, ListPrice,
PriceBookEntry.UnitPrice, PricebookEntry.Name,
PricebookEntry.product2.Family FROM OpportunityLineItems)
FROM Opportunity
Also, Data Loader doesn’t support queries that make use of polymorphic relationships. For example, the following query results
in an error:
SELECT Id, Owner.Name, Owner.Type, Owner.Id, Subject FROM Case
For more information on SOQL, see the Force.com SOQL and SOSL Reference.
Note:
• Data Loader currently does not support the extraction of attachments. As a workaround, we recommend that you use the
weekly export feature in the online application to export attachments.
• If you select compound fields for export in the Data Loader, they cause error messages. To export values, use individual field
components.
403
Set Up and Maintain Your Salesforce Organization Data Loader
The insert, update, upsert, delete, and hard delete wizards in Data Loader allow you to add new records, modify existing records, or
delete existing records. Note that “upsert” is a combination of inserting and updating. If a record in your file matches an existing record,
the existing record is updated with the values in your file. If no match is found, then the record is created as new. When you hard delete
records, the deleted records are not stored in the Recycle Bin and become immediately eligible for deletion. For more information, see
Configure Data Loader on page 396.
1. Open the Data Loader.
2. Click Insert, Update, Upsert, Delete or Hard Delete. These commands can also be found in the File menu.
3. Enter your Salesforce username and password. Click Log in to log in. After your login completes successfully, click Next. (Until you
log out or close the program, you are not asked to log in again.)
If your organization restricts IP addresses, logins from untrusted IPs are blocked until they’re activated. Salesforce automatically sends
you an activation email that you can use to log in. The email contains a security token that you must add to the end of your password.
For example, if your password is mypassword, and your security token is XXXXXXXXXX, you must enter
mypasswordXXXXXXXXXX to log in.
404
Set Up and Maintain Your Salesforce Organization Data Loader
4. Choose an object. For example, if you are inserting Account records, select Account. If your object name does not display in the
default list, check Show all objects to see a complete list of the objects that you can access. The objects are listed by localized
label name, with developer name noted in parentheses. For object descriptions, see the Object Reference for Salesforce and Force.com.
5. Click Browse... to select your CSV file. For example, if you are inserting Account records, you could specify a CSV file named
insertaccounts.csv containing a Name column for the names of the new accounts.
6. Click Next. After the object and CSV file are initialized, click OK.
7. If you are performing an upsert:
a. Your CSV file must contain a column of ID values for matching against existing records. The column may be either an external
ID (a custom field with the “External ID” attribute), or Id (the Salesforce record ID). From the drop-down list, select which field
to use for matching. If the object has no external ID fields, Id is automatically used. Click Next to continue.
b. If your file includes the external IDs of an object that has a relationship to your chosen object, enable that external ID for record
matching by selecting its name from the drop-down list. If you make no selection here, you can use the related object's Id
field for matching by mapping it in the next step. Click Next to continue.
8. Define how the columns in your CSV file map to Salesforce fields. Click Choose an Existing Map to select an existing field mapping,
or click Create or Edit a Map to create a new map or modify an existing map. For more details and an example of usage, see Define
Data Loader Field Mappings on page 404.
9. Click Next.
10. For every operation, the Data Loader generates two unique CSV log files; one file name starts with “success,” while the other starts
with “error.” Click Browse... to specify a directory for these files.
11. Click Finish to perform the operation, and then click Yes to confirm.
12. As the operation proceeds, a progress information window reports the status of the data movement.
13. After the operation completes, a confirmation window summarizes your results. Click View Successes to view your success file,
click View Errors to open your errors file, or click OK to close. For more information, see Reviewing Data Loader Output Files on
page 408.
Tip:
• If you are updating or deleting large amounts of data, review Perform Mass Updates and Perform Mass Deletes for tips and
best practices.
• There is a five-minute limit to process 100 records when the Bulk API is enabled. Also, if it takes longer than 10 minutes to
process a file, the Bulk API places the remainder of the file back in the queue for later processing. If the Bulk API continues to
exceed the 10-minute limit on subsequent attempts, the file is placed back in the queue and reprocessed up to 10 times before
the operation is permanently marked as failed. Even if the processing failed, some records could have completed successfully,
so you must check the results. If you get a timeout error when loading a file, split your file into smaller files, and try again.
405
Set Up and Maintain Your Salesforce Organization Data Loader
406
Set Up and Maintain Your Salesforce Organization Data Loader
Ensure that the values in the Body column contain the full file name of the attachments as they exist on your computer. For
example, if an attachment named myattachment.jpg is located on your computer at C:\Export, Body must specify
C:\Export\myattachment.jpg. Your CSV file might look like this:
ParentId,Name,Body
50030000000VDowAAG,attachment1.jpg,C:\Export\attachment1.gif
701300000000iNHAAY,attachment2.doc,C:\Export\files\attachment2.doc
The CSV file can also include other optional Attachment fields, such as Description.
2. Proceed with an insert or upsert operation; see Insert, Update, or Delete Data Using Data Loader on page 404. At the Select
data objects step, make sure to select the Show all Salesforce objects checkbox and the Attachment
object name in the list.
Note: If there are commas in the description, use double quotes around the text.
• VersionData - complete file path on your local drive (for uploading documents only).
Note: Files are converted to base64 encoding on upload. This action adds approximately 30% to the file size.
• PathOnClient - complete file path on your local drive (for uploading documents only).
• ContentUrl - URL (for uploading links only).
• OwnerId - (optional) file owner, defaults to the user uploading the file.
• FirstPublishLocationId - library ID.
• RecordTypeId - record type ID.
407
Set Up and Maintain Your Salesforce Organization Data Loader
Note: If you publish to a library that has restricted record types, specify RecordTypeId.
To determine the RecordTypeId values for your organization using Data Loader, follow the steps in Exporting Data. The
following is a sample SOQL query:
Select Id, Name FROM RecordType WHERE SobjectType = 'ContentVersion'
To determine the RecordTypeId values for your organization using the AJAX Toolkit:
a. Log in to Salesforce.
b. Enter this URL in your browser:
http://instanceName.salesforce.com/soap/ajax/39.0/debugshell.html. Enter the
instanceName for your organization. You can see the instanceName in the URL field of your browser after logging
in to Salesforce.
c. In the AJAX Toolkit Shell page, type:
sforce.connection.describeSObject("ContentVersion")
d. Press Enter.
e. Click the arrows for recordTypeInfos.
The RecordTypeId values for your organization are listed.
2. Upload the CSV file for the ContentVersion object (see Insert, Update, or Delete Data Using Data Loader on page 404). All documents
and links are available in the specified library.
408
Set Up and Maintain Your Salesforce Organization Data Loader
5. Click Close to return to the CSV Chooser window, and then click OK to exit the window.
Note: To generate success files when exporting data, select the Generate status files for exports setting. For
more information, see Configure Data Loader on page 396.
If you are using Data Loader for Mac OSX, view the log file by opening terminal and entering open
$TMPDIR/sdl.log.
If you are having login issues from the command line, ensure that the password provided in the configuration parameters is encrypted.
If you are having login issues from the UI, you may need to obtain a new security token.
Batch Mode
Note: The Data Loader command-line interface is supported for Windows only. EDITIONS
You can run Data Loader in batch mode from the command line. See the following topics: Available in: Salesforce
• Installed Directories and Files Classic and Lightning
• Encrypt from the Command Line Experience
Note: If you have used the batch mode from the command line with a version earlier than 8.0, see Upgrade Your Batch Mode
Interface on page 411.
409
Set Up and Maintain Your Salesforce Organization Data Loader
410
Set Up and Maintain Your Salesforce Organization Data Loader
Encrypt text
Generates an encrypted version of a password or other text. Optionally, you can provide a key file for the encryption. In the
configuration file, make sure that the encrypted text is copied precisely and the key file is mentioned.
Verify encrypted text
Given encrypted and decrypted versions of a password, verifies whether the encrypted password provided matches its decrypted
version. A success or failure message is printed to the command line.
411
Set Up and Maintain Your Salesforce Organization Data Loader
Data Loader runs whatever operation, file, or map is specified in the configuration file that you specify. If you do not specify a configuration
directory, the current directory is used. By default, Data Loader configuration files are installed at the following location:
C:\Program Files\Salesforce\Data Loader version number\conf
You use the process-conf.xml file to configure batch processing. Set the name of the process in the bean element's id attribute:
(for example <bean id="myProcessName">).
If you want to implement enhanced logging, use a copy of log-conf.xml.
You can change parameters at runtime by giving param=value as program arguments. For example, adding
process.operation=insert to the command changes the configuration at runtime.
You can set the minimum and maximum heap size. For example, -Xms256m -Xmx256m sets the heap size to 256 MB.
Note: These topics only apply to Data Loader version 8.0 and later.
Tip: If you experience login issues in the command line interface after upgrading to a new version of Data Loader, please try
re-encrypting your password to solve the problem. For information on the password encryption utility, see Encrypt from the
Command Line on page 410.
412
Set Up and Maintain Your Salesforce Organization Data Loader
Write
all
CSVs Select this option to force files to be
with written in UTF-8 encoding.
UTF-8
dataAccess.writeUTF8 boolean encoding Sample value: true
413
Set Up and Maintain Your Salesforce Organization Data Loader
Generate
status Select this option to generate success and error files
files when exporting data.
for
process.enableExtractStatusOutput boolean exports Sample value: true
414
Set Up and Maintain Your Salesforce Organization Data Loader
The name of the CSV file that stores error data from
the last operation.
The name of the CSV file that stores success data from
the last operation. See also
process.enableExtractStatusOutput
on page 414.
415
Set Up and Maintain Your Salesforce Organization Data Loader
416
Set Up and Maintain Your Salesforce Organization Data Loader
See
process.enableExtractStatusOutput
on page 414. Stores SOAP messages sent to or from
Salesforce. As messages are sent or received, they are
appended to the end of the file. As the file does not
have a size limit, please monitor your available disk
storage appropriately.
417
Set Up and Maintain Your Salesforce Organization Data Loader
418
Set Up and Maintain Your Salesforce Organization Data Loader
419
Set Up and Maintain Your Salesforce Organization Data Loader
420
Set Up and Maintain Your Salesforce Organization Data Loader
sqlConfig
The SQL configuration bean for the data access object that interacts with a database.
dataSource
The bean that acts as database driver and authenticator. It must refer to an implementation of javax.sql.DataSource such
as org.apache.commons.dbcp.BasicDataSource.
The following code is an example of a DatabaseConfig bean:
<bean id="AccountInsert"
class="com.salesforce.dataloader.dao.database.DatabaseConfig"
421
Set Up and Maintain Your Salesforce Organization Data Loader
singleton="true">
<property name="sqlConfig" ref="accountInsertSql"/>
</bean>
DataSource
The DataSource bean sets the physical information needed for database connections. It contains the following properties:
driverClassName
The fully qualified name of the implementation of a JDBC driver.
url
The string for physically connecting to the database.
username
The username for logging in to the database.
password
The password for logging in to the database.
Depending on your implementation, additional information may be required. For example, use
org.apache.commons.dbcp.BasicDataSource when database connections are pooled.
The following code is an example of a DataSource bean:
<bean id="oracleRepDataSource"
class="org.apache.commons.dbcp.BasicDataSource"
destroy-method="close">
<property name="driverClassName" value="oracle.jdbc.driver.OracleDriver"/>
<property name="url" value="jdbc:oracle:thin:@myserver.salesforce.com:1521:TEST"/>
<property name="username" value="test"/>
<property name="password" value="test"/>
</bean>
Versions of Data Loader from API version 25.0 onwards do not come with an Oracle JDBC driver. Using Data Loader to connect to an
Oracle data source without a JDBC driver installed will result in a “Cannot load JDBC driver class” error. To add the Oracle JDBC driver to
Data Loader:
• Download the latest JDBC driver from
http://www.oracle.com/technetwork/database/features/jdbc/index-091264.html.
• Copy the JDBC .jar file to data loader install folder/java/bin.
SEE ALSO:
Spring Framework
Data Access Objects
SQL Configuration
422
Set Up and Maintain Your Salesforce Organization Data Loader
Spring Framework
Note: The Data Loader command-line interface is supported for Windows only. EDITIONS
The Data Loader configuration files are based on the Spring Framework, which is an open-source, Available in: Salesforce
full-stack Java/J2EE application framework. Classic and Lightning
The Spring Framework allows you to use XML files to configure beans. Each bean represents an Experience
instance of an object; the parameters correspond to each object's setter methods. A typical bean
Available in: Enterprise,
has the following attributes:
Performance, Unlimited,
id Developer, and
Uniquely identifies the bean to XmlBeanFactory, which is the class that gets objects from Database.com Editions
an XML configuration file.
class
Specifies the implementation class for the bean instance.
For more information on the Spring Framework, see the official documentation and the support forums. Note that Salesforce cannot
guarantee the availability or accuracy of external websites.
SEE ALSO:
Configure Database Access
SEE ALSO:
Configure Database Access
423
Set Up and Maintain Your Salesforce Organization Data Loader
SQL Configuration
Note: The Data Loader command-line interface is supported for Windows only. EDITIONS
When running Data Loader in batch mode from the command line, the SqlConfig class contains Available in: Salesforce
configuration parameters for accessing specific data in the database. As shown in the code samples Classic and Lightning
below, queries and inserts are different but very similar. The bean must be of type Experience
com.salesforce.dataloader.dao.database.SqlConfig and have the following
properties: Available in: Enterprise,
Performance, Unlimited,
sqlString Developer, and
The SQL code to be used by the data access object. Database.com Editions
The SQL can contain replacement parameters that make the string dependent on configuration
or operation variables. Replacement parameters must be delimited on both sides by “@”
characters. For example, @process.lastRunDate@.
sqlParams
A property of type map that contains descriptions of the replacement parameters specified in sqlString. Each entry represents
one replacement parameter: the key is the replacement parameter's name, the value is the fully qualified Java type to be used when
the parameter is set on the SQL statement. Note that “java.sql” types are sometimes required, such as java.sql.Date instead
of java.util.Date. For more information, see the official JDBC API documentation.
columnNames
Used when queries (SELECT statements) return a JDBC ResultSet. Contains column names for the data outputted by executing
the SQL. The column names are used to access and return the output to the caller of the DataReader interface.
locs.city,
locs.postal_code,
locs.state,
locs.country,
parties.sic_code
from
ar.hz_cust_accounts accounts,
ar.hz_organization_profiles org,
ar.hz_parties parties,
ar.hz_party_sites party_sites,
ar.hz_locations locs
where
accounts.PARTY_ID = org.PARTY_ID
and parties.PARTY_ID = accounts.PARTY_ID
and party_sites.PARTY_ID = accounts.PARTY_ID
424
Set Up and Maintain Your Salesforce Organization Data Loader
SEE ALSO:
Configure Database Access
425
Set Up and Maintain Your Salesforce Organization Data Loader
Map Columns
Note: The Data Loader command-line interface is supported for Windows only. EDITIONS
When running Data Loader in batch mode from the command line, you must create a properties Available in: Salesforce
file that maps values between Salesforce and data access objects. Classic and Lightning
1. Create a new mapping file and give it an extension of .sdl. Experience
2. Observe the following syntax: Available in: Enterprise,
• On each line, pair a data source with its destination. Performance, Unlimited,
Developer, and
• In an import file, put the data source on the left, an equals sign (=) as a separator, and the Database.com Editions
destination on the right. In an export file, put the destination on the left, an equals sign (=)
as a separator, and the data source on the right.
• Data sources can be either column names or constants. Surround constants with double quotation marks, as in “sampleconstant”.
Values without quotation marks are treated as column names.
• Destinations must be column names.
• You may map constants by surrounding them with double quotation marks, as in:
"Canada"=BillingCountry
3. In your configuration file, use the parameter process.mappingFile to specify the name of your mapping file.
Note: If your field name contains a space, you must escape the space by prepending it with a backslash (\). For example:
Account\ Name=Name
426
Set Up and Maintain Your Salesforce Organization Data Loader
Note: If you specify a constant value that contains spaces, you must escape the spaces by prepending each with a backslash (\).
For example:
"Food\ &\ Beverage"=Industry
Process Example
process ../conf accountMasterProcess
Note: You can configure external process launchers such as the Microsoft Windows XP Scheduled Task Wizard to run processes
on a schedule.
427
Set Up and Maintain Your Salesforce Organization Data Loader
Prerequisites
Note: The Data Loader command-line interface is supported for Windows only. EDITIONS
To step through this quick start requires the following: Available in: Salesforce
• Data Loader installed on the computer that runs the command-line process. Classic and Lightning
• The Java Runtime Environment (JRE) installed on the computer that runs the command-line Experience
process. Available in: Enterprise,
• Familiarity with importing and exporting data by using the Data Loader interactively through Performance, Unlimited,
the user interface. This makes it easier to understand how the command-line functionality Developer, and
works. Database.com Editions
Tip: When you install Data Loader, sample files are installed in the samples directory. This
directory is found below the program directory, for example, C:\Program Files
(x86)\salesforce.com\Apex Data Loader 22.0\samples\. Examples
of files that are used in this quick start can be found in the \samples\conf directory.
428
Set Up and Maintain Your Salesforce Organization Data Loader
4. Create an encryption key by entering the following command. Replace <seedtext> with any string.
encrypt.bat —g <seedtext>
Note: To see a list of command-line options for encrypt.bat, type encrypt.bat from the command line.
5. Copy the generated key from the command window to a text file named key.txt and make a note of the file path. In this example,
the generated key is e8a68b73992a7a54.
Note: Enabling quick edit mode on a command window can make it easier to copy data to and from the window. To enable
quick edit mode, right-click the top of the window and select Properties. On the Options tab, select QuickEdit Mode.
The encryption utility is used to encrypt passwords, but data that you transmit using Data Loader is not encrypted.
SEE ALSO:
Step Two: Create the Encrypted Password
429
Set Up and Maintain Your Salesforce Organization Data Loader
2. Copy the encrypted password that is generated by the command. You use this value in a later step.
SEE ALSO:
Step Three: Create the Field Mapping File
#Mapping values
#Thu May 26 16:19:33 GMT 2011
Name=Name
NumberOfEmployees=NumberOfEmployees
Industry=Industry
Tip: For complex mappings, you can use the Data Loader user interface to map source and destination fields and then save
those mappings to an .sdl file. This is done on the Mapping dialog box by clicking Save Mapping.
SEE ALSO:
Step Four: Create the Configuration File
430
Set Up and Maintain Your Salesforce Organization Data Loader
singleton="false">
<description>accountInsert job gets the account record from the CSV file
and inserts it into Salesforce.</description>
<property name="name" value="accountInsert"/>
<property name="configOverrideMap">
<map>
<entry key="sfdc.debugMessages" value="true"/>
<entry key="sfdc.debugMessagesFile"
value="C:\DLTest\Log\accountInsertSoapTrace.log"/>
<entry key="sfdc.endpoint" value="https://servername.salesforce.com"/>
<entry key="sfdc.username" value="[email protected]"/>
<!--Password below has been encrypted using key file,
therefore, it will not work without the key setting:
process.encryptionKeyFile.
The password is not a valid encrypted value,
please generate the real value using the encrypt.bat utility -->
<entry key="sfdc.password" value="e8a68b73992a7a54"/>
<entry key="process.encryptionKeyFile"
value="C:\DLTest\Command Line\Config\key.txt"/>
<entry key="sfdc.timeoutSecs" value="600"/>
<entry key="sfdc.loadBatchSize" value="200"/>
<entry key="sfdc.entity" value="Account"/>
<entry key="process.operation" value="insert"/>
<entry key="process.mappingFile"
value="C:\DLTest\Command Line\Config\accountInsertMap.sdl"/>
<entry key="dataAccess.name"
value="C:\DLTest\In\insertAccounts.csv"/>
<entry key="process.outputSuccess"
value="c:\DLTest\Log\accountInsert_success.csv"/>
<entry key="process.outputError"
value="c:\DLTest\Log\accountInsert_error.csv"/>
<entry key="dataAccess.type" value="csvRead"/>
<entry key="process.initialLastRunDate"
value="2005-12-01T00:00:00.000-0800"/>
</map>
</property>
</bean>
</beans>
3. Modify the following parameters in the process-conf.xml file. For more information about the process configuration
parameters, see Data Loader Process Configuration Parameters on page 413.
• sfdc.endpoint—Enter the URL of the Salesforce instance for your organization; for example,
https://yourInstance.salesforce.com/.
• sfdc.username—Enter the username Data Loader uses to log in.
• sfdc.password—Enter the encrypted password value that you created in step 2.
• process.mappingFile—Enter the path and file name of the mapping file.
• dataAccess.Name—Enter the path and file name of the data file that contains the accounts that you want to import.
• sfdc.debugMessages—Currently set to true for troubleshooting. Set this to false after your import is up and running.
• sfdc.debugMessagesFile—Enter the path and file name of the command line log file.
• process.outputSuccess—Enter the path and file name of the success log file.
• process.outputError—Enter the path and file name of the error log file.
431
Set Up and Maintain Your Salesforce Organization Data Loader
Warning: Use caution when using different XML editors to edit the process-conf.xml file. Some editors add XML
tags to the beginning and end of the file, which causes the import to fail.
SEE ALSO:
Step Five: Import the Data
Note: The Data Loader command-line interface is supported for Windows only.
Now that all the pieces are in place, you can run Data Loader from the command line and insert some new accounts.
1. Copy the following data to a file name accountInsert.csv. This is the account data that you import into your organization.
Name,Industry,NumberOfEmployees
Dickenson plc,Consulting,120
GenePoint,Biotechnology,265
Express Logistics and Transport,Transportation,12300
Grand Hotels & Resorts Ltd,Hospitality,5600
432
Set Up and Maintain Your Salesforce Organization General Importing Questions
Note: Salesforce is not responsible for the availability or content of third-party websites.
433
Set Up and Maintain Your Salesforce Organization General Importing Questions
• Can I import data into a picklist field if the values don’t match?
• Can I delete my imported data if I make a mistake?
• How do I use the Data Import Wizard to update records that match specified Salesforce IDs?
• Why do date fields import incorrectly when I use the Data Loader?
• How long does it take to import a file?
• Why might there be a delay in importing my file?
• Can I import amounts in different currencies?
• Can Customer Support help me import my data?
• Can I import data in more than one language?
• How do I perform mass updates to records?
• How do I update fields with blank values?
• What is an external ID?
Important: Salesforce has replaced the individual import wizards for accounts, contacts, and other objects with the Data Import
Wizard. Individual import wizards open in small popup windows, while the Data Import Wizard opens in a full browser with
dataimporter.app at the end of the URL. From Setup, enter Data Import Wizard in the Quick Find box, then select
Data Import Wizard. The options you see depend on your permissions.
Should I sync Outlook or use import wizards to upload my data into Salesforce?
Use the following information to determine how to upload data into Salesforce.
• To upload accounts and contacts for multiple users at the same time, use the Data Import Wizard and select Accounts and Contacts.
• To upload your contacts from any application other than Microsoft Outlook, use the Data Import Wizard and select Accounts and
Contacts.
• To keep your Outlook contacts, accounts, and calendar events up to date with Salesforce, use Lightning Sync or Salesforce for Outlook
to initially sync and update your data.
• To upload custom objects, leads, person accounts, campaign members, and solutions, use the Data Import Wizard and select the
appropriate object to import those kinds of records into Salesforce. You can’t sync those records using Lightning Sync or
Salesforce for Outlook.
• To upload business accounts and contacts for multiple users at the same time, use the Data Import Wizard and select Accounts
and Contacts.
Note: When you import person accounts, the following limitations apply.
• You can’t upload person accounts with Salesforce for Outlook.
434
Set Up and Maintain Your Salesforce Organization General Importing Questions
• You can sync contacts in Outlook to person accounts in Salesforce only if the person accounts already exist. Syncing doesn’t
convert Outlook contacts to person accounts in Salesforce.
For more information about importing person accounts, see Data Import Wizard on page 389.
Important: Salesforce has replaced the individual import wizards for accounts, contacts, and other objects with the Data Import
Wizard. Individual import wizards open in small popup windows, while the Data Import Wizard opens in a full browser with
dataimporter.app at the end of the URL. From Setup, enter Data Import Wizard in the Quick Find box, then select
Data Import Wizard. The options you see depend on your permissions.
Data Loader
Importing records with the Data Loader requires these permissions.
• “Read,” “Create,” “Edit,” and “Delete” on the objects
• “API Enabled”
• “Bulk API Hard Delete” (only if you configure Data Loader to use Bulk API to hard-delete records)
To import accounts and contacts owned by others via the Data Modify All Data
Import Wizard:
To import custom object data via the Data Import Wizard: Import Custom Objects
AND
Create on the custom object
AND
Edit on the custom object
To add or update campaign members via the Data Import Wizard: Marketing User selected in your user information
AND
Read on contacts OR Import Leads
435
Set Up and Maintain Your Salesforce Organization General Importing Questions
To add contacts that you own to a campaign via the Data Import Marketing User selected in your user information
Wizard: AND
Create on accounts
AND
Read on contacts
AND
Edit on accounts and campaigns
AND
Import Personal Contacts
To create contacts that you own and add them to a campaign via Marketing User selected in your user information
the Data Import Wizard: AND
Create on accounts
AND
Read on contacts
AND
Edit on accounts and campaigns
AND
Import Personal Contacts
To add contacts owned by others to a campaign via the Data Marketing User selected in your user information
Import Wizard: AND
Create on accounts
AND
Read on contacts
AND
Edit on accounts, contacts, and campaigns
AND
Modify All Data
To create contacts owned by others and add them to a campaign Marketing User selected in your user information
via the Data Import Wizard: AND
Create on accounts
AND
Read on contacts
436
Set Up and Maintain Your Salesforce Organization General Importing Questions
To add existing leads to a campaign via the Data Import Wizard: Marketing User selected in your user information
AND
Edit on campaigns
AND
Import Leads
To create leads and add them to a campaign via the Data Import Marketing User selected in your user information
Wizard: AND
Edit on campaigns
AND
Import Leads
To add person accounts that you own to a campaign via the Data Create on accounts
Import Wizard: AND
Edit on accounts
AND
Import Personal Contacts
To create person accounts that you own via the Data Import Wizard: Create on accounts
AND
Edit on accounts
AND
Import Personal Contacts
To add person accounts owned by others to a campaign via the Create on accounts
Data Import Wizard: AND
Edit on accounts and contacts
AND
Modify All Data
To create person accounts owned by others via the Data Import Create on accounts
Wizard: AND
Edit on accounts and contacts
AND
437
Set Up and Maintain Your Salesforce Organization General Importing Questions
Important: Salesforce has replaced the individual import wizards for accounts, contacts, and other objects with the Data Import
Wizard. Individual import wizards open in small popup windows, while the Data Import Wizard opens in a full browser with
dataimporter.app at the end of the URL. From Setup, enter Data Import Wizard in the Quick Find box, then select
Data Import Wizard. The options you see depend on your permissions.
Note: If commas aren’t appropriate for your locale, use a tab or other delimiter. Specify your delimiter in Data Loader Settings
(Settings | Settings).
Important: Salesforce has replaced the individual import wizards for accounts, contacts, and other objects with the Data Import
Wizard. Individual import wizards open in small popup windows, while the Data Import Wizard opens in a full browser with
dataimporter.app at the end of the URL. From Setup, enter Data Import Wizard in the Quick Find box, then select
Data Import Wizard. The options you see depend on your permissions.
438
Set Up and Maintain Your Salesforce Organization General Importing Questions
Important: Salesforce has replaced the individual import wizards for accounts, contacts, and other objects with the Data Import
Wizard. Individual import wizards open in small popup windows, while the Data Import Wizard opens in a full browser with
dataimporter.app at the end of the URL. From Setup, enter Data Import Wizard in the Quick Find box, then select
Data Import Wizard. The options you see depend on your permissions.
• Ask your administrator whether you’re working behind a proxy server. If so, adjust your Data Loader settings. If you’re using APIs that
are behind a proxy server, the proxy server prevents the APIs from connecting with Salesforce servers; you won’t see information
about the APIs under Login History.
• Try to log in on another computer to verify that your local device settings aren’t causing the problem.
SEE ALSO:
Set Trusted IP Ranges for Your Organization
439
Set Up and Maintain Your Salesforce Organization General Importing Questions
Note: Don’t open the file after you have saved the settings or you may revert the encoding changes.
6. Import the data using Data Loader as you normally would, and select the newly created .csv file.
SEE ALSO:
Import Data Into Salesforce
Important: Salesforce has replaced the individual import wizards for accounts, contacts, and other objects with the Data Import
Wizard. Individual import wizards open in small popup windows, while the Data Import Wizard opens in a full browser with
dataimporter.app at the end of the URL. From Setup, enter Data Import Wizard in the Quick Find box, then select
Data Import Wizard. The options you see depend on your permissions.
Can I import data into a picklist field if the values don’t match?
We recommend that you import your data into an existing picklist when that picklist accurately represents your data, even if the exact
values don’t match. The import wizards warn you before importing any new picklist values. However, the wizards accept any value for
a picklist field, even if the value isn’t predefined. Your administrator can later edit the picklist to include the needed values. Note that the
import wizards don’t allow you to import more than 100 new picklist or multi-select picklist values for any field during a single import.
Important: Salesforce has replaced the individual import wizards for accounts, contacts, and other objects with the Data Import
Wizard. Individual import wizards open in small popup windows, while the Data Import Wizard opens in a full browser with
dataimporter.app at the end of the URL. From Setup, enter Data Import Wizard in the Quick Find box, then select
Data Import Wizard. The options you see depend on your permissions.
How do I use the Data Import Wizard to update records that match specified Salesforce
IDs?
You can use the Data Import Wizard to update leads, contacts, or accounts using the record’s ID as the unique identifier. These steps do
not apply to custom objects.
440
Set Up and Maintain Your Salesforce Organization General Importing Questions
Note: These steps assume you have administrator-level of knowledge with Salesforce.
Update Leads
1. From Setup, enter Data Import Wizard in the Quick Find box, then select Data Import Wizard.
2. Click Launch Wizard.
3. Select Leads, then select Update existing records.
4. Set Match Lead by to Salesforce.com ID.
5. Select the CSV file that contains your import data, and click Next.
6. Map the Lead ID field to the Lead ID column in your CSV file, and map the other fields.
7. Click Next.
8. Review the import settings, and then click Start Import.
SEE ALSO:
Data Import Wizard
441
Set Up and Maintain Your Salesforce Organization General Importing Questions
Why do date fields import incorrectly when I use the Data Loader?
When importing date fields using the Data Loader, sometimes dates import incorrectly because the Data Loader converts the date
specified in the imported .csv file to GMT. If your machine’s time zone isn’t GMT or if your machine’s clock adjusts for daylight savings
time (DST), your dates may be off by a day.
To prevent the Data Loader from adjusting the date when it converts to GMT, directly change the format of cells containing dates to
reflect the native time zone.
1. Open your .csv file in Microsoft® Excel®.
2. In each cell in which you entered dates, add hour data to represent the native time zone. For example, if the date is June 9, 2011
and the time zone is GMT+8, enter June 9, 2011 8:00. Excel will reformat this to 6/9/2011 8:00.
3. Right-click the cell in which you entered dates, and click Format Cells.
4. Click Number > Custom.
5. In Type, enter yyyy-mm-ddThh:mm:ss.sssZ. For example, if the cell was 6/9/2011 8:00, it’s now
2011–06–09T08:00:00.00Z.
Important: Salesforce has replaced the individual import wizards for accounts, contacts, and other objects with the Data Import
Wizard. Individual import wizards open in small popup windows, while the Data Import Wizard opens in a full browser with
dataimporter.app at the end of the URL. From Setup, enter Data Import Wizard in the Quick Find box, then select
Data Import Wizard. The options you see depend on your permissions.
442
Set Up and Maintain Your Salesforce Organization General Importing Questions
Important: Salesforce has replaced the individual import wizards for accounts, contacts, and other objects with the Data Import
Wizard. Individual import wizards open in small popup windows, while the Data Import Wizard opens in a full browser with
dataimporter.app at the end of the URL. From Setup, enter Data Import Wizard in the Quick Find box, then select
Data Import Wizard. The options you see depend on your permissions.
Important: Salesforce has replaced the individual import wizards for accounts, contacts, and other objects with the Data Import
Wizard. Individual import wizards open in small popup windows, while the Data Import Wizard opens in a full browser with
dataimporter.app at the end of the URL. From Setup, enter Data Import Wizard in the Quick Find box, then select
Data Import Wizard. The options you see depend on your permissions.
443
Set Up and Maintain Your Salesforce Organization General Importing Questions
To add contacts that you own to a campaign via the Data Import Marketing User selected in your user information
Wizard: AND
Create on accounts
AND
Read on contacts
AND
Edit on accounts and campaigns
AND
Import Personal Contacts
To create contacts that you own and add them to a campaign via Marketing User selected in your user information
the Data Import Wizard: AND
Create on accounts
AND
Read on contacts
AND
Edit on accounts and campaigns
AND
Import Personal Contacts
To add contacts owned by others to a campaign via the Data Marketing User selected in your user information
Import Wizard: AND
Create on accounts
AND
Read on contacts
444
Set Up and Maintain Your Salesforce Organization General Importing Questions
To create contacts owned by others and add them to a campaign Marketing User selected in your user information
via the Data Import Wizard: AND
Create on accounts
AND
Read on contacts
AND
Edit on accounts, contacts, and campaigns
AND
Modify All Data
To add existing leads to a campaign via the Data Import Wizard: Marketing User selected in your user information
AND
Edit on campaigns
AND
Import Leads
To create leads and add them to a campaign via the Data Import Marketing User selected in your user information
Wizard: AND
Edit on campaigns
AND
Import Leads
To add person accounts that you own to a campaign via the Data Create on accounts
Import Wizard: AND
Edit on accounts
AND
Import Personal Contacts
To add person accounts owned by others to a campaign via the Create on accounts
Data Import Wizard: AND
Edit on accounts and contacts
AND
Modify All Data
445
Set Up and Maintain Your Salesforce Organization Export Backup Data from Salesforce
Note: Users with the “Weekly Data Export” permission can view all exported data and all Available in: both Salesforce
custom objects and fields in the Export Service page. This permission is granted by default Classic and Lightning
Experience
only to the System Administrator profile because it enables wide visibility.
You can generate backup files manually once every 7 days (for weekly export) or 29 days (for monthly Weekly export available in:
export). In Professional Edition and Developer Edition, you can generate backup files only every 29 Enterprise, Performance,
days. You can schedule backup files to generate automatically at weekly or monthly intervals (only and Unlimited Editions
monthly intervals are available in Professional Edition and Developer Edition). Monthly export available in:
All editions, except for
Heavy traffic can delay an export delivery. For example, assume that you schedule a weekly export
Database.com
to run until the end of the month, beginning April 1. The first export request enters the queue, but
due to heavy traffic, the export isn’t delivered until April 8. On April 7, when your second export
request is scheduled to be processed, the first request is still in the queue. So, the second request
USER PERMISSIONS
isn’t processed until April 14.
To export data:
Note: Only active users can run export jobs. If an inactive user schedules an export, error
• “Weekly Data Export”
emails are generated and the export doesn’t run.
1. From Setup, enter Data Export in the Quick Find box, then select Data Export and
Export Now or Schedule Export.
• The Export Now option prepares your files for export immediately. This option is only available if enough time has passed since
your last export.
• The Schedule Export option allows you to schedule the export process for weekly or monthly intervals.
Note: Including special content in the export increases data export processing time.
4. If you want to have spaces instead of carriage returns or line breaks in your export files, select Replace carriage returns
with spaces. This selection is useful if you plan to use your export files for importing or other integrations.
5. If you're scheduling your export, select the frequency (only available for orgs with monthly exports), start and end dates, and time
of day for your export.
6. Under Exported Data, select the types of data to include in your export. If you aren’t familiar with the terminology used for some of
the types of data, we recommend that you select Include all data. Note the following:
• Formula and roll-up summary fields are always excluded from exports.
• If your org uses divisions, data from all divisions is included in the export.
• If your org uses person accounts and you are exporting accounts, all account fields are included in the account data.
446
Set Up and Maintain Your Salesforce Organization Export Backup Data from Salesforce
• If your org uses person accounts and you are exporting contacts, person account records are included in the contact data.
However, the contact data only includes the fields shared by contacts and person accounts.
• For information on field limitations, see the Salesforce Field Reference Guide.
Note: For security purposes, Salesforce can require users to pass a CAPTCHA user verification test to export data from their
org. This simple text-entry test prevents malicious programs from accessing your org’s data. To pass the test, users must
correctly type the two words displayed in the overlay’s text box. The words entered in the text box must be separated by a
space.
Tip: Ensure that any automated processes that process the export files rely on the column headings in the CSV files, rather than
the position of the columns.
447
Set Up and Maintain Your Salesforce Organization Export Backup Data from Salesforce
Note: If commas aren’t appropriate for your locale, use a tab or other delimiter. Specify your delimiter in Data Loader Settings
(Settings | Settings).
Note: If commas aren’t appropriate for your locale, use a tab or other delimiter. Specify your delimiter in Data Loader Settings
(Settings | Settings).
448
Set Up and Maintain Your Salesforce Organization Transferring Records
Transferring Records
A record owner, or any user above the owner in the role or territory hierarchy, can transfer a single
EDITIONS
record to another user. With some objects, like cases, leads, and campaigns, a user may be granted
access to transfer records through sharing. Depending on the type of object, there may be multiple Available in: Salesforce
ways to transfer records to another user: Classic
The Public Full Access and Public Read/Write/Transfer sharing settings give all users the ability “Edit” on the object type
to transfer ownership of that type of record as long as they have the appropriate “Edit” To transfer multiple leads:
permission. • “Transfer Leads” OR
“Transfer Record”
• In organizations that use territory management, users that have been assigned to territories
can be enabled to transfer the accounts in their territories, even if they are not the record owner. AND
• To transfer campaigns, users must also have the Marketing User checkbox selected on “Edit” on leads
their user record.
To transfer multiple cases:
• “Transfer Cases” OR
“Transfer Record”
Changing Ownership for Portal Accounts
AND
• To transfer a Partner account, you must have the “Manage Users” or “Manage External Users”
“Edit” on cases
permission.
• If you are the owner of a Customer Portal account and want to transfer the account, you can
transfer the account to any user in your same role without the need for special permission. You
cannot transfer a Customer Portal account to a user with a higher or lower role.
449
Set Up and Maintain Your Salesforce Organization Transferring Records
• Partner accounts can only be transferred to users with the “Manage External Users” permission.
• To transfer a Portal account with both Customer and Partner Portal users, you must have the “Manage Users” permission.
• You cannot assign an account with Customer Portal users to an owner who is a partner user.
SEE ALSO:
Mass Transfer Records
450
Set Up and Maintain Your Salesforce Organization Transferring Records
Note: To transfer any records that you do not own, you must have the required user Available in: both Salesforce
permissions as well as read sharing access on the records. Classic and Lightning
Experience
1. From Setup, enter Mass Transfer Records in the Quick Find box, then select
Mass Transfer Records. Available in: Contact
Manager, Group,
2. Click the link for the type of record to transfer. Professional, Enterprise,
3. Optionally, fill in the name of the existing record owner in the Transfer from field. For Performance, Unlimited,
leads, you can transfer from users or queues. Developer and
Database.com Editions
4. In the Transfer to field, fill in the name of new record owner. For leads, you can transfer
to users or queues. Service Contracts available
in: Professional, Enterprise,
5. If your organization uses divisions, select the Change division.... checkbox to set the Performance, Unlimited,
division of all transferred records to the new owner’s default division. and Developer Editions with
6. When transferring accounts, you can: the Service Cloud
• Select Transfer open opportunities not owned by the existing Accounts and Leads not
account owner to transfer open opportunities owned by other users that are associated available in: Database.com
with the account.
• Select Transfer closed opportunities to transfer closed opportunities USER PERMISSIONS
associated with the account. This option applies only to closed opportunities owned by
the account owner; closed opportunities owned by other users are not changed. To mass transfer accounts
• Select Transfer open cases owned by the existing account and service contracts:
owner to transfer open cases that are owned by the existing account owner and associated • “Transfer Record”
with the account. AND
• Select Transfer closed cases to transfer closed cases that are owned by the “Edit” on the object type
existing account owner and associated with the account. AND
• Select Keep Account Team to maintain the existing account team associated with “Transfer Leads”
the account. Deselect this checkbox if you want to remove the existing account team
associated with the account. To mass transfer custom
objects:
• Select Keep Opportunity Team on all opportunities to maintain the • “Transfer Record”
existing team on opportunities associated with this account. Any opportunity splits are
AND
preserved, and split percentages assigned to the previous owner transfer to the new one.
If this box is unchecked, all opportunity team members and splits are deleted when the “Edit” on the object type
opportunity is transferred. To mass transfer leads:
Note: If you transfer closed opportunities, the opportunity team is maintained, • “Transfer Leads” OR
“Transfer Record”
regardless of this setting.
AND
7. Enter search criteria that the records you are transferring must match. For example, you could “Edit” on leads
search accounts in California by specifying Billing State/Province equals CA.
8. Click Find.
9. Select the checkbox next to the records you want to transfer. Optionally, check the box in the column header to select all currently
displayed items.
451
Set Up and Maintain Your Salesforce Organization Transferring Records
Note: If duplicate records are found, you must select only one of the records to transfer. Transferring duplicate records results
in an error.
Duplicate records may display if you filter leads based on Campaign Member Status and a matching lead has the same campaign
member status on multiple campaigns. For example, if you specify Campaign Member Status equals Sent, and
a matching lead named John Smith has the status Sent on two campaigns, his record will display twice.
Leads Open activities. When transferring leads to a queue, open activities are not transferred.
SEE ALSO:
Transferring Records
452
Set Up and Maintain Your Salesforce Organization Delete Multiple Records and Reports
• You imported your leads incorrectly and you want to start over. This feature is only available
in Database.com via the
• A user who recently left your company had contacts that were duplicates of other users’ data
API. You can only mass
and you want to delete these duplicate contacts. delete records of custom
• You used to enter leads as accounts with the Type field set to Prospect. You now want to objects in Database.com.
convert these accounts into leads.
Tip: Run a report of these accounts, export it to Excel, and then use the Import Leads USER PERMISSIONS
wizard to import the data as leads. Then using mass delete, select accounts as the record
type to delete and enter Type equals Prospect to locate all accounts you want To mass delete data:
to delete. • “Modify All Data”
• You want to delete all the leads that have been converted for your org. Select the lead record
type, enter Converted equals 1 for the search criteria, and then click Search.
• You want to clean up web-generated leads that were created incorrectly or delete accounts and contacts with whom you no longer
do business.
1. We strongly suggest you run a report to archive your information and export your data weekly. See Export Backup Data from Salesforce
on page 446.
2. From Setup, enter Mass Delete Records in the Quick Find box, then select Mass Delete Records and click the link
for the type of record to delete.
3. Review the information that is deleted with the records.
4. Specify conditions that the selected items must match, for example, “State equals California.”
5. If you’re deleting accounts, specify whether you want to delete accounts with attached closed/won opportunities or attached
opportunities owned by others.
6. If you’re deleting products, select Archive Products if you also want to delete products that are on opportunities.
This option:
• Deletes products that are not on opportunities and moves them to the Recycle Bin.
• Archives products that are on opportunities. These products are not moved to the Recycle Bin and cannot be recovered.
To delete only those products that are not on opportunities, do not select Archive Products. Selected products that are on opportunities
remain checked after the deletion to indicate that they were not included in the deletion.
7. To find records that match, click Search and select the items you want to delete. Optionally, check the box in the column header
to select all currently displayed items.
8. To permanently delete records, select Permanently delete the selected records.
Important: Selecting this option prevents you from recovering the selected records from the Recycle Bin.
9. Click Delete.
453
Set Up and Maintain Your Salesforce Organization Notes on Using Mass Delete
If you did not select Permanently delete the selected records, deleted items are moved to the Recycle Bin.
SEE ALSO:
Notes on Using Mass Delete
Undoing an Import
Using Mass Delete to Undo Imports
454
Set Up and Maintain Your Salesforce Organization Mass Update Addresses
Tip: To ensure data consistency in new records, consider using state and country picklists. Available in: All Editions
except for Database.com.
1. From Setup, enter Mass Update Addresses in the Quick Find box, then select
Mass Update Addresses.
USER PERMISSIONS
2. Select Countries or State/Province. If you chose State/Province, enter the country in which
to update the state or province. To mass update addresses:
• “Modify All Data”
3. Click Next.
To mass update addresses
4. Select the values to update and click Add. The Selected Values box displays the values to update. of contracts:
The Available Values box displays the address values found in existing records. To find more • “Modify All Data”
addresses to update, enter all or part of a value and click Find. AND
If your organization has large amounts of data, instead of using the Available Values box, enter “Activate Contracts”
existing values to update in the text area. Separate each value with a new line.
5. In the Replace selected values with field, enter the value with which to replace the specified
address data, and click Next. If your organization has large amounts of data, this field is called Replace entered values with.
The number and type of address records to update are displayed. If you have large amounts of data, only the values to update are
displayed.
SEE ALSO:
Let Users Select State and Country from Picklists
Scalability FAQ
• How scalable is Salesforce?
• Will I see a degradation in performance as Salesforce’s subscriber base grows?
455
Set Up and Maintain Your Salesforce Organization Cache Force.com Data
IN THIS SECTION:
Request a Platform Cache Trial
To test performance improvements by using Platform Cache in your own org, you can request trial cache for your production org.
Enterprise, Unlimited, and Performance editions come with some cache, but adding more cache often provides greater performance.
When your trial request is approved, you can allocate capacity to partitions and experiment with using the cache for different
scenarios. Testing the cache on a trial basis lets you make an informed decision about whether to purchase cache.
Purchase Platform Cache
You can purchase Platform Cache space to improve the performance of your application.
SEE ALSO:
Apex Developer Guide
456
Set Up and Maintain Your Salesforce Organization Request a Platform Cache Trial
Note: You can make up to 10 trial cache requests, and you must wait 90 days between trials.
After you request trial cache, you receive emails at the following intervals.
At activation
You can now allocate capacity to partitions and test the trial cache in your org.
Three days before expiration
Before expiration, be sure to reconfigure your partitions to deallocate the added trial space.
At expiration
The trial cache is removed from your org.
Note: If you haven’t deallocated enough space, Salesforce reduces your partition sizes to remove the granted trial cache space.
Note: The size of a partition is the total allocation for the partition, which includes org-wide cache and namespace-specific
cache.
• The system then works its way through the partitions from smallest to largest in size. If multiple partitions have the same size, the
system proportionally removes cache from these partitions.
• The system reduces partitions to a minimum size of 5 MB, unless all the trial cache space can’t be removed. In this case, partitions
are reduced to 0 MB.
• The default partition (if it exists) is reduced last only if the trial cache space can’t be removed from all other partitions.
If unallocated space is present:
• If the amount of unallocated space is greater than the amount of space that must be removed, the system removes only unallocated
space.
457
Set Up and Maintain Your Salesforce Organization Purchase Platform Cache
• If the amount of unallocated space is less than the amount of space that must be removed, the system removes the unallocated
space first. The system then follows the cache reduction process to remove the remaining amount.
SEE ALSO:
Cache Force.com Data
SEE ALSO:
Cache Force.com Data
458
Set Up and Maintain Your Salesforce Organization Manage Duplicate Records in Salesforce
to save it anyway. Both the Block and Allow options include an alert, which tells users why they can’t save the record and what to
do about it. The Allow option includes the ability to report on the duplicate records.
• When a user tries to save an edited record, the record is checked to see if the user has changed the value of a matching rule field. If so,
the duplicate management process works as described for new records. If not, no further action is taken and duplicates are not
detected.
IN THIS SECTION:
Considerations for Using Duplicate Management
Here are some considerations for using duplicate rules, matching rules, and duplicate record sets.
Duplicate Management Concepts
To configure Data.com Duplicate Management more effectively, it’s important to understand some key concepts.
Set Up Duplicate Management in Salesforce
Using Duplicate Management in your org requires two separate rules: a duplicate rule and a matching rule. The duplicate rule tells
Salesforce what action to take when duplicates are identified. The matching rule defines how records are compared to one another
to identify possible duplicates. If you like, adjust options for displaying duplicate records to users. You can generate reports of duplicate
records.
Matching Rule Reference
Here’s information on how matching rules work and how to use them.
Duplicate Rule Reference
Here’s some additional information that will help you understand how duplicate rules work and how to use them.
459
Set Up and Maintain Your Salesforce Organization Considerations for Using Duplicate Management
• If duplicate rules are set for an alert to show when duplicates are found, users are blocked from saving records and do not see a list
of duplicates. This situation happens when:
– Records are added using the data import tools.
– A person account is converted to a business account (and the newly created business account matches existing business
accounts).
– Records are added or edited using Salesforce APIs.
Use DuplicateRuleHeader to allow saving records.
• If you’re saving multiple records at the same time and your duplicate rules are set to Block or Alert, records within the same save
aren’t compared to each other; they are only compared with records already in Salesforce. This behavior doesn't affect the Report
action, and duplicate record sets include records that match other records in the same save.
• Custom picklists are not supported when they’re included in a matching rule that’s used in a cross-object duplicate rule.
• The customizable alert text in duplicate rules isn’t supported by the Translation Workbench.
• Up to 5 active duplicate rules are allowed per object.
• Up to three matching rules are allowed per duplicate rule, and each matching rule must be of a different object.
• Duplicate management features are enabled by default for business accounts, contacts, and leads. To use duplicate management
features for person accounts, enable person accounts, and then activate the standard person account matching and duplicate rules
in Setup. New orgs come with standard duplicate rules for each supported object. Each duplicate rule is associated with a matching
rule. You can deactivate these rules or create custom rules.
460
Set Up and Maintain Your Salesforce Organization Duplicate Management Concepts
• Standard and custom matching rules that use fuzzy matching methods only support Latin characters, and, if you’re using international
data, we recommend using the Exact matching method with your matching rules.
• If the value of a lookup field is a person account and the matching rule is based on a contact lookup field, the matching rule isn’t
applied. All contact lookup fields except Reports To on the Contact object contain both contacts and person accounts unless
you configure a lookup filter to exclude person accounts. To match on person account values, use an account lookup field instead.
• If the record chosen as master is below another selected duplicate in a hierarchy, you can’t finish merging. Choose a different master
or edit the Parent Account or Reports To value on one of the records.
• If a field on an object is no longer available in your org, it can cause matching rules with mappings to this field to be ignored and
duplicate detection to be affected. Check all duplicate rule field mappings for an object if there is a change to the fields available in
your org. For example, the Clean Status field is only available to customers with a Data.com license. If your org no longer has
a Data.com license, this field is no longer available and matching rules with mappings to this field are ignored.
• Only 1 lookup relationship field is allowed per matching rule.
• Up to 5 active matching rules are allowed per object.
• Up to 25 total active matching rules are allowed.
• Up to 100 total matching rules are allowed (both active and inactive).
• Up to 5 matching rules can be activated or deactivated at a time.
• Matching rules that include fields with Platform Encryption do not detect duplicates. If your org has Platform Encryption enabled,
make sure that your matching rules do not include encrypted fields.
SEE ALSO:
Duplicate Rules
461
Set Up and Maintain Your Salesforce Organization Duplicate Management Concepts
Duplicate Rules
Duplicate rules are used to control whether and when you can save duplicate records within
EDITIONS
Salesforce.
Duplicate rules tell Salesforce what action to take when you attempt to create a duplicate record. Available in: Salesforce
Each duplicate rule requires at least one matching rule to identify which existing records are possible Classic and Lightning
duplicates. Experience
You can configure your duplicate rule to do something when a record is created and edited. However, Available in: Professional,
the rule only runs for edited records if the fields being edited are included in the associated matching Enterprise, Performance,
rule. Unlimited, and Developer
Editions
Standard duplicate rules are set up and activated by default for business accounts, contacts, and
leads. To use the standard duplicate rule for person accounts, first enable person accounts, and
then activate the rule in Setup. We recommend using the standard duplicate rules because they’re
designed to work with the standard matching rules to return the best possible match candidates. You can deactivate the standard
duplicate rules at any time. The standard duplicate rules aren’t editable, but you can create custom duplicate rules.
Example: The duplicate rule can block you from saving records that have been identified as possible duplicates or allow them
to save them anyway. Both the Block and Allow options include an alert, which tells you why you can’t save the record and what
to do about it. The Allow option includes the ability to report on the duplicate records.
SEE ALSO:
Create or Edit Duplicate Rules
Manage Duplicate Records in Salesforce
Matching Rules
Matching rules are used to identify duplicate records within Salesforce.
EDITIONS
Watch a video: Understanding Matching Rules
Available in: Salesforce
A matching rule is made up of individual fields that are assembled into an equation. Each field
Classic and Lightning
contains matching criteria that tell the rule how to compare the fields and what conditions need
Experience
to be met for the specific field to be considered a match.
After a matching rule is activated, one or more match keys are automatically created and applied Available in: Professional,
Enterprise, Performance,
to existing records. (Also known as indexing, this process improves performance and returns a
Unlimited, and Developer
better set of match candidates because the matching rule is only looking for duplicates among
Editions
records with the same match key.)
When the matching rule is run, it compares the record’s match keys against those for existing
records. Then, for records that share the same match keys, the matching rule uses matching algorithms to compare fields and determine
462
Set Up and Maintain Your Salesforce Organization Duplicate Management Concepts
how closely the fields, and ultimately the records, match. If two records’ don’t share the same match keys, they are not considered
duplicates and the matching algorithms will not even be applied to them.
Example: A simple matching rule might specify that if two records’ Email and Phone values match exactly, they are possible
duplicates. Or you can use a variety of “fuzzy” matching methods to compare the fields.
Use matching rules with duplicate rules to manage whether and when users are allowed to create duplicate records within Salesforce.
You can use the standard matching rules or create your own custom matching rule. We recommend you use the standard matching
rules because they’ve been carefully designed to return the best possible set of match candidates.
SEE ALSO:
Create or Edit Custom Matching Rules
Matching Rule Reference
SEE ALSO:
Considerations for Using Duplicate Management
463
Set Up and Maintain Your Salesforce Organization Duplicate Management Concepts
• The Report action on duplicate rules fails because the system is unable to create a duplicate record set.
SEE ALSO:
Manage Duplicate Records in Salesforce
IN THIS SECTION:
Prevent Users from Creating Duplicate Records in Lightning Experience
To prevent your users from creating duplicates when creating or editing a record, activate duplicate rules for business accounts,
contacts, or leads.
Let Users View and Merge Existing Duplicate Records in Lightning Experience
Help your sales teams maintain great relationships with customers, and keep your leads, accounts, and contacts clutter free when
they use Lightning Experience. By displaying duplicates of existing records, you can stop a sales rep from spoiling a customer
relationship—and wreaking havoc on your data. Users with permission can merge duplicates of the same kind (for example, duplicate
leads) using Lightning Experience or Salesforce Classic.
464
Set Up and Maintain Your Salesforce Organization Duplicate Management Concepts
If your users try to save a record identified as a possible duplicate, here’s what they see.
• All duplicate rules include a system-generated message (1) that tells the user how many possible duplicates were found. The number
of possible duplicates includes only the records the user has access to, even if the duplicate rule’s record-level security was set to
Bypass sharing rules. (The Bypass sharing rule option tells the associated matching rule to compare all records,
regardless of the user’s access.) If the user doesn’t have access to any of the records that are identified as possible duplicates, then
this message just says there are duplicates detected and the number of duplicates isn’t included. The list of possible duplicates
displayed only includes records the user has access to.
• If your duplicate rule includes an alert, it appears above the system-generated message (2).
465
Set Up and Maintain Your Salesforce Organization Duplicate Management Concepts
• If your duplicate rule allows users to save a record even if it’s a duplicate, they can close this dialog and save the record. If your
duplicate rule blocks users from saving a record that is a possible duplicate, the record can’t be saved until the user makes the
necessary changes to the record so it’s no longer flagged as a possible duplicate.
• The list of possible duplicates (3) includes only records the user has access to (up to the first seven fields that were compared by the
associated matching rule). Records are listed in the order they were last modified. Users can go directly to one of the records in the
list by clicking its link.
SEE ALSO:
Manage Duplicate Records in Salesforce
Let Users View and Merge Existing Duplicate Records in Lightning Experience
Help your sales teams maintain great relationships with customers, and keep your leads, accounts,
EDITIONS
and contacts clutter free when they use Lightning Experience. By displaying duplicates of existing
records, you can stop a sales rep from spoiling a customer relationship—and wreaking havoc on Available in: Lightning
your data. Users with permission can merge duplicates of the same kind (for example, duplicate Experience
leads) using Lightning Experience or Salesforce Classic.
Available in: Professional,
When you enable duplicate and matching rules, a potential duplicates card (1) on record home
Enterprise, Performance,
pages alerts sales reps to duplicates. You can switch to a temporary toast message (2) or display Unlimited, and Developer
both alerts. Editions
1. In Setup, in the Quick Find box, enter App Builder and then click Lightning App Builder.
2. On the Accounts, Contacts, or Leads page, add the Potential Duplicates component.
466
Set Up and Maintain Your Salesforce Organization Duplicate Management Concepts
Sometimes the list of duplicates by itself is all the information a sales rep needs. But a rep who has permission to merge duplicates can
choose up to three records to merge.
Before merging, the rep can choose the correct value for each field.
467
Set Up and Maintain Your Salesforce Organization Duplicate Management Concepts
468
Set Up and Maintain Your Salesforce Organization Duplicate Management Concepts
• All duplicate rules include a system-generated message (1) that tells the user how many possible duplicates were found. The number
of possible duplicates includes only the records the user has access to, even if the duplicate rule’s record-level security was set to
Bypass sharing rules. (The Bypass sharing rule option tells the associated matching rule to compare all records,
regardless of the user’s access.) If the user doesn’t have access to any of the records that are identified as possible duplicates, then
this message just says there are duplicates detected and the number of duplicates isn’t included. The list of possible duplicates
displayed only includes records the user has access to.
• If your duplicate rule includes an alert, it will appear beneath the system-generated message (2).
• If your duplicate rule allows users to save a record even though it might be a possible duplicate, the Save (Ignore Alert) button is
present (3). If your duplicate rule blocks users from saving a record that is a possible duplicate, the Save button is present but the
record cannot be saved successfully until the user makes the necessary changes to the record so it’s no longer flagged as a possible
duplicate.
• The list of possible duplicates (4) includes only records the user has access to. The fields shown in the list include only fields the user
has access to (up to the first 7 fields that were compared by the associated matching rule). A maximum of 5 records are displayed
in this list, but if more than 5 duplicates are found, users can click Show All >> to see full list of records, up to 100. Records are listed
in the order they were last modified. Users can go directly to one of the records in the list by clicking on its link.
• The highlighted fields (5) are the fields that were compared by the associated matching rule and determined to match.
469
Set Up and Maintain Your Salesforce Organization Set Up Duplicate Management in Salesforce
470
Set Up and Maintain Your Salesforce Organization Set Up Duplicate Management in Salesforce
6. Make sure you’ve selected the field mapping for each matching rule, if needed.
If the matching rule is comparing records from two different objects or uses custom fields:
• You’ll need to decide how you want the fields from the first object to be compared to the fields from the second object. For
example, you might map a custom field called Work Email to the standard Email field.
• Some data may be truncated prior to matching two text fields with different maximum lengths.
7. If you want your duplicate rule to run only if specific conditions are met, specify the conditions.
For example, you could add a condition that tells the rule to run only if the record was entered by a user with a certain profile or
role, or if the record includes a specific country or state.
10. If you have more than one active duplicate rule for a particular object, you may want to adjust the order in which the rules are
processed. You can reorder rules by clicking Reorder from any rule’s detail page.
Tip: If the first duplicate rule finds a match for a particular record, that record will not be evaluated by subsequent duplicate
rules. Therefore, you should order your duplicate rule so that rules with the Block action are run before rules with the Allow
action.
SEE ALSO:
Duplicate Rules
Matching Rules
471
Set Up and Maintain Your Salesforce Organization Set Up Duplicate Management in Salesforce
SEE ALSO:
Matching Rules
Matching Rule Reference
472
Set Up and Maintain Your Salesforce Organization Set Up Duplicate Management in Salesforce
473
Set Up and Maintain Your Salesforce Organization Matching Rule Reference
SEE ALSO:
Duplicate Record Sets
474
Set Up and Maintain Your Salesforce Organization Matching Rule Reference
Matching Examples
Here are examples of matching rules in action to show how records are compared and evaluated as duplicates.
Matching Equation
Important: In order for the Standard Account Matching Rule to return matches accurately, the new or edited record must include
a value in the Account Name and either the City or ZIP fields.
475
Set Up and Maintain Your Salesforce Organization Matching Rule Reference
Matching Criteria
For a definition of each matching criterion, see Matching Criteria for Matching Rules on page 482.
Phone Exact Weighted 80 Don’t Phone numbers are broken into sections and compared by those
Average match on sections. Each section has its own matching method and match
all sections score. The section scores are weighted to come up with 1 score
expect for the field. This process works best with North American data.
Area Code, • International code (Exact, 10% of field’s match score)
which
• Area code (Exact, 50% of field’s match score)
ignores
blank fields • Next 3 digits (Exact, 30% of field’s match score
• Last 4 digits (Exact, 10% of field’s match score)
For example, suppose that these two phone numbers are being
compared: 1-415-555-1234 and 1-415-555-5678.
All sections match exactly except the last 4 digits, so the field has
a match score of 90, which is considered a match because it
exceeds the threshold of 80.
Billing Edit Distance Weighted 80 Don’t Addresses are broken into sections and compared by those
Street Exact Average match sections. Each section has its own matching method and match
score. The section scores are weighted to come up with 1 score
for the field. This process works best with North American data.
• Street Number (Exact, 20% of field’s match score)
• Street Name (Edit Distance, 50% of field’s match score)
• Street Suffix (Exact, 15% of field’s match score)
• Suite Number (Exact, 15% of field’s match score)
For example, suppose that these two billing streets are being
compared: 123 Market Street, Suite 100 and
123 Market Drive, Suite 300.
Because only the street number and street name match, the
field has a match score of 70, which is not considered a match
because it’s less than the threshold of 80.
ZIP Exact Weighted 80 Don’t ZIP codes are broken into sections and compared by those
Average match sections. Each section has its own matching method and match
score. The section scores are weighted to come up with 1 score
for the field.
• First 5 digits (Exact, 90% of field’s match score)
• Next 4 digits(Exact, 10% of field’s match score)
476
Set Up and Maintain Your Salesforce Organization Matching Rule Reference
Website Exact Maximum 100 Don’t The prefix “http://” is appended to the website domain. For
match example, a field value www.salesforce.com becomes
http://www.salesforce.com for matching purposes.
Matching for an account record that has a website without the
“http://” prefix identifies the record as a duplicate.
SEE ALSO:
Matching Rule Reference
Matching Equation
Note: Threshold for first three equations is 85; for fourth OR (First Name AND Last Name AND Mailing
equation, threshold is 75. Street AND (City OR ZIP))
OR (First Name AND Last Name AND Phone )
OR (First Name AND Last Name AND Phone AND
(City OR ZIP) AND Mailing Street AND Phone)
Matching Criteria
For a definition of each matching criteria, see Matching Criteria for Matching Rules on page 482.
477
Set Up and Maintain Your Salesforce Organization Matching Rule Reference
Last Name Last Exact Maximum 90 and Don’t match If record contains a value for both the First
Name Keyboard 75 (Ignores blank Name and Last Name fields, those values are
Distance fields when transposed to account for possible data entry
Email is mistakes.
Metaphone 3 included in For example, if the first name is George and the
field grouping) last name is Michael, the matching rule also
evaluates the first name as Michael and the
last name as George.
Phone Phone Exact Weighted 80 Don’t match Phone numbers are broken into sections and
Average on all sections compared by those sections. Each section has its
expect Area own matching method and match score. The
Code, which section scores are weighted to determine a single
ignores blank score for the field. This process works best with
fields North American data.
• International code (Exact, 10% of field’s match
score)
• Area code (Exact, 50% of field’s match score)
• Next 3 digits (Exact, 30% of field’s match score
• Last 4 digits (Exact, 10% of field’s match score)
For example, suppose that these two phone
numbers are being compared:
1-415-555-1234 and 1-415-555-5678.
478
Set Up and Maintain Your Salesforce Organization Matching Rule Reference
Mailing Street Edit Distance Weighted 80 Don’t match Addresses are broken into sections and compared
Street Exact Average` by those sections. Each section has its own
matching method and match score. The section
scores are weighted to determine a single score
for the field. This process works best with North
American data.
• Street Name (Edit Distance, 50% of field’s
match score)
• Street Number (Exact, 20% of field’s match
score)
• Street Suffix (Exact, 15% of field’s match score)
• Suite Number (Exact, 15% of field’s match
score)
For example, suppose that these two addresses
are being compared: 123 Market Street,
Suite 100 and 123 Market Drive,
Suite 300.
Only the street number and street name match.
The field has a match score of 70, which is not
considered a match because it’s less than the
threshold of 80.
Mailing ZIP/Postal Exact Weighted 80 ZIP codes are broken into sections and compared
ZIP/Postal Code Average by those sections. Each section has its own
Code matching method and match score. The section
scores are weighted to determine a single score
for the field.
• First 5 digits (Exact, 90% of field’s match score)
• Next 4 digits (Exact, 10% of field’s match
score)
479
Set Up and Maintain Your Salesforce Organization Matching Rule Reference
Matching Equation
Matching Criteria
For a definition of each matching criteria, see Matching Criteria for Matching Rules on page 482.
Last Name Last Exact Maximum 90 Don’t match If record contains a value for the First Name
Name Keyboard (Ignores blank and Last Name fields, those values are
Distance fields when transposed to account for possible data entry
Email is mistakes.
Metaphone 3 included in For example, if the first name is Felix and the
field grouping) last name is Michael, the matching rule also
480
Set Up and Maintain Your Salesforce Organization Matching Rule Reference
Phone Phone Exact Weighted 80 Don’t match Phone numbers are broken into sections and
Average on all sections compared by those sections. Each section has its
expect Area own matching method and match score. The
Code, which section scores are weighted to determine a score
ignores blank for the field. This process works best with North
fields American data.
• International code (Exact, 10% of field’s match
score)
• Area code (Exact, 50% of field’s match score)
• Next 3 digits (Exact, 30% of field’s match score
• Last 4 digits (Exact, 10% of field’s match score)
For example, suppose that these phone numbers
are being compared: 1-415-555-1234 and
1-415-555-5678.
All sections match exactly except the last 4 digits.
The field has a match score of 90, which is
considered a match because it exceeds the
threshold of 80.
Mailing Street Edit Distance Weighted 80 Don’t match Addresses are broken into sections and compared
Street Exact Average` by those sections. Each section has its own
matching method and match score. The section
scores are weighted to determine a score for the
field. This process works best with North American
data.
• Street Name (Edit Distance, 50% of field’s
match score)
481
Set Up and Maintain Your Salesforce Organization Matching Rule Reference
Mailing ZIP/Postal Exact Weighted 80 Don’t match ZIP codes are broken into sections and compared
ZIP/Postal Code Average by those sections. Each section has its own
Code matching method and match score. The section
scores are weighted to determine a score for the
field.
• First 5 digits (Exact, 90% of field’s match score)
• Next 4 digits (Exact, 10% of field’s match
score)
SEE ALSO:
Matching Rule Reference
482
Set Up and Maintain Your Salesforce Organization Matching Rule Reference
Matching Defines the method for how the fields are compared. We’ve provided an exact matching method
Method that can be used for almost any field, including custom fields. A fuzzy matching method is available
for commonly used standard fields. Each matching method is further defined by normalization
and match key definitions, matching algorithms, and other criteria.
For more information about matching methods, see Matching Methods Used with Matching Rules
on page 484.
Match Blank Specifies how blank fields affect whether the 2 fields being compared are considered matches. If
Fields you select the Match Blank Fields checkbox for any field, and that field is blank in both
records being compared, the fields are considered matches. If, however, you select the Match
Blank Fields checkbox for any field, and that field is blank in only one of the records being
compared, the fields are not considered matches.
If you don’t select the Match Blank Fields checkbox for any field, and that field is blank
in both records being compared, the fields are not considered matches.
Match Key A formula that allows the matching rule to quickly return a list of possible duplicates. Once a
matching rule is activated, match keys are used to generate match key values for all records. When
a matching rule runs, it compares the match key values of the saved record with existing records.
If the saved record has the same match key value as an existing record, it’s a potential duplicate
and evaluated further. If the saved record has a unique match key value, it’s not considered a
duplicate. This process improves the speed and performance of duplicate detection.
For more information about match keys, including examples, see Match Keys Used with Matching
Rules on page 488.
Matching Defines the logic that determines whether 2 fields match. For the Exact matching method, the
Algorithm Exact matching algorithm is automatically used. For the Fuzzy matching method, various fuzzy
matching algorithms can be used. Each matching algorithm used is automatically given a match
score based on how closely it’s able to match the two fields. For example, if you select Exact
matching and the two fields match, the match score is 100. If the 2 fields don’t match, the match
score is 0.
483
Set Up and Maintain Your Salesforce Organization Matching Rule Reference
Scoring Determines how the matching algorithms’ match scores are calculated to come up with one match
Method score for the field. Each matching algorithm used is automatically given a match score based on
how closely it’s able to match the two fields. Scoring method is used only by the standard matching
rules.
Average: Uses the average match score.
Maximum: Uses the highest match score.
Minimum: Uses the lowest match score.
Weighted Average Uses the weight of each matching method to determine the average
match score.
Threshold Determines the minimum match score needed for the field to be considered a match. The field is
automatically given a match score based on how closely it matches the same field in an existing
record.
SEE ALSO:
Matching Rule Reference
Considerations for Using Duplicate Management
484
Set Up and Maintain Your Salesforce Organization Matching Rule Reference
Fuzzy: Company Name Acronym Maximum 70 Removes words such as Inc and Corp
Exact before comparing fields. Also, company names
are normalized. For example, IBM is
Syllable Alignment normalized to International
Business Machines.
Fuzzy: Phone Exact Weighted 80 Phone numbers are broken into sections and
Average compared by those sections. Each section has
its own matching method and match score.
The section scores are weighted to come up
with one score for the field. This process works
best with North American data.
• International code (Exact, 10% of field’s
match score)
• Area code (Exact, 50% of field’s match
score)
• Next 3 digits (Exact, 30% of field’s match
score
• Last 4 digits (Exact, 10% of field’s match
score)
For example, suppose these two phone
numbers are being compared:
1-415-555-1234 and
1-415-555-5678.
All sections match exactly except the last 4
digits, so the field has a match score of 90,
which is considered a match because it
exceeds the threshold of 80.
Fuzzy: Street Exact Weighted 80 Addresses are broken into sections and
Average compared by those sections. Each section has
its own matching method and match score.
The section scores are weighted to come up
485
Set Up and Maintain Your Salesforce Organization Matching Rule Reference
Fuzzy: ZIP Exact Weighted 80 ZIP codes are broken into sections and
Average compared by those sections. Each section has
its own matching method and match score.
The section scores are weighted to come up
with one score for the field.
• First 5 digits (Exact, 90% of field’s match
score)
• Next 4 digits(Exact, 10% of field’s match
score)
For example, suppose these two ZIP codes are
being compared: 94104–1001 and 94104.
Because only the first 5 digits match, the field
has a match score of 90, which is considered
a match because it exceeds the threshold of
80.
486
Set Up and Maintain Your Salesforce Organization Matching Rule Reference
SEE ALSO:
Matching Criteria for Matching Rules
Matching Algorithms Used with Matching Methods
Edit Distance Determines the similarity between two strings based on the number of deletions, insertions,
and character replacements needed to transform one string into the other. For example, VP
Sales matches VP of Sales with match score of 73.
Initials Determines the similarity of two sets of initials in personal names. For example, the first name
Jonathan and its initial J match and return a match score of 100.
487
Set Up and Maintain Your Salesforce Organization Matching Rule Reference
Keyboard Distance Determines the similarity between two strings based on the number of deletions, insertions,
and character replacements needed to transform one string into the other, weighted by the
position of the keys on the keyboard.
Kullback Liebler Distance Determines the similarity between two strings based on the percentage of words in common.
For example Director of Engineering matches Engineering Director with a match score of 65.
Metaphone 3 Determines the similarity between two strings based on their sounds. This algorithm attempts
to account for the irregularities among languages and works well for first and last names. For
example, Joseph matches Josef with a match score of 100.
Name Variant Determines whether two names are variation of each other. For example, Bob is a variation of
Robert and returns a match score of 100. Bob is not a variation of Bill and returns a match score
of 0.
Syllable Alignment Determines the similarity between two strings based on their sounds. First, the character strings
are converted into syllables strings. Then the syllable strings are also compared and scored
using the Edit Distance algorithm. This matching algorithm works well for company names.
For example, Syllable Alignment gives Department of Energy and Department of Labor have
a relatively low match score of 59 because the syllable sequences of these two company names
differ more than their character sequences ( “energy” sounds very different than “labor”). Edit
Distance gives the two strings a score of 74. Therefore, Syllable Alignment works better because
the two strings should not be considered a match.
SEE ALSO:
Matching Rule Reference
Matching Methods Used with Matching Rules
488
Set Up and Maintain Your Salesforce Organization Matching Rule Reference
Note: We currently don’t create match keys for the Title and Address fields. Therefore, if those fields are included in your
matching rule, they won’t generate match keys.
Note: Each custom matching rule can have a maximum of 10 match keys; you’re prevented from saving a matching rule that
would require more.
489
Set Up and Maintain Your Salesforce Organization Matching Rule Reference
Custom matching rules may also use these pre-defined match keys. For example, assume the matching rule equation for a custom
contact matching rule is (First Name AND Last Name AND Company), and the Fuzzy matching method is selected for at least
one of the fields. Then, the notation for its match key will be: First_Name (1,1) Last_Name Company (2,6).
SEE ALSO:
Matching Rule Reference
Matching Criteria for Matching Rules
Normalization Criteria for Matching Rule Match Keys
490
Set Up and Maintain Your Salesforce Organization Matching Rule Reference
Company Expands acronyms. Lowercases all Yes. But on custom IBM = international
characters. Removes suffixes, such matching rules, business machines
as Corporation, Fuzzy: Intel Corp. = intel
Incorporated, Inc, Company must be
Limited, Ltd. Removes selected for the
stopwords and, the, of. Matching Method.
Removes special characters and
accents.
First Replaces first name with alias, if Yes. But on custom Dr. Jane = j
Name applicable. Removes salutations, matching rules, Mr. Bob= robert = r
special characters, and accents. Fuzzy: First
Keeps only the first letter of the Name must be
first word and lowercases this selected for the
letter. Matching Method.
Last Removes special characters and Yes. But on custom O’Reilly, Jr. = oreily (without
Name suffixes. Replaces consecutive matching rules, double metaphone)
identical consonants with single Fuzzy: Last O’Reilly, Jr. = oreily = arl
consonant. Lowercases first letter. Name must be (with double metaphone)
After normalization, the double selected for the
metaphone algorithm is applied Matching Method.
so that misspellings and spelling
variants are accounted for.
491
Set Up and Maintain Your Salesforce Organization Matching Rule Reference
Website Removes protocol (http), subdomain (www), No. Only applies to standard http://www.us.salesforce.com/product
and any file path. Then takes only the last two matching rules. = salesforce.com
or three tokens, depending on if there are http://www.ox.ac.uk/ = ox.ac.uk
international designations. Retains the periods.
Note: Other fields, including custom fields and fields using the Exact matching method in the matching rule, are normalized by
lowercasing all letters and removing leading and trailing spaces.
SEE ALSO:
Matching Rule Reference
Matching Criteria for Matching Rules
Match Keys Used with Matching Rules
Matching Examples
Here are examples of matching rules in action to show how records are compared and evaluated
EDITIONS
as duplicates.
Example: Custom Lead Matching Rule with Fuzzy Matching Methods Available in: Salesforce
Classic and Lightning
Table 3: Matching Criteria Experience
Field Matching Method Available in: Professional,
Enterprise, Performance,
1 Company Fuzzy: Company Name
Unlimited, and Developer
2 Email Exact Editions
492
Set Up and Maintain Your Salesforce Organization Matching Rule Reference
(Email AND Phone) Email Phone Email = [email protected] sayls.mtih@gol bagl utiarsc.om415123
Phone = 415-123-4567
2. Match key values for the new record are generated. This happens as soon as the new record is saved.
3. Match key values for the new record are compared with those from existing records.
2 Company = Elite Sport elitesport415555 Yes. The first match key values don’t
Email = [email protected] [email protected] match. However, the second match
key values are identical, so the
Phone = 1-415-555-1234 record is considered a potential
duplicate. Only one match key value
match is needed.
4. Determine if the new record is a potential duplicate. Does the new record have the same match key value as an existing
record?
• Yes—The new record is considered a potential duplicate. It’s evaluated further using other matching resources, including
matching algorithms.
• No—The new record is not considered a duplicate.
493
Set Up and Maintain Your Salesforce Organization Matching Rule Reference
2 Email Exact
3 Phone Exact
2. Match key values for the new record are generated. This happens as soon as the new record is saved.
3. Match key values for the new record are compared with those from existing records.
Phone = 1-415-555-1234
san frncisco1-415-555-1234
494
Set Up and Maintain Your Salesforce Organization Duplicate Rule Reference
Phone = 1-415-555-1111
san francisco1-415-555-1111 a potential duplicate. Only one
match key value match is needed.
4. Determine if the new record is a potential duplicate. Does the new record have the same match key value as an existing
record?
• Yes—The new record is considered a potential duplicate. It’s evaluated further using other matching resources, including
matching algorithms.
• No—The new record is not considered a duplicate.
SEE ALSO:
Matching Rule Reference
495
Set Up and Maintain Your Salesforce Organization Duplicate Rule Reference
Rule Details
Object Account
Actions
Actions specify what happens when you try to save a duplicate record.
Matching Rules
Matching rules define how duplicates are identified. At least 1 matching rule must be specified for a duplicate rule.
496
Set Up and Maintain Your Salesforce Organization Duplicate Rule Reference
Duplicate Rule
Actions
Actions specify what happens when you try to save a duplicate record.
Matching Rules
Matching rules define how duplicates are identified. At least 1 matching rule must be specified for a duplicate rule.
Rule Details
Object Contact
497
Set Up and Maintain Your Salesforce Organization Duplicate Rule Reference
Actions
Actions specify what happens when you try to save a duplicate record.
Matching Rules
Matching rules define how duplicates are identified. At least 1 matching rule must be specified for a duplicate rule.
Rule Details
Object Lead
Actions
Actions specify what happens when you try to save a duplicate record.
Matching Rules
Matching rules define how duplicates are identified. At least 1 matching rule must be specified for a duplicate rule.
498
Set Up and Maintain Your Salesforce Organization Duplicate Management FAQs
How does duplicate prevention work with Data.com Prospector and Data.com Clean?
EDITIONS
Adding Records with Data.com Prospector
It depends on what your organization’s Data.com duplicate preferences are. Available in: Salesforce
Classic and Lightning
If your organization does not allow duplicate records to be added to Salesforce from Data.com, Experience
then Data.com will block duplicate records from being added to Salesforce and the duplicate rule
won’t need to run. The user trying to add records from Data.com will receive an error log detailing Available in: Professional,
which records couldn’t be added because they are duplicates. Enterprise, Performance,
Unlimited, and Developer
If your organization allows duplicate records to be added to Salesforce from Data.com, then the Editions
duplicate rules will run. The duplicate rule will determine if the duplicate record is allowed or
blocked. Records that are blocked by the duplicate rule will appear in the error log.
499
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Organization
Why am I getting an error saying my matching rule uses too many OR operators
within groupings?
A matching rule has a limit of 10 fields that are arranged into an equation. When a matching rule is saved, we rewrite the equation into
a standardized format that translates the OR statements to AND statements. The standardized format has a limit of 10 rows.
Although this matching rule is within the field limit, it exceeds the row limit of 10 when written in the standardized format, and therefore
can’t be saved. You need to refine the matching rule so it uses fewer OR operators within groupings.
SEE ALSO:
Match Keys Used with Matching Rules
500
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Organization
IN THIS SECTION:
Salesforce Security Basics
The Salesforce security features help you empower your users to do their jobs safely and efficiently. Salesforce limits exposure of
data to the users that act on it. Implement security controls that you think are appropriate for the sensitivity of your data. We'll work
together to protect your data from unauthorized access from outside your company and from inappropriate usage by your users.
Protect Your Salesforce Data with Shield Platform Encryption
Shield Platform Encryption gives your data a whole new layer of security while preserving critical platform functionality. It enables
you to encrypt sensitive data at rest, and not just when transmitted over a network, so your company can confidently comply with
privacy policies, regulatory requirements, and contractual obligations for handling private data.
Session Security
After logging in, a user establishes a session with the platform. Use session security to limit exposure to your network when a user
leaves the computer unattended while still logged in. It also limits the risk of internal attacks, such as when one employee tries to
use another employee’s session. Choose from several session settings to control session behavior.
Activations
Activation tracks information about devices from which users have verified their identity. Salesforce prompts users to verify their
identity when they access Salesforce from an unrecognized browser or application. Identity verification adds an extra layer of security
on top of username and password authentication. The Activations page lists the login IP addresses and client browsers used.
Authenticate Users
Authentication means preventing unauthorized access to your organization or its data by making sure each logged in user is who
they say they are.
Transaction Security
Transaction Security is a framework that intercepts real-time Salesforce events and applies appropriate actions and notifications
based on security policies you create. Transaction Security monitors events according to the policies that you set up. These policies
are applied against events in your org and specify actions to take when certain event combinations occur. When a policy is triggered,
you can have an action taken and receive an optional notification.
Single Sign-On
Single sign-on (SSO) lets users access authorized network resources with one login. You validate usernames and passwords against
your corporate user database or other client app rather than Salesforce managing separate passwords for each resource.
My Domain
Add a subdomain to your Salesforce org URL with the My Domain Salesforce feature. Having a subdomain lets you highlight your
brand and makes your org more secure. A subdomain is convenient and allows you to personalize your login page.
App Launcher
The App Launcher is how users switch between apps. Users are presented with tiles that link to their connected apps, Salesforce
apps, and on-premise applications. Salesforce admins can set the default app order for an org and determine which apps are available
to which users. They can make the App Launcher the default landing page when users first open Salesforce.
Configure File Upload and Download Security Settings
To provide more security, control the way some file types are handled during upload and download.
Certificates and Keys
Salesforce certificates and key pairs are used for signatures that verify a request is coming from your organization. They are used for
authenticated SSL communications with an external web site, or when using your organization as an Identity Provider. You only
need to generate a Salesforce certificate and key pair if you're working with an external website that wants verification that a request
is coming from a Salesforce organization.
501
Set Up and Maintain Your Salesforce Organization Salesforce Security Basics
IN THIS SECTION:
Phishing and Malware
Trust starts with transparency. That’s why Salesforce displays real-time information on system performance and security on the trust
site at http://trust.salesforce.com. This site provides live data on system performance, alerts for current and recent phishing and
malware attempts, and tips on best security practices for your organization.
Security Infrastructure
Salesforce utilizes some of the most advanced technology for Internet security available today. When you access the application
using a Salesforce-supported browser, Transport Layer Security (TLS) technology protects your information using both server
authentication and Classic Encryption, ensuring that your data is safe, secure, and available only to registered users in your organization.
Security Health Check
As an admin, you can use Health Check to identify and fix potential vulnerabilities in your security settings, all from a single page. A
summary score shows how your org measures against the Salesforce recommended baseline. You can also upload up to five custom
baselines to use instead of the Salesforce baseline.
Auditing
Auditing provides information about use of the system, which can be critical in diagnosing potential or real security issues. The
Salesforce auditing features don't secure your organization by themselves; someone in your organization should do regular audits
to detect potential abuse.
Salesforce Shield
Salesforce Shield is a trio of security tools that admins and developers can use to build a new level of trust, transparency, compliance,
and governance right into business-critical apps. It includes Platform Encryption, Event Monitoring, and Field Audit Trail. Ask your
Salesforce administrator if Salesforce Shield is available in your organization.
SEE ALSO:
Security Implementation Guide
502
Set Up and Maintain Your Salesforce Organization Salesforce Security Basics
• Malware is software designed to infiltrate or damage a computer system without the owner's informed consent. It is a general term
used to cover a variety of forms of hostile, intrusive, or annoying software, and it includes computer viruses and spyware.
Security Infrastructure
Salesforce utilizes some of the most advanced technology for Internet security available today. When you access the application using
a Salesforce-supported browser, Transport Layer Security (TLS) technology protects your information using both server authentication
and Classic Encryption, ensuring that your data is safe, secure, and available only to registered users in your organization.
One of the core features of a multi-tenant platform is the use of a single pool of computing resources to service the needs of many
different customers. Salesforce protects your organization's data from all other customer organizations by using a unique organization
identifier, which is associated with each user's session. Once you log in to your organization, your subsequent requests are associated
with your organization, using this identifier.
In addition, Salesforce is hosted in a secure server environment that uses a firewall and other advanced technology to prevent interference
or access from outside intruders.
503
Set Up and Maintain Your Salesforce Organization Salesforce Security Basics
In the baseline dropdown (1), choose the Salesforce Baseline Standard or a custom baseline. The Available in: Professional,
Salesforce Baseline Standard consists of recommended values for Certificate and Key Management, Enterprise, Performance,
Login Access Policies, Network Access, Password Policies, Remote Site Settings, and Session Settings Unlimited, and Developer
groups (2). If you change settings to be less restrictive than what’s in the Salesforce Baseline Standard, Editions
your health check score can decrease.
Your high- and medium-risk settings are shown with information about how they compare against USER PERMISSIONS
the standard value (3). To remediate a risk, edit the setting (4) or use Fix Risks (5) to quickly change
settings to your selected baseline’s recommended values without leaving the Health Check page. To view Health Check:
Your settings that meet the selected standard are listed at the bottom. You can import or export a • “View Health Check”
custom baseline (6). To import and export custom
baselines:
• “Manage Health Check”
Example: Suppose that you changed your password minimum length from 8 (the default value) to 5, and changed other Password
Policies settings to be less restrictive. These changes make your users’ passwords more vulnerable to guessing and other brute
force attacks. As a result, your overall score decreases, and the settings are listed as risks.
IN THIS SECTION:
How Is the Health Check Score Calculated?
The Health Check score is calculated by a proprietary formula that measures how well your security settings meet the Salesforce
Baseline standard. Settings that meet or exceed the standard raise your score, and settings at risk lower your score.
504
Set Up and Maintain Your Salesforce Organization Salesforce Security Basics
SEE ALSO:
How Is the Health Check Score Calculated?
Security Implementation Guide
If all settings in your setting groups meet or exceed the standard, your total score is 100%. As you Available in: Professional,
update your settings, hopefully your green bar moves to the right! Enterprise, Performance,
Unlimited, and Developer
Editions
34–66% Remediate high risks in the short term, and medium risks in the long term
Note: New Salesforce orgs have an initial score less than 100%. Use Health Check to quickly improve your score by eliminating
high risks in your Password Policies and other setting groups.
505
Set Up and Maintain Your Salesforce Organization Salesforce Security Basics
Network Access
Password Policies
506
Set Up and Maintain Your Salesforce Organization Salesforce Security Basics
Obscure secret answer for password Checkbox selected Checkbox deselected N/A
resets
Note: The Minimum password length and Password complexity requirement settings count twice as
much as other settings in the calculation of your Password Policies group score.
Remote Site Settings
Session Settings
Disable session timeout warning popup Checkbox selected Checkbox deselected N/A
Lock sessions to the IP address from Checkbox selected Checkbox deselected N/A
which they originated (see Note)
Lock sessions to the domain in which Checkbox selected N/A Checkbox deselected
they were first used
507
Set Up and Maintain Your Salesforce Organization Salesforce Security Basics
Enable the SMS method of identity Checkbox selected N/A Checkbox deselected
confirmation
Enable clickjack protection for Setup Checkbox selected N/A Checkbox deselected
pages
Enable CSRF protection on GET requests Checkbox selected N/A Checkbox deselected
on non-setup pages
Note: The Lock sessions to the IP address from which they originated setting is available in
Enterprise, Performance, Unlimited, Developer, and Database.com Editions.
SEE ALSO:
Security Health Check
508
Set Up and Maintain Your Salesforce Organization Salesforce Security Basics
To create a custom baseline, you start with the Salesforce Baseline Standard.
USER PERMISSIONS
1. Export the Salesforce Baseline Standard file by selecting Export XML from the Baseline Controls menu.
2. Open the XML file and change the developerName field to a unique value. You can use letters and numbers, but the name
must begin with a letter. It cannot contain spaces or special characters.
3. Change the name field to a unique value. This field is the baseline name that displays on Salesforce. Spaces and some special
characters are allowed.
4. Adjust the setting group and name weights, if you want. Choose a weight of 1.0, 2.0, or 3.0 for each setting group and name. The
weight fields impact your Health Check score. A higher number is weighted as more important.
5. Modify the settings values following the Custom Baseline File Requirements. Enter all values as integers 0.0 or greater, up to 1 decimal
place. Do not add or delete setting groups or setting names. If you do, your import fails.
a. In the standard field, enter a value that you consider to be the most secure.
b. In the warning field, enter a value that you consider medium risk. Security settings that are riskier than your warning field show
on Health Check as high risk, so you don’t need to indicate high-risk values in the file.
Note: In some security settings, a low value could be low risk, but in others, it could be high risk. For example, the lower your
minimum password length value is, the riskier it is. But the lower your maximum invalid login attempts value is, the safer it is.
6. Save your settings, and import the file by choosing Import XML from the Baseline Controls menu.
Note: Unexpected information in the XML file causes the import to fail. If your import fails, you receive a detailed message
in Lightning Experience to help you resolve the problem. However, in Salesforce Classic, you don’t receive a message, so switch
to Lightning Experience for troubleshooting assistance.
7. To confirm that your file uploaded, click the baseline dropdown and select your file.
509
Set Up and Maintain Your Salesforce Organization Salesforce Security Basics
Example:
SEE ALSO:
Custom Baseline File Requirements (Beta)
How Is the Health Check Score Calculated?
Security Health Check
XML File
Use a valid XML file, with only English language characters. The file cannot be larger than 20 KB. Each custom baseline must have unique
Name and Developer Name field values. Surround each value in quotation marks. Be careful not to delete any when editing the file.
510
Set Up and Maintain Your Salesforce Organization Salesforce Security Basics
Key Size Two key sizes are possible: “4096.0” or “2048.0” (highest
risk)
Network Access
Password Policies
511
Set Up and Maintain Your Salesforce Organization Salesforce Security Basics
Minimum password length Any integer between “5.0” (highest risk) and “50.0”
Password complexity requirement (see Note) • “0.0” —No restriction (highest risk)
• “1.0”—Alphanumeric
• “2.0”—Special characters
• “3.0”—Upper and lower case numeric
• “4.0”—Upper and lower case numeric with special
characters
Obscure secret answer for password resets • “0.0”—Checkbox deselected (highest risk)
• “2.0”—Checkbox selected
Session Settings
512
Set Up and Maintain Your Salesforce Organization Salesforce Security Basics
Lock sessions to the IP address from which they • “0.0”—Checkbox deselected (highest risk)
originated (see Note)
• “2.0”—Checkbox selected
Lock sessions to the domain in which they were • “0.0”—Checkbox deselected (highest risk)
first used
• “2.0”—Checkbox selected
Enable caching and autocomplete on login page • “0.0”—Checkbox deselected (highest risk)
• “2.0”—Checkbox selected
Enable the SMS method of identity confirmation • “0.0”—Checkbox deselected (highest risk)
• “2.0”—Checkbox selected
Enable clickjack protection for Setup pages This setting is enabled by default. To change it, contact
Salesforce.
Enable clickjack protection for non-Setup This setting is enabled by default. To change it, contact
Salesforce pages Salesforce.
513
Set Up and Maintain Your Salesforce Organization Salesforce Security Basics
Enable CSRF protection on GET requests on This setting is enabled by default. To change it, contact
non-setup pages Salesforce.
Enable CSRF protection on POST requests on This setting is enabled by default. To change it, contact
non-setup pages Salesforce.
SEE ALSO:
Create a Custom Baseline for Health Check (Beta)
Auditing
Auditing provides information about use of the system, which can be critical in diagnosing potential or real security issues. The Salesforce
auditing features don't secure your organization by themselves; someone in your organization should do regular audits to detect potential
abuse.
To verify that your system is actually secure, you should perform audits to monitor for unexpected changes or usage trends.
Record Modification Fields
All objects include fields to store the name of the user who created the record and who last modified the record. This provides some
basic auditing information.
Login History
You can review a list of successful and failed login attempts to your organization for the past six months. See Monitor Login History
on page 753.
Field History Tracking
You can also enable auditing for individual fields, which will automatically track any changes in the values of selected fields. Although
auditing is available for all custom objects, only some standard objects allow field-level auditing. See Field History Tracking on page
764.
Setup Audit Trail
Administrators can also view a Setup Audit Trail, which logs when modifications are made to your organization’s configuration. See
Monitor Setup Changes on page 761.
Salesforce Shield
Salesforce Shield is a trio of security tools that admins and developers can use to build a new level of trust, transparency, compliance,
and governance right into business-critical apps. It includes Platform Encryption, Event Monitoring, and Field Audit Trail. Ask your
Salesforce administrator if Salesforce Shield is available in your organization.
Platform Encryption
Platform Encryption allows you to natively encrypt your most sensitive data at rest across all your Salesforce apps. This helps you protect
PII, sensitive, confidential, or proprietary data and meet both external and internal data compliance policies while keeping critical app
functionality — like search, workflow, and validation rules. You keep full control over encryption keys and can set encrypted data
permissions to protect sensitive data from unauthorized users. See Platform Encryption. on page 515
514
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
Event Monitoring
Event Monitoring gives you access to detailed performance, security, and usage data on all your Salesforce apps. Every interaction is
tracked and accessible via API, so you can view it in the data visualization app of your choice. See who is accessing critical business data
when, and from where. Understand user adoption across your apps. Troubleshoot and optimize performance to improve end-user
experience. Event Monitoring data can be easily imported into any data visualization or application monitoring tool like Wave Analytics,
Splunk, or New Relic. To get started, check out our Event Monitoring training course.
515
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
SEE ALSO:
Salesforce Platform Encryption Implementation Guide
What’s the Difference Between Classic Encryption and Shield Platform Encryption?
Salesforce Platform Encryption Architecture
SEE ALSO:
Platform Encryption Overview
516
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
Encrypt Fields
Select the fields you want to encrypt. When a field is encrypted, its value is masked for users who
EDITIONS
don’t have permission to view encrypted data.
Depending on the size of your organization, enabling a standard field for encryption can take a few Available as add-on
minutes. subscription in: Enterprise,
Performance, and
1. Make sure that your organization has an active encryption key. If you’re not sure, check with
Unlimited Editions. Requires
your administrator.
purchasing Salesforce
2. From Setup, use the Quick Find box to find the Platform Encryption setup page. Shield. Available in
Developer Edition at no
3. Click Encrypt Fields.
charge for organizations
4. Click Edit. created in Summer ’15 and
5. Select the fields you want to encrypt, and save your settings. later.
The automatic Platform Encryption validation service will now check for settings in your organization Available in both Salesforce
that might block encryption. You’ll receive an email with suggestions for fixing any incompatible Classic and Lightning
settings. Experience.
Field values are automatically encrypted only in records created or updated after you’ve enabled
encryption. Salesforce recommends updating existing records to ensure that their field values are USER PERMISSIONS
encrypted. For example, if you encrypt the Description field on the Case object, use the Data
Loader to update all case records. Contact Salesforce if you need help with this. To view setup:
• “View Setup and
Note: This page is about Shield Platform Encryption, not Classic Encryption. What's the Configuration”
difference? To encrypt fields:
• “Customize Application”
SEE ALSO:
Which Fields Can I Encrypt?
Field Limits with Shield Platform Encryption
Data Loader
What Does My Encrypted Data Look Like?
API Guide: CustomField
Retrieve Encrypted Data with Formulas (Beta)
517
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
Note: We provide encryption for Chatter to selected customers through a pilot program Available as an add-on
that requires agreement to specific terms and conditions. To be nominated to participate in subscription in: Enterprise,
Performance, and
the program, contact Salesforce. Pilot programs are subject to change, and we can’t guarantee
Unlimited Editions. Requires
acceptance. Encryption for Chatter isn’t generally available unless or until Salesforce announces
purchasing Salesforce
its general availability in documentation or in press releases or public statements. We can’t
Shield. Available in
guarantee general availability within any particular time frame or at all. Make your purchase
Developer Edition at no
decisions only on the basis of generally available products and features. You can provide charge for orgs created in
feedback and suggestions for encryption for Chatter in the Chatter Product group in the Summer ’15 and later.
Success Community.
Available in both Salesforce
We recommend that you implement encryption for Chatter in a dedicated Sandbox
Classic and Lightning
environment.
Experience.
Unlike encryption for custom and standard fields, enabling encryption for Chatter encrypts all
eligible Chatter fields. USER PERMISSIONS
1. To enable access to this feature, first contact Salesforce.
To view setup:
2. Assign all users in your org the “View Encrypted Data” permission. • “View Setup and
3. Make sure that your org has an active encryption key. If you’re not sure, check with your Configuration”
administrator. To encrypt fields:
• “Customize Application”
4. From Setup, use the Quick Find box to find the Platform Encryption setup page.
5. Click Encrypt Chatter.
The automatic Shield Platform Encryption validation service checks for settings that could block encryption. If the service finds potential
problems, you’re sent an email with suggestions for fixing the problems.
After you activate encryption for Chatter, new data that you enter into Chatter gets encrypted. Existing data is not encrypted.
Mass-encryption for historic Chatter data isn’t available. To encrypt existing data, simply edit or update the data in any supported field.
When you edit or update an encrypted Chatter field, the field’s revision history is also encrypted. For example, if you update a post, the
old version of the post remains encrypted.
Note: Beginning with Spring ’17, Shield Platform Encryption no longer masks encrypted data. This may affect some users’ ability
to work with encrypted data. If you have data you don’t want specific users to see, revisit their field-level security settings on page
283, record access settings, and object permissions on page 286.
518
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
Note: Before you begin, make sure that your organization has an active encryption key; if Available as add-on
you’re not sure, check with your administrator. subscription in: Enterprise,
Performance, and
1. From Setup, enter Platform Encryption in the Quick Find box, then select Unlimited Editions. Requires
Platform Encryption. purchasing Salesforce
2. Select Encrypt Files and Attachments. Shield. Available in
Developer Edition at no
3. Click Save. charge for organizations
Important: Users with access to the file can work normally with it regardless of their created in Summer ’15 and
encryption-specific permissions. Users who are logged in to your org and have read access later.
can search and view the body content. Available in both Salesforce
Users can continue to upload files and attachments per the usual file size limits. Expansion of file Classic and Lightning
sizes caused by encryption doesn’t count against these limits. Experience.
Turning on file and attachment encryption affects new files and attachments. It doesn’t automatically
encrypt files and attachments that were already in Salesforce. To encrypt existing files, contact USER PERMISSIONS
Salesforce.
To view setup:
To check whether a file or attachment is encrypted, look for the encryption indicator on the detail • “View Setup and
page of the file or attachment. You can also query the isEncrypted field on the ContentVersion Configuration”
object (for files) or on the Attachment object (for attachments). To encrypt files:
• “Customize Application”
519
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
SEE ALSO:
Which Files Are Encrypted?
Data Loader
The ContentVersion object
API Guide: Attachment
Note: Support for using encrypted fields in formulas is in beta, which means it’s a high-quality feature with known limitations.
Skinny tables
You’ve selected a field that's used in a skinny table.
520
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
Note: This page is about Shield Platform Encryption, not Classic Encryption. What's the difference?
SEE ALSO:
Back to Parent Topic
This works:
(encryptedField__c & encryptedField__c)
521
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
Why it doesn’t work: LOWER isn’t a supported function, and the input is an encrypted value.
Case
CASE returns encrypted field values, but doesn’t compare them.
This works:
CASE(custom_field__c, "1", cf2__c, cf3__c))
Why it works: custom_field__c is compared to “1”. If it is true, the formula returns cf2__c because it’s
not comparing two encrypted values.
This works:
OR(ISBLANK(encryptedField__c), ISNULL(encryptedField__c))
Why it works: Both ISBLANK and ISNULL are supported. OR works in this example because ISBLANK and
ISNULL return a Boolean value, not an encrypted value.
Spanning
This works:
(LookupObject1__r.City & LookupObject1__r.Street) &
(LookupObject2__r.City & LookupObject2__r.Street) &
(LookupObject3__r.City & LookupObject3__r.Street) &
(LookupObject4__r.City & LookupObject4__r.Street)
How and why you use it: Spanning retrieves encrypted data from multiple entities. For example, let’s say you work in the
customer service department for Universal Containers. A customer has filed a case about a distribution
problem, and you want to see the scope of the issue. You want all the shipping addresses related
to this particular case. This example returns all the customers’ shipping addresses as a single string
in your case layout.
Validation
The encryption validation service checks your org to make sure that it’s compatible with encrypted formula field types.
When you encrypt a given field, the validation service:
522
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
Limits
Up to 200 formula fields can reference a given encrypted custom field. A field that is referenced by more than 200 formula fields can’t
be encrypted. If you need to reference an encrypted custom field from more than 200 formula fields, contact Salesforce.
When you specify multiple fields to encrypt at one time, the 200-field limit is applied to the whole batch. If you know you are encrypting
fields that have a lot of formula fields pointing to them, encrypt those fields one at at a time.
Important: Beginning in Spring ’17, Shield Platform Encryption no longer masks encrypted data. To get the most out of encryption
support for custom formula field types, we recommend that you approve the “Turn Off Masking for Encrypted Data” critical update.
To activate this critical update:
1. Review your field-level security settings for any field types that include encrypted data. Ensure that field access is properly set
in your org.
2. From Setup, enter Critical Updates in the Quick Find box and select Critical Updates.
3. For Turn Off Masking for Encrypted Data, click Activate.
4. Refresh your browser page.
523
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
SEE ALSO:
Platform Encryption Overview
Tenant Secret API
SEE ALSO:
Permission Sets
Profiles
API Guide: TenantSecret
524
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
USER PERMISSIONS
Note: This page is about Shield Platform Encryption, not Classic Encryption. What's the
difference?
525
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
526
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
5. When the Certificate and Key Detail page appears, click Download Certificate.
If you’re not sure whether a self-signed or CA-signed certificate is right for you, consult your organization’s security policy. See
Certificates and Keys in the Salesforce Help for more about what each option implies.
To create a CA-signed certificate, follow the instructions to Generate a Certificate Signed By a Certificate Authority. Remember to
manually change the Exportable Private Key, Key Size, and Platform Encryption settings to ensure that your certificate is
BYOK-compatible.
527
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
USER PERMISSIONS
This tenant secret automatically becomes the active tenant secret. To manage tenant secrets:
Note: The tenant secret whose certificate has the latest expiration date automatically • “Customize Application”
becomes the active tenant secret. AND
“Manage Encryption
Keys”
Your tenant secret is now ready to be used for key derivation. From here on, the Salesforce key derivation server will use the tenant
secret you generated to derive the org-specific key that the app server will use to encrypt and decrypt your users’ data.
4. Export your tenant secret and back it up as prescribed in your organization’s security policy.
You’ll have to reimport the secret if you need to restore it. The exported secret is different from the key you uploaded. It is encrypted
with a different key and has additional metadata embedded in it. See Back Up Your Tenant Secret in the Salesforce Help.
Note: This page is about Shield Platform Encryption, not Classic Encryption. What's the difference?
528
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
2. In Setup, use the Quick Find box to find the Platform Encryption setup page.
3. Click Generate New Tenant Secret.
4. If you want to re-encrypt existing field values with a newly generated tenant secret, contact Salesforce support.
Get the data to update by exporting the objects via the API or by running a report that includes the record ID. This triggers the
encryption service to encrypt the existing data again using the newest key.
Note: This page is about Shield Platform Encryption, not Classic Encryption. What's the difference?
SEE ALSO:
API Guide: TenantSecret
529
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
530
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
Note: This page is about Shield Platform Encryption, not Classic Encryption. What's the difference?
SEE ALSO:
API Guide: TenantSecret
531
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
532
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
SEE ALSO:
Platform Encryption Overview
https://resources.docs.salesforce.com/202/latest/en-us/sfdc/pdf/salesforce_platform_encryption_implementation_guide.pdf
533
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
534
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
535
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
Your certificate is not active, or is Ensure that your certificate settings are compatible with the Bring Your Own Key feature. Under
not a valid Bring Your Own Key the Certificate and Key Edit section of the Certificates page, select a 4096-bit certificate size,
certificate. disable Exportable Private Key, and enable Platform Encryption.
You haven’t attached both the Make sure that you attach both the encrypted tenant secret and hashed tenant secret. Both of
encrypted tenant secret and the these files should have a .b64 suffix.
hashed tenant secret.
Your tenant secret or hashed Several problems can cause this error. Usually, the tenant secret or hashed tenant secret wasn't
tenant secret wasn’t generated generated using the correct SSL parameters. If you are using OpenSSL, you can refer to the script
properly. for an example of the correct parameters you should use to generate and hash your tenant
secret. If you are using a library other than OpenSSL, check that library's support page for help
finding the correct parameters to both generate and hash your tenant secret.
Still stuck? Contact your Salesforce account executive. They'll put you in touch with someone
at Salesforce who can help.
I’m still having problems with my key. Who should I talk to?
If you still have questions, contact your account executive. They’ll put you in touch with a support team specific to this feature.
536
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
• On Case Comments:
537
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
Note: Enabling Encryption for Chatter encrypts all eligible Chatter fields. You can’t choose to encrypt only certain Chatter
fields.
Important: When you encrypt the Name field, enhanced lookups are automatically enabled. Enhanced lookups improve the
user’s experience by searching only through records that have been looked up recently, and not all existing records. Switching to
enhanced lookups is a one-way change. You can’t go back to standard lookups, even if you disable encryption.
You can’t use Schema Builder to create an encrypted custom field.
Some custom fields can’t be encrypted:
• Fields that have the Unique or External ID attributes or include these attributes on previously encrypted custom fields
• Fields on external data objects
• Fields that are used in an account contact relation
On a custom object, the standard Name field can't be encrypted.
538
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
Note: This page is about Shield Platform Encryption, not Classic Encryption. What's the difference?
SEE ALSO:
Encrypt Fields
Back to Parent Topic
What Does My Encrypted Data Look Like?
Retrieve Encrypted Data with Formulas (Beta)
Fix Compatibility Problems
Tradeoffs and Limitations of Shield Platform Encryption
Enable Enhanced Lookups
Note: This page is about Shield Platform Encryption, not Classic Encryption. What's the difference?
SEE ALSO:
Encrypt Files and Attachments
539
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
Tip: When you have the “View Encrypted Data” permission and grant login access to other users, they can see encrypted field
values in plain text. To avoid exposing sensitive data, clone your profile, remove the “View Encrypted Data” permission from the
cloned profile, and assign yourself to the cloned profile. Then grant login access to the other user.
When you turn on encryption, existing field values aren’t encrypted immediately. Values are encrypted only after they are touched.
When you add or remove the “View Encrypted Data” permission for a user, the change takes effect only after the user logs in again.
Who can see data in cleartext partly depends on whether it is in a file or field. Encrypted files are always visible to users who have access
to them. Encrypted fields are visible only to users who have access to them and have the "View Encrypted Data" permission. Use
appropriate sharing settings if data in a file must remain hidden.
Users without the “View Encrypted Data” permission can’t:
• Edit required encrypted lookup fields.
• Use Chatter publisher related lists.
• Use the Copy Mailing Address to Other Address functionality in contacts.
• Choose which value to keep from two merged account records if the same value is encrypted in both. When this happens, Salesforce
retains the value from the master account record.
• Create records that contain a lookup field that requires a value, if that lookup field points to an encrypted standard field.
Users without the “View Encrypted Data” permission can still do these things with encrypted fields:
• Change the value of an encrypted field, unless the field-level security is set to read only.
• See encrypted fields in search results, although their values are masked.
• Create contact and opportunity records from Chatter actions, related lists on account detail pages, and Quick Create.
540
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
When the running user on a report or dashboard has the “View Encrypted Data” permission, readers of the report chart or dashboard
who don’t have the permission may still see encrypted data.
When users without the “View Encrypted Data” permission clone a record with encrypted, non-lookup fields, the encrypted field values
are blank in the new cloned record.
Note: This page is about Shield Platform Encryption, not Classic Encryption. What's the difference?
SEE ALSO:
Profiles
Permission Sets
User Permissions
Back to Parent Topic
541
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
Custom Date 07/07/1777 This field is encrypted, and you don’t have
permission to view encrypted data.
Custom Date/Time 07/07/1777 12:00 PM This field is encrypted, and you don’t have
permission to view encrypted data.
Note: You can’t put masking characters into an encrypted field. For example, if a Phone field is encrypted and you enter a phone
number as *****, or a Date field is encrypted and you enter 07/07/1777, that data is not saved.
542
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
1. When a Salesforce user saves encrypted data, the runtime engine determines from metadata whether to encrypt the field, file, or
attachment before storing it in the database.
2. If so, the encryption service checks for the matching data encryption key in cached memory.
3. The encryption service determines whether the key exists.
a. If so, the encryption service retrieves the key.
b. If not, the service sends a derivation request to a key derivation server and returns it to the encryption service running on the
App Cloud.
4. After retrieving or deriving the key, the encryption service generates a random initialization vector (IV) and encrypts the data using
256-bit AES encryption.
5. The ciphertext is saved in the database or file storage. The IV and corresponding ID of the tenant secret used to derive the data
encryption key are saved in the database.
Salesforce generates a new master secret at the start of each release.
SEE ALSO:
Back to Parent Topic
Shield Platform Encryption Terminology
Salesforce Platform Encryption Architecture
Video: Shield Platform Encryption (Lightning Experience)
543
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
Before the search index files are encrypted, a Salesforce security administrator must enable Search
Index Encryption. Admins then set up their encryption policy to determine which data elements need to be embedded with encryption.
Admins configure Shield Platform Encryption by selecting fields and files to encrypt. An org-specific HSM-derived key specifically for
search index encryption is derived on-demand from the tenant secret. The key material is passed to the search engine’s cache on a
secure channel.
The process when a user creates or edits records:
1. The core application determines if the search index segment should be encrypted or not based on metadata.
2. If the search index segment should be encrypted, the encryption service checks for the matching search encryption key ID in the
cached memory.
3. The encryption service determines if the key exists in the cache.
a. If the key exists in the cache, the encryption service uses the key for encryption.
b. Otherwise, the service sends a request to the core application, which in turn sends an authenticated derivation request to a key
derivation server and returns the key to the core application server.
4. After retrieving the key, the encryption service generates a random initialization vector (IV) and encrypts the data using NSS or JCE’s
AES-256 implementation.
5. The key ID (identifier of the key being used to encrypt the index segment) and IV are saved in the search index.
The process is similar when a user searches for encrypted data:
1. When a user searches for a term, the term is passed to the search index, along with which Salesforce objects to search.
2. When the search index executes the search, the encryption service opens the relevant segment of the search index in memory and
reads the key ID and IV.
3. Steps 3 through 5 of the process when a user creates or edits records are repeated.
4. The search index processes the search and returns the results to the user seamlessly.
If Salesforce admins disable encryption on a field, all index segments that were encrypted are unencrypted and the key ID is set to null.
This process can take up to seven days.
544
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
Shield Platform Encryption Shield Platform Encryption not The Encrypted field attribute is Available in both Salesforce
enabled enabled ignored Classic and Lightning
Experience.
Shield Platform Encryption not Shield Platform Encryption The target Encrypted field
enabled enabled attribute indicates enablement
Note: This page is about Shield Platform Encryption, not Classic Encryption. What's the difference?
SEE ALSO:
Back to Parent Topic
545
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
546
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
SEE ALSO:
Back to Parent Topic
Behind the Scenes: The Shield Platform Encryption Process
Platform Encryption White Paper
What’s the Difference Between Classic Encryption and Shield Platform Encryption?
With Shield Platform Encryption, you can encrypt a variety of widely used standard fields, along
EDITIONS
with some custom fields and many kinds of files. Shield Platform Encryption also supports person
accounts, cases, search, approval processes, and other key Salesforce features. Classic encryption Available as add-on
lets you protect only a special type of custom text field, which you create for that purpose. subscription in: Enterprise,
Performance, and
Feature Classic Encryption Shield Platform Unlimited Editions. Requires
Encryption purchasing Salesforce
Shield. Available in
Pricing Included in base user Additional fee applies
Developer Edition at no
license
charge for organizations
Encryption at Rest created in Summer ’15 and
later.
Native Solution (No Hardware or Software
Required) Available in both Salesforce
Classic and Lightning
Encryption Algorithm 128-bit Advanced 256-bit Advanced Experience.
Encryption Standard Encryption Standard
(AES) (AES)
PCI-DSS L1 Compliance
Masking
547
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
API Access
Note: Beginning with Spring ’17, Shield Platform Encryption no longer masks encrypted data. This may affect some users’ ability
to work with encrypted data. If you have data you don’t want specific users to see, revisit their field-level security settings on page
283, record access settings, and object permissions on page 286.
SEE ALSO:
Which Fields Can I Encrypt?
Which Files Are Encrypted?
Protect Your Salesforce Data with Shield Platform Encryption
Back to Parent Topic
Protect Your Salesforce Data with Shield Platform Encryption
548
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
• Evaluate your data classification scheme early and work with stakeholders in security, compliance, and business IT departments
to define requirements. Balance business-critical functionality against security and risk measures and challenge your assumptions
periodically.
3. Create a strategy early for backing up and archiving keys and data.
If your tenant secrets are destroyed, reimport them to access your data. You are solely responsible for making sure your data and
tenant secrets are backed up and stored in a safe place. Salesforce cannot help you with deleted, destroyed or misplaced tenant
secrets.
5. Read the Shield Platform Encryption considerations and understand their implications on your organization.
• Evaluate the impact of the considerations on your business solution and implementation.
• Test Shield Platform Encryption in a sandbox environment before deploying to a production environment.
• Before enabling encryption, fix any violations that you uncover. For example, referencing encrypted fields in a SOQL WHERE
clause triggers a violation. Similarly, if you reference encrypted fields in a SOQL ORDER BY clause, a violation occurs. In both cases,
fix the violation by removing references to the encrypted fields.
7. Platform Encryption is not a user authentication or authorization tool. Use field-level security settings, page layout settings, and
validation rules, not Platform Encryption, to control which users can see which data. Make sure that a user inadvertently granted the
"View Encrypted Data" permission would still see only appropriate data.
By default, any user can edit encrypted fields, even users without the “View Encrypted Data” permission.
8. Grant the “Manage Encryption Keys” user permission to authorized users only.
Users with the “Manage Encryption Keys” permission can generate, export, import, and destroy organization-specific keys. Monitor
the key management activities of these users regularly with the setup audit trail.
9. Grant the “View Encrypted Data” user permission to authorized users only.
Grant the “View Encrypted Data” permission to users who must view encrypted fields in plaintext, including integration users who
must read sensitive data in plaintext. Encrypted files are visible to all users who have access to the files, regardless of the “View
Encrypted Data” permission.
549
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
Existing field and file data is not automatically encrypted when you turn on Shield Platform Encryption. To encrypt existing field
data, update the records associated with the field data. This action triggers encryption for these records so that your existing data
is encrypted at rest. To encrypt existing files, contact Salesforce.
11. Don't use Currency and Number fields for sensitive data.
You can often keep private, sensitive, or regulated data safe without encrypting associated Currency or Number fields. Encrypting
these fields could have broad functional consequences across the platform, such as disruptions to roll-up summary reports, report
timeframes, and calculations, so they are not encryptable.
SEE ALSO:
Back to Parent Topic
https://resources.docs.salesforce.com/202/latest/en-us/sfdc/pdf/salesforce_platform_encryption_implementation_guide.pdf
550
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
SEE ALSO:
Platform Encryption Overview
Fix Compatibility Problems
Platform Encryption Implementation Guide
SOQL/SOSL
• Encrypted fields can’t be used with the following SOQL and SOSL clauses and functions:
– Aggregate functions such as MAX(), MIN(), and COUNT_DISTINCT()
– WHERE clause
– GROUP BY clause
– ORDER BY clause
Tip: Consider whether you can replace a WHERE clause in a SOQL query with a FIND query in SOSL.
• When you query encrypted data, invalid strings return an INVALID_FIELD error instead of the expected MALFORMED_QUERY.
Lightning Sync
With Shield Platform Encryption enabled, Lightning Sync syncs between users’ email and calendar application and Salesforce only if the
user has the "View Encrypted Data" permission.
551
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
Portals
If a portal is enabled in your organization, you can’t encrypt standard fields. Deactivate all customer portals and partner portals to enable
encryption on standard fields. (Communities are supported.)
Search
If you encrypt fields with a key and then destroy the key, the corresponding search terms remain in the search index. However, you can’t
decrypt the data associated with the destroyed key.
552
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
Email
• When encrypted field values are included in email templates, they appear in plaintext to users with the “View Encrypted Data”
permission. Otherwise, the running user’s permissions determine whether the recipient sees plaintext or masked data.
• Users without the “View Encrypted Data” permission can’t send Stay-in-Touch requests.
• Users without the “View Encrypted Data” permission can’t send emails using Mass Email Contacts.
• When the standard Email field is encrypted, email to Salesforce can’t receive inbound emails.
• When the standard Email field is encrypted, the detail page for Contacts, Leads or Person Accounts doesn’t flag invalid email addresses.
If you need bounce processing to work as expected, don't encrypt the standard Email field.
Activities
Items in an Activity History related list may be displayed in plaintext even if the fields they refer to are encrypted.
Campaigns
Campaign member search isn’t supported when you search by encrypted fields.
Notes
You can encrypt the body text of Notes created with the new Notes tool, but the Preview file and Notes created with the old Notes tool
aren’t supported.
Page Layouts
If you preview a page layout as a profile without the “View Encrypted Data” permission, the preview’s sample data isn’t masked. The
sample data may be blank or may appear in plaintext.
Communities
• For community users with the "View Encrypted Data" permission, data encryption doesn’t change anything about the community
experience. However, if you encrypt the Account Name field and you’re not using Person Accounts, encryption affects how users’
roles are displayed to admins. Normally, a community user’s role name is displayed as a combination of their account name and the
name of their user profile. When you encrypt the Account Name field, the account ID is displayed instead of the account name.
For example, when the Account Name field is not encrypted, users belonging to the Acme account with the Customer User profile
would have a role called Acme Customer User. When Account Name is encrypted (and Person Accounts aren’t in use), the
role is displayed as something like 001D000000IRt53 Customer User.
• Custom fields encrypted with Classic Encryption are masked for Community users even if they have the "View Encrypted Data"
permission.
553
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
REST API
You don’t get autosuggestions via the REST API when a field is encrypted.
Data Import
You can’t use the Data Import Wizard to perform matching using master-detail relationships or update records that contain encrypted
fields. You can use it to add new records, however.
General
• Encrypted fields can’t be used in:
– Criteria-based sharing rules
– Similar opportunities searches
– External lookup relationships
– Skinny tables
– Filter criteria for data management tools
– Duplicate Management matching rules
Note: This page is about Shield Platform Encryption, not Classic Encryption. What's the difference?
SEE ALSO:
Back to Parent Topic
554
Set Up and Maintain Your Salesforce Organization Protect Your Salesforce Data with Shield Platform Encryption
Note: This page is about Shield Platform Encryption, not Classic Encryption. What's the difference?
SEE ALSO:
Back to Parent Topic
555
Set Up and Maintain Your Salesforce Organization Session Security
Contact Object
When Shield Platform Encryption is enabled for the Name field on the Contact object, the character limit is lower for some character
types. This is true for both Business accounts and Person accounts. ASCII character limits are not affected.
• First Name—22 non-ASCII characters
• Middle Name—22 non-ASCII characters
• Last Name—70 non-ASCII characters
• Mailing City—22 non_ASCII characters
Note: This page is about Shield Platform Encryption, not Classic Encryption. What's the difference?
SEE ALSO:
Encrypt Fields
Back to Parent Topic
Session Security
After logging in, a user establishes a session with the platform. Use session security to limit exposure to your network when a user leaves
the computer unattended while still logged in. It also limits the risk of internal attacks, such as when one employee tries to use another
employee’s session. Choose from several session settings to control session behavior.
You can control when an inactive user session expires. The default session timeout is two hours of inactivity. When the session timeout
is reached, users are prompted with a dialog that allows them to log out or continue working. If they don’t respond to this prompt, they
are logged out.
556
Set Up and Maintain Your Salesforce Organization Session Security
Note: When users close a browser window or tab, they aren’t automatically logged off from their Salesforce session. Ensure that
your users are aware of this behavior and that they end all sessions properly by selecting Your Name > Logout.
By default, Salesforce uses TLS (Transport Layer Security) and requires secure connections (HTTPS) for all communication. The Require
secure connections (HTTPS) setting determines whether TLS (HTTPS) is required for access to Salesforce, apart from Force.com
sites, which can be accessed using HTTP. If you ask Salesforce to disable this setting and change the URL from https:// to http://,
you can still access the application. However, for added security, require all sessions to use TLS. For more information, see Modify Session
Security Settings on page 589.
You can restrict access to certain types of resources based on the level of security associated with the authentication (login) method for
the user’s current session. By default, each login method has one of two security levels: Standard or High Assurance. You can change
the session security level and define policies so specified resources are only available to users with a High Assurance level. For details,
see Session-level Security on page 593.
You can control whether your org stores user logins and whether they can appear from the Switcher with the settings Enable
caching and autocomplete on login page, Enable user switching, and Remember me until logout.
IN THIS SECTION:
Modify Session Security Settings
You can modify session security settings to specify session connection type, timeout settings, and IP address ranges to protect against
malicious attacks and more.
Set Trusted IP Ranges for Your Organization
Trusted IP Ranges define a list of IP addresses from which users can log in without receiving a login challenge for verification of their
identity, such as a code sent to their mobile phone.
User Sessions
Monitor and protect your Salesforce org by reviewing active sessions and session details on the User Session Information page. You
can create custom list views, view details about a user associated with a specific session, and easily end suspicious sessions. Salesforce
admins can view all user sessions for an org; non-admins see only their own sessions.
Understanding Session Types
Learn about the session types in the User Session Information page to help you monitor and protect your organization.
SEE ALSO:
Set Trusted IP Ranges for Your Organization
Identity Verification History
557
Set Up and Maintain Your Salesforce Organization Session Security
Disable session timeout Determines whether the system prompts inactive users
warning popup with a timeout warning message. Users are prompted
30 seconds before timeout as specified by the
Timeout value.
Force logout on session Requires that when sessions time out for inactive users,
timeout current sessions become invalid. The browser refreshes
and returns to the login page. To access the org, the
user must log in again.
558
Set Up and Maintain Your Salesforce Organization Session Security
Field Description
Lock sessions to the IP address Determines whether user sessions are locked to the IP address from which
from which they originated the user logged in, helping to prevent unauthorized persons from hijacking
a valid session.
Note: This setting can inhibit various applications and mobile devices.
Lock sessions to the domain in Associates a current UI session for a user, such as a community user, with a
which they were first used specific domain. The setting helps prevent unauthorized use of the session
ID in another domain. This setting is enabled by default for orgs created with
the Spring ’15 release or later.
Require secure connections Determines whether HTTPS is required to log in to or access Salesforce, apart
(HTTPS) from Force.com sites, which can be accessed using HTTP.
This setting is enabled by default for security reasons. This setting does not
apply to API requests. All API requests require HTTPS.
Note: The Reset Passwords for Your Users page can only be accessed
using HTTPS.
Force relogin after Login-As-User Determines whether an administrator who is logged in as another user is
returned to their previous session after logging out as the secondary user.
If the setting is enabled, an administrator must log in again to continue using
Salesforce after logging out as the user. Otherwise, the administrator is returned
to the original session after logging out as the user. This setting is enabled by
default for new orgs beginning with the Summer ’14 release.
Require HttpOnly attribute Restricts session ID cookie access. A cookie with the HttpOnly attribute is not
accessible via non-HTTP methods, such as calls from JavaScript.
Use POST requests for Sets the org to send session information using a POST request, instead of a
cross-domain sessions GET request, for cross-domain exchanges. An example of a cross-domain
exchange is when a user is using a Visualforce page. In this context, POST
requests are more secure than GET requests because POST requests keep the
session information in the body of the request. However, if you enable this
setting, embedded content from another domain, such as:
<img
src="https://acme.force.com/pic.jpg"/>
559
Set Up and Maintain Your Salesforce Organization Session Security
Field Description
Enforce login IP ranges on every Restricts the IP addresses from which users can access Salesforce to only the
request IP addresses defined in Login IP Ranges. If this setting is enabled, login
IP ranges are enforced on each page request, including requests from client
applications. If this setting isn’t enabled, login IP ranges are enforced only
when a user logs in. This setting affects all user profiles that have login IP
restrictions.
Enable caching and autocomplete Allows the user’s browser to store usernames. If enabled, after initial login,
on login page usernames are auto-filled into the Username field on the login page. If the
user selected Remember me on the login page, the username persists after
the session expires or the user logs out. The username also appears on the
Switcher. This setting is selected by default for all organizations.
Enable secure and persistent Enables secure data caching in the browser to improve page reload
browser caching to improve performance by avoiding extra round trips to the server. This setting is selected
performance by default for all organizations. We don’t recommend disabling this setting,
but if your company’s policy doesn’t allow browser caching even if the data
is encrypted, you can disable it.
Enable user switching Determines whether the Switcher appears when your org’s users select their
profile picture. This setting is selected by default for all organizations. The
Enable caching and autocomplete on login page setting
must also be enabled. Deselect the Enable user switching setting
to prevent your org from appearing in Switchers on other orgs. It also prevents
your org users from seeing the Switcher when they select their profile picture.
Remember until logout Normally, usernames are cached only while a session is active or if a user
selects Remember Me. For SSO sessions, the remember option isn't available.
So, once the session expires, the username disappears from the login page
and the Switcher. By enabling Remember me until logout, the
cached usernames are deleted only if the user explicitly logs out. If the session
times out, they appear on the Switcher as inactive. This way, if the users are
on their own computer and allow a session to timeout, they can select the
username to reauthenticate. If they're on a shared computer, the username
is deleted immediately when the user logs out.
This setting applies to all your org’s users. This option isn't enabled by default.
However, we encourage you to enable it as a convenience to your users. Keep
this setting disabled if your org doesn't expose all your SSO or authentication
providers on your login page.
Enable the SMS method of identity Allows users to receive a one-time PIN delivered via SMS. If this setting is
confirmation selected, administrators or users must verify their mobile phone number before
taking advantage of this feature. This setting is selected by default for all
organizations.
560
Set Up and Maintain Your Salesforce Organization Session Security
Field Description
Require security tokens for API In API version 31.0 and earlier, requires the use of security tokens for API logins
logins from callouts (API version from callouts. Examples are Apex callouts or callouts using the AJAX proxy. In
31.0 and earlier) API version 32.0 and later, security tokens are required by default.
Login IP Ranges (for Contact Manager, Specifies a range of IP addresses users must log in from (inclusive), or the login
Group, and Professional Editions) fails.
To specify a range, click New and enter a Start IP Address and End IP Address
to define the range, which includes the start and end values.
This field is not available in Enterprise, Unlimited, Performance, and Developer
Editions. In those editions, you can specify a valid Login IP Range in the user
profile settings.
Let users use a security key Allows users to use a U2F security key for two-factor authentication and identity
(U2F) verification. Instead of using Salesforce Authenticator, a one-time password
generated by an authenticator app, or one-time passwords sent by email or
SMS, users insert their registered U2F security key into a USB port to complete
verification.
Allow location-based automated Allows users to verify identity by automatically approving notifications in
verifications with Salesforce Salesforce Authenticator, whenever users are in trusted locations such as a
Authenticator home or office. If you allow automated verifications, you can allow them from
Allow only from trusted IP
any location or restrict them to only trusted IP addresses, such as your
corporate network.
addresses
Allow Lightning Login Allows users to use Lightning Login for password-free Salesforce logins, relying
on Salesforce Authenticator for identity verification.
Enable clickjack protection for Protects against clickjack attacks on setup Salesforce pages. Clickjacking is
Setup pages also known as a user interface redress attack. (Setup pages are available from
the Setup menu.)
Enable clickjack protection for Protects against clickjack attacks on non-setup Salesforce pages. Clickjacking
non-Setup Salesforce pages is also known as a user interface redress attack. Setup pages already include
protection against clickjack attacks. (Setup pages are available from the Setup
menu.) This setting is selected by default for all organizations.
Enable clickjack protection for Protects against clickjack attacks on your Visualforce pages with headers
customer Visualforce pages with enabled. Clickjacking is also known as a user interface redress attack.
standard headers
Warning: If you use custom Visualforce pages within a frame or iframe,
you sometimes see a blank page or the page displays without the
frame. For example, Visualforce pages in a page layout don’t function
when clickjack protection is on.
561
Set Up and Maintain Your Salesforce Organization Session Security
Field Description
Enable clickjack protection for Protects against clickjack attacks on your Visualforce pages with headers
customer Visualforce pages with disabled when setting showHeader="false" on the page. Clickjacking
headers disabled is also known as a user interface redress attack.
Enable CSRF protection on GET Protects against Cross Site Request Forgery (CSRF) attacks by modifying
requests on non-setup pages non-Setup pages. Non-Setup pages include a random string of characters in
the URL parameters or as a hidden form field. With every GET and POST request,
Enable CSRF protection on POST
the application checks the validity of this string of characters. The application
requests on non-setup pages
doesn’t execute the command unless the value found matches the expected
value. This setting is selected by default for all organizations.
Enable XSS protection Protects against cross-site scripting attacks. If a reflected cross-site scripting
attack is detected, the browser shows a blank page with no content.
Enable Content Sniffing Prevents the browser from inferring the MIME type from the document
protection content. It also prevents the browser from executing malicious files (JavaScript,
Stylesheet) as dynamic content.
Logout URL Redirects users to a specific page after they log out of Salesforce, such as an
authentication provider’s page or a custom-branded page. This URL is used
only if no logout URL is specified in the identity provider, SAML single sign-on,
or external authentication provider settings. If no value is specified for Logout
URL, the default is https://login.salesforce.com, unless
MyDomain is enabled. If My Domain is enabled, the default is
https://customdomain.my.salesforce.com.
3. Click Save.
562
Set Up and Maintain Your Salesforce Organization Session Security
Note: The security level for a SAML session can also be specified using the SessionLevel attribute of the SAML assertion
sent by the identity provider. The attribute can take one of two values, STANDARD or HIGH_ASSURANCE.
Warning: Raising the session level to high assurance by redirecting the user to complete two-factor authentication is not a
supported action in Lightning Experience. If your org has Lightning Experience enabled, and you set a policy that requires a high
assurance session to access reports and dashboards, Lightning Experience users with a standard assurance session are blocked
from reports and dashboards. Also, they don’t see the icons for these resources in the navigation menu. As a workaround, users
with a standard assurance session can log out and log in again using an authentication method that is defined as high assurance
by their org. Then they have access to reports and dashboards. Or, they can switch to Salesforce Classic, where they’re prompted
to raise the session level when they attempt to access reports and dashboards.
To set a High Assurance required policy for accessing a connected app:
1. From Setup, enter Connected Apps in the Quick Find box, then select the option for managing connected apps.
2. Click Edit next to the connected app.
3. Select High Assurance session required.
4. Select one of the actions presented.
5. Click Save.
To set a High Assurance required policy for accessing reports and dashboards:
1. From Setup, enter Access Policies in the Quick Find box, then select Access Policies.
2. Select High Assurance session required.
3. Select one of the actions presented.
4. Click Save.
Session levels have no impact on resources in the app other than connected apps, reports, and dashboards for which explicit security
policies have been defined.
SEE ALSO:
Session Security
Identity Verification History
563
Set Up and Maintain Your Salesforce Organization Session Security
Note: Who Sees What: Organization Access (Salesforce Classic) Available in: both Salesforce
Classic and Lightning
Watch how you can restrict login through IP ranges and login hours. Experience
To help protect your organization’s data from unauthorized access, you can specify a list of IP Available in all editions
addresses from which users can log in without receiving a login challenge. However, this does not
restrict access, entirely, for users outside of the Trusted IP Range. After these users complete the USER PERMISSIONS
login challenge (usually by entering a code sent to their mobile device or email address), they can
log in. To view network access:
• “Login Challenge
1. From Setup, enter Network Access in the Quick Find box, then select Network
Enabled”
Access.
To change network access:
2. Click New. • “Manage IP Addresses”
3. Enter a valid IP address in the Start IP Address field and a higher IP address in the
End IP Address field.
The start and end addresses define the range of allowable IP addresses from which users can log in, including the start and end
values. If you want to allow logins from a single IP address, enter the same address in both fields.
The start and end IP addresses must be in an IPv4 range and include no more than 33,554,432 addresses (225, a /7 CIDR block).
4. Optionally, enter a description for the range. For example, if you maintain multiple ranges, enter details about the part of your network
that corresponds to this range.
5. Click Save.
Note: For organizations that were activated before December 2007, Salesforce automatically populated your organization’s
trusted IP address list in December 2007, when this feature was introduced. The IP addresses from which trusted users had already
accessed Salesforce during the past six months were added.
SEE ALSO:
Session Security
Restrict Where and When Users Can Log In to Salesforce
Security Implementation Guide
User Sessions
Monitor and protect your Salesforce org by reviewing active sessions and session details on the
EDITIONS
User Session Information page. You can create custom list views, view details about a user associated
with a specific session, and easily end suspicious sessions. Salesforce admins can view all user Available in: both Salesforce
sessions for an org; non-admins see only their own sessions. Classic and Lightning
When you manually end a user’s session by clicking the Remove button, the user must log in again Experience
to the organization. Available in all editions
The following table contains information about the fields you can view on this page. Due to the
nature of geolocation technology, the accuracy of geolocation fields (for example, country, city,
postal code) may vary.
564
Set Up and Maintain Your Salesforce Organization Session Security
Field Description
City The city where the user’s IP address is physically located. This value is not localized.
Country The country where the user’s IP address is physically located. This value is not localized.
Country Code The ISO 3166 code for the country where the user’s IP address is physically located. This value is not
localized. For more information, see Country Codes - ISO 3166.
Created The date and time stamp of when the session began.
Location The approximate location of the IP address from where the user logged in. To show more geographic
information, such as approximate city and postal code, create a custom view to include those fields.
This value is not localized.
Login Type The type of login associated with the session. Some login types include Application, SAML, and Portal.
Parent Session ID If a session has a parent, this ID is the parent’s unique ID.
Postal Code The postal code where the user’s IP address is physically located. This value is not localized.
Session Type The type of session the user is logged in to. For example, common ones are UI, Content, API, and
Visualforce.
Subdivision The name of the subdivision where the user’s IP address is physically located. This value is not localized.
Username The username used when logged in to the session. To view the user’s profile page, click the username.
Updated The date and time stamp of the last session update due to activity. For example, during a UI session,
users make frequent changes to records and other data as they work. With each change, both the
Updated and Valid Until date and time stamps are refreshed.
Valid Until If you don’t end the session manually, the date and time stamp of when the session automatically
expires.
SEE ALSO:
The Elements of User Authentication
Understanding Session Types
565
Set Up and Maintain Your Salesforce Organization Session Security
Session types indicate the type of session a user is utilizing to access an organization. Session types Available in all editions
can be persistent or temporary and accessed via the user interface, API, or other methods, such as
an OAuth authentication process.
The following table describes the session types.
APIOnlyUser Created to enable a password reset in the user interface for API-only users.
ChatterNetworksAPIOnly Created when using the Chatter Networks or Chatter Communities API.
OauthApprovalUI A session that only allows access to the OAuth approval page.
Oauth2 Created via OAuth flows. For example, if you use OAuth authentication for a connected app,
this type of session is created.
SitePreview A session that is initiated when an internal canvas app is invoked. This will always be a child
session with a UI parent session.
SubstituteUser A session created when one user logs in via another user. For example, if an administrator logs
in as another user, a SubstituteUser session is created.
TempContentExchange A temporary user interface session to switch to the content domain, such as the user interface
into which users type in their credentials.
TempOauthAccessTokenFrontdoor A temporary session via the OAuth access token assertion flow that cannot be refreshed and
must be mapped to a regular session type.
TempUIFrontdoor A temporary session that cannot be refreshed and must be mapped to a regular session type.
UserSite Initiated when a canvas application is invoked. Always a child session with a UI parent session.
566
Set Up and Maintain Your Salesforce Organization Activations
SEE ALSO:
The Elements of User Authentication
User Sessions
Activations
Activation tracks information about devices from which users have verified their identity. Salesforce
EDITIONS
prompts users to verify their identity when they access Salesforce from an unrecognized browser
or application. Identity verification adds an extra layer of security on top of username and password Available in: Both Salesforce
authentication. The Activations page lists the login IP addresses and client browsers used. Classic and Lightning
When a user logs in from outside a trusted IP range and uses a browser or app we don’t recognize, Experience
the user is challenged to verify identity. We use the highest-priority verification method available Available in all editions
for each user. In order of priority, the methods are:
1. Verification via push notification or location-based automated verification with the Salesforce
Authenticator mobile app (version 2 or later) connected to the user’s account.
2. Verification via a U2F security key registered with the user’s account.
3. Verification code generated by a mobile authenticator app connected to the user’s account.
4. Verification code sent via SMS to the user’s verified mobile phone.
5. Verification code sent via email to the user’s email address.
After identity verification is successful, the user doesn’t have to verify identity again from that browser or app, unless the user:
• Manually clears browser cookies, sets the browser to delete cookies, or browses in private or incognito mode
• Deselects Don’t ask again on the identity verification page
The Activations page in Setup lists the login IP addresses and client browser information of devices from which users have verified their
identity. You can revoke the browser activation status for one, many, or all users.
For example, a user reports a lost device and is issued a new one. You can revoke the activation status of the browser on the lost device
so that anyone attempting to access the org from that device has to verify their identity. This identity verification adds a layer of security
while allowing users to stay productive.
Users can view their own Activations page to check their login IP addresses and client browser information. End users can revoke the
activation status only for their own activated browsers.
For example, a user logs in to the org. On the user’s Activations page, several different browsers are activated, but the user has only
logged in from a single browser on a work laptop. The user immediately revokes the activation status of those browsers the user doesn’t
recognize. Because this user is challenged for identity verification using a code sent via SMS to the user’s mobile device, anyone else
who tries to log in from one of the deactivated browsers can’t get the texted verification code. Without the code, the hacker fails the
identity verification challenge. The user can then report the potential security breach.
567
Set Up and Maintain Your Salesforce Organization Authenticate Users
IN THIS SECTION:
Use Activations
View your users’ activations and revoke activation status to prevent security breaches.
SEE ALSO:
Use Activations
Identity Verification History
Use Activations
View your users’ activations and revoke activation status to prevent security breaches.
EDITIONS
To see login IP and browser information about devices from which users have verified their identity,
from Setup, enter Activations in the Quick Find box, then select Activations. Available in: Both Salesforce
Classic and Lightning
You can revoke activation status by selecting one or more entries in the Activated Client Browser
Experience
list, clicking Remove, and confirming the action. Users can view and revoke only their own activated
browsers. A user who logs in from a deactivated browser is prompted to verify identity, unless the Available in all editions
login IP address is within a trusted IP range.
Note: When a user deselects the Don’t ask again option that appears on the identity verification page, the browser isn’t activated.
Advise your users to deselect this option whenever they log in from a public or shared device.
SEE ALSO:
Activations
Identity Verification History
Authenticate Users
Authentication means preventing unauthorized access to your organization or its data by making sure each logged in user is who they
say they are.
IN THIS SECTION:
The Elements of User Authentication
Salesforce provides a variety of ways to authenticate users. Build a combination of authentication methods that fits the needs of
your organization and your users' use patterns.
Configure User Authentication
Choose login settings to ensure that your users are who they say they are.
568
Set Up and Maintain Your Salesforce Organization Authenticate Users
IN THIS SECTION:
Single Sign-On
Salesforce has its own system of user authentication, but some companies prefer to use an existing single sign-on capability to
simplify and standardize their user authentication.
Network-Based Security
Network-based security limits where users can log in from, and when they can log in. This is different from user authentication, which
only determines who can log in. Use network-based security to limit the window of opportunity for an attacker and to make it more
difficult for an attacker to use stolen credentials.
CAPTCHA Security for Data Exports
By request, Salesforce can require users to pass a simple text-entry user verification test to export data from Salesforce. This type of
network-based security helps prevent malicious users from accessing your organization’s data, and can reduce the risk of automated
attacks.
Restrict Where and When Users Can Log In to Salesforce
You can restrict the hours during which users can log in and the range of IP addresses from which they can log in and access
Salesforce. If IP address restrictions are defined for a user’s profile and a login originates from an unknown IP address, Salesforce does
not allow the login. These restrictions help protect your data from unauthorized access and phishing attacks.
Two-Factor Authentication
As a Salesforce admin, you can enhance your org’s security by requiring a second level of authentication for every user login. You
can also require two-factor authentication when a user meets certain criteria, such as attempting to view reports or access a connected
app.
Custom Login Flows
Login flows allow administrators to build post-authentication processes to match their business practices, associate the flow with
a user profile, and send the user through that flow when logging in. Use login flows to collect registration information from users,
provide a terms of service acceptance form, prompt the user for a second factor of authentication, and other customization.
SEE ALSO:
Single Sign-On
Network-Based Security
CAPTCHA Security for Data Exports
User Sessions
Single Sign-On
Salesforce has its own system of user authentication, but some companies prefer to use an existing single sign-on capability to simplify
and standardize their user authentication.
You have two options to implement single sign-on—federated authentication using Security Assertion Markup Language (SAML) or
delegated authentication.
• Federated authentication using Security Assertion Markup Language (SAML) lets you send authentication and authorization data
between affiliated but unrelated web services. You can log in to Salesforce from a client app. Salesforce enables federated
authentication for your org automatically.
• Delegated authentication SSO integrates Salesforce with an authentication method that you choose. You can integrate authentication
with your LDAP (Lightweight Directory Access Protocol) server or use a token instead of a password for authentication. You manage
delegated authentication at the permission level, not at the org level, giving you more flexibility. With permissions, you can require
some to use delegated authentication while others use their Salesforce-managed password.
569
Set Up and Maintain Your Salesforce Organization Authenticate Users
Identity Providers
An identity provider is a trusted provider that lets you use single sign-on to access other websites. A service provider is a website that hosts
applications. You can enable Salesforce as an identity provider and define one or more service providers. Your users can then access
other applications directly from Salesforce using single sign-on. Single sign-on can be a great help to your users: instead of having to
remember many passwords, they only have to remember one. Plus, the applications can be added as tabs to your Salesforce organization,
which means users don’t have to switch between programs.
For more information, see “Identity Providers and Service Providers” in the Salesforce online help.
SEE ALSO:
The Elements of User Authentication
Network-Based Security
Network-based security limits where users can log in from, and when they can log in. This is different from user authentication, which
only determines who can log in. Use network-based security to limit the window of opportunity for an attacker and to make it more
difficult for an attacker to use stolen credentials.
SEE ALSO:
The Elements of User Authentication
SEE ALSO:
The Elements of User Authentication
570
Set Up and Maintain Your Salesforce Organization Authenticate Users
Login Hours
For each profile, you can set the hours when users can log in. See:
• View and Edit Login Hours in the Enhanced Profile User Interface
• View and Edit Login Hours in the Original Profile User Interface
571
Set Up and Maintain Your Salesforce Organization Authenticate Users
2. If the user has the “Two-Factor Authentication for User Interface Logins” permission, Salesforce prompts the user for a second form
of authentication upon logging in. If the user’s account isn’t already connected to a mobile authenticator app such as Salesforce
Authenticator, Salesforce first prompts the user to connect the app.
3. If the user has the “Two-Factor Authentication for API Logins” permission and has connected an authenticator app to the account,
Salesforce returns an error if the user uses the standard security token. The user has to enter a verification code (time-based one-time
password) generated by the authenticator app instead.
4. Salesforce then checks whether the user’s profile has IP address restrictions. If IP address restrictions are defined for the user’s profile,
logins from an undesignated IP address are denied, and logins from a specified IP address are allowed. If the Enforce login IP ranges
on every request session setting is enabled, the IP address restrictions are enforced for each page request, including requests from
client applications.
5. If profile-based IP address restrictions are not set, Salesforce checks whether the user is logging in from a device used to access
Salesforce before.
• If the user’s login is from a device and browser that Salesforce recognizes, the login is allowed.
• If the user’s login is from an IP address in your org’s trusted IP address list, the login is allowed.
• If the user’s login is not from a trusted IP address or a device and browser Salesforce recognizes, the login is blocked.
Whenever a login is blocked or returns an API login fault, Salesforce has to verify the user’s identity:
• For access via the user interface, the user is prompted to verify using Salesforce Authenticator (version 2 or later), or to enter a
verification code.
Note: Users aren’t asked for a verification code the first time they log in to Salesforce.
• For access via the API or a client, users must add their security token to the end of their password to log in. Or, if “Two-Factor
Authentication on API Logins” is set on the user profile, users enter a verification code generated by an authenticator app.
A security token is an automatically generated key from Salesforce. For example, if a user’s password is mypassword, and the
security token is XXXXXXXXXX, the user must enter mypasswordXXXXXXXXXX to log in. Or some client applications have a
separate field for the security token.
Users can obtain their security token by changing their password or resetting their security token via the Salesforce user interface.
When a user changes a password or resets a security token, Salesforce sends a new security token to the email address on the user’s
Salesforce record. The security token is valid until the user resets the security token, changes a password, or has a password reset.
Tip: Before you access Salesforce from a new IP address, we recommend that you get your security token from a trusted
network using Reset My Security Token.
572
Set Up and Maintain Your Salesforce Organization Authenticate Users
• These events count toward the number of times users can attempt to log in with an invalid password before getting locked out of
Salesforce, as defined in your org’s login lockout settings.
– Each time users are prompted to verify identity
– Each time users incorrectly add the security token or verification code to the end of their password to log in to Salesforcevia the
API or a client
IN THIS SECTION:
Restrict Login IP Ranges in the Enhanced Profile User Interface
Control login access at the user level by specifying a range of allowed IP addresses on a user’s profile. When you define IP address
restrictions for a profile, a login from any other IP address is denied.
Restrict Login IP Addresses in the Original Profile User Interface
Control login access at the user level by specifying a range of allowed IP addresses on a user’s profile. When you define IP address
restrictions for a profile, a login from any other IP address is denied.
View and Edit Login Hours in the Enhanced Profile User Interface
For each profile, you can specify the hours when users can log in.
View and Edit Login Hours in the Original Profile User Interface
Specify the hours when users can log in based on the user profile.
Set Trusted IP Ranges for Your Organization
Trusted IP Ranges define a list of IP addresses from which users can log in without receiving a login challenge for verification of their
identity, such as a code sent to their mobile phone.
Two-Factor Authentication
As a Salesforce admin, you can enhance your org’s security by requiring a second level of
EDITIONS
authentication for every user login. You can also require two-factor authentication when a user
meets certain criteria, such as attempting to view reports or access a connected app. Available in: Both Salesforce
Classic and Lightning
Salesforce Identity Verification Experience
When a user logs in from outside a trusted IP range and uses a browser or app we don’t recognize, Available in: Group,
the user is challenged to verify identity. We use the highest-priority verification method available Professional, Enterprise,
for each user. In order of priority, the methods are: Performance, Unlimited,
Developer, and Contact
1. Verification via push notification or location-based automated verification with the Salesforce Manager Editions
Authenticator mobile app (version 2 or later) connected to the user’s account.
2. Verification via a U2F security key registered with the user’s account.
3. Verification code generated by a mobile authenticator app connected to the user’s account.
4. Verification code sent via SMS to the user’s verified mobile phone.
5. Verification code sent via email to the user’s email address.
After identity verification is successful, the user doesn’t have to verify identity again from that browser or app, unless the user:
• Manually clears browser cookies, sets the browser to delete cookies, or browses in private or incognito mode
• Deselects Don’t ask again on the identity verification page
573
Set Up and Maintain Your Salesforce Organization Authenticate Users
SEE ALSO:
Set Two-Factor Authentication Login Requirements
Restrict Where and When Users Can Log In to Salesforce
Custom Login Flows
Connect Salesforce Authenticator (Version 2 or Later) to Your Account for Identity Verification
Verify Your Identity with a One-Time Password Generator App or Device
Disconnect Salesforce Authenticator (Version 2 or Later) from a User’s Account
Disconnect a User’s One-Time Password Generator App
Generate a Temporary Identity Verification Code
Expire a Temporary Verification Code
Delegate Two-Factor Authentication Management Tasks
Identity Verification History
574
Set Up and Maintain Your Salesforce Organization Authenticate Users
Login flows support all the Salesforce user interface authentication methods, including username and password, delegated authentication,
SAML single sign-on, and social sign-on through a third-party authentication provider. You can apply login flows to Salesforce organizations,
communities, and portals.
Note: You can’t apply login flows to API logins or when sessions are passed to the UI through frontdoor.jsp from a non-UI
login process. Only flows of type Flow are supported.
IN THIS SECTION:
Create a Login Flow
Use the Cloud Flow Designer to build a login flow process, then associate the finished flow with a profile.
Connect a Login Flow to a Profile
After you create a login flow in Flow Designer and activate the flow, you associate it with a profile in your organization. Users with
that profile are then directed to the login flow.
575
Set Up and Maintain Your Salesforce Organization Authenticate Users
Note: Do not set the Login IP Ranges directly in the user profile. The Login IP Ranges set directly in a profile restrict access to
the organization for users of that profile who are outside that range, entirely, and those users cannot enter the login flow
process.
The flow should contain the following.
a. A new Apex class defining an Apex plugin that implements from the (Process.Plugin) and uses the
Auth.SessionManagement class to access the time-based one-time password (TOTP) methods and services. The new
Apex class for the plugin generates a time-based key with a quick response (QR) code to validate the TOTP provided by the user
against the TOTP generated by Salesforce.
b. A screen element to scan a QR code.
c. A decision element to handle when the token is valid and when the token is invalid.
Within the flow, you can set input variables. If you use the following specified names, these values will be populated for the flow
when it starts.
LoginFlow_LoginIpAddress The user’s IP address used during login, which can change after
authentication
576
Set Up and Maintain Your Salesforce Organization Authenticate Users
During the flow, you can assign the following, pre-defined variables values for specific behavior.
Note: The flow loads these values only after a UI screen is refreshed (a user clicking a button does not load the values, a new
screen must be added to the flow for the values to be loaded).
LoginFlow_ForceLogout A Boolean value. Set this variable to true to log the user out,
immediately, and force the user to exit the flow.
SEE ALSO:
Custom Login Flows
https://developer.salesforce.com/page/Login-Flows
Connect a Login Flow to a Profile
After you associate the login flow, you can edit or delete the flows listed on this login flows page.
577
Set Up and Maintain Your Salesforce Organization Authenticate Users
You can associate a login flow with one or more profiles. However, a profile can’t be connected to more than one login flow.
SEE ALSO:
Custom Login Flows
Create a Login Flow
IN THIS SECTION:
Restrict Where and When Users Can Log In to Salesforce
You can restrict the hours during which users can log in and the range of IP addresses from which they can log in and access
Salesforce. If IP address restrictions are defined for a user’s profile and a login originates from an unknown IP address, Salesforce does
not allow the login. These restrictions help protect your data from unauthorized access and phishing attacks.
Set Password Policies
Improve your Salesforce org security with password protection. You can set password history, length, and complexity requirements
along with other values. In addition, you can specify what to do if a user forgets their password.
Expire Passwords for All Users
As an administrator, you can expire passwords for all users any time you want to enforce extra security for your organization. After
expiring passwords, all users are prompted to reset their password the next time they log in.
Modify Session Security Settings
You can modify session security settings to specify session connection type, timeout settings, and IP address ranges to protect against
malicious attacks and more.
Enable Lightning Login for Password-Free Logins
Say goodbye to the hassle of weak passwords, forgotten passwords, and locked-out accounts. Give your users the enhanced speed,
convenience, and security of password-free logins. Enable Lightning Login, assign the required permission to your users, and
encourage them to individually enroll in Lightning Login.
Create a Login Flow
Use the Cloud Flow Designer to build a login flow process, then associate the finished flow with a profile.
Connect a Login Flow to a Profile
After you create a login flow in Flow Designer and activate the flow, you associate it with a profile in your organization. Users with
that profile are then directed to the login flow.
Set Up Two-Factor Authentication
Admins enable two-factor authentication through permissions or profile settings. Users register devices for two-factor
authentication—such as mobile authenticator apps or U2F security keys—through their own personal settings.
578
Set Up and Maintain Your Salesforce Organization Authenticate Users
Login Hours
For each profile, you can set the hours when users can log in. See:
• View and Edit Login Hours in the Enhanced Profile User Interface
• View and Edit Login Hours in the Original Profile User Interface
579
Set Up and Maintain Your Salesforce Organization Authenticate Users
3. If the user has the “Two-Factor Authentication for API Logins” permission and has connected an authenticator app to the account,
Salesforce returns an error if the user uses the standard security token. The user has to enter a verification code (time-based one-time
password) generated by the authenticator app instead.
4. Salesforce then checks whether the user’s profile has IP address restrictions. If IP address restrictions are defined for the user’s profile,
logins from an undesignated IP address are denied, and logins from a specified IP address are allowed. If the Enforce login IP ranges
on every request session setting is enabled, the IP address restrictions are enforced for each page request, including requests from
client applications.
5. If profile-based IP address restrictions are not set, Salesforce checks whether the user is logging in from a device used to access
Salesforce before.
• If the user’s login is from a device and browser that Salesforce recognizes, the login is allowed.
• If the user’s login is from an IP address in your org’s trusted IP address list, the login is allowed.
• If the user’s login is not from a trusted IP address or a device and browser Salesforce recognizes, the login is blocked.
Whenever a login is blocked or returns an API login fault, Salesforce has to verify the user’s identity:
• For access via the user interface, the user is prompted to verify using Salesforce Authenticator (version 2 or later), or to enter a
verification code.
Note: Users aren’t asked for a verification code the first time they log in to Salesforce.
• For access via the API or a client, users must add their security token to the end of their password to log in. Or, if “Two-Factor
Authentication on API Logins” is set on the user profile, users enter a verification code generated by an authenticator app.
A security token is an automatically generated key from Salesforce. For example, if a user’s password is mypassword, and the
security token is XXXXXXXXXX, the user must enter mypasswordXXXXXXXXXX to log in. Or some client applications have a
separate field for the security token.
Users can obtain their security token by changing their password or resetting their security token via the Salesforce user interface.
When a user changes a password or resets a security token, Salesforce sends a new security token to the email address on the user’s
Salesforce record. The security token is valid until the user resets the security token, changes a password, or has a password reset.
Tip: Before you access Salesforce from a new IP address, we recommend that you get your security token from a trusted
network using Reset My Security Token.
580
Set Up and Maintain Your Salesforce Organization Authenticate Users
– Each time users incorrectly add the security token or verification code to the end of their password to log in to Salesforcevia the
API or a client
IN THIS SECTION:
Restrict Login IP Ranges in the Enhanced Profile User Interface
Control login access at the user level by specifying a range of allowed IP addresses on a user’s profile. When you define IP address
restrictions for a profile, a login from any other IP address is denied.
Restrict Login IP Addresses in the Original Profile User Interface
Control login access at the user level by specifying a range of allowed IP addresses on a user’s profile. When you define IP address
restrictions for a profile, a login from any other IP address is denied.
View and Edit Login Hours in the Enhanced Profile User Interface
For each profile, you can specify the hours when users can log in.
View and Edit Login Hours in the Original Profile User Interface
Specify the hours when users can log in based on the user profile.
Set Trusted IP Ranges for Your Organization
Trusted IP Ranges define a list of IP addresses from which users can log in without receiving a login challenge for verification of their
identity, such as a code sent to their mobile phone.
581
Set Up and Maintain Your Salesforce Organization Authenticate Users
ranges allowed for the user’s profile. To prevent bypassing IP definitions on a profile, disable Salesforce Mobile Classic on
page 841 for that user.
5. Optionally enter a description for the range. If you maintain multiple ranges, use the Description field to provide details, like which
part of your network corresponds to this range.
Note: You can further restrict access to Salesforce to only those IPs in Login IP Ranges. To enable this option, in Setup, enter
Session Settings in the Quick Find box, then select Session Settings and select Enforce login IP ranges on every
request. This option affects all user profiles that have login IP restrictions.
4. Optionally enter a description for the range. If you maintain multiple ranges, use the Description field to provide details, such as
which part of your network corresponds to this range.
5. Click Save.
Note: Cache settings on static resources are set to private when accessed via a Force.com site whose guest user's profile has
restrictions based on IP range or login hours. Sites with guest user profile restrictions cache static resources only within the browser.
Also, if a previously unrestricted site becomes restricted, it can take up to 45 days for the static resources to expire from the Salesforce
cache and any intermediate caches.
582
Set Up and Maintain Your Salesforce Organization Authenticate Users
Note: You can further restrict access to Salesforce to only those IPs in Login IP Ranges. To enable this option, in Setup, enter
Session Settings in the Quick Find box, then select Session Settings and select Enforce login IP ranges on every
request. This option affects all user profiles that have login IP restrictions.
SEE ALSO:
Set Trusted IP Ranges for Your Organization
View and Edit Login Hours in the Original Profile User Interface
Work in the Original Profile Interface
View and Edit Login Hours in the Enhanced Profile User Interface
For each profile, you can specify the hours when users can log in.
EDITIONS
1. From Setup, enter Profiles in the Quick Find box, then select Profiles.
Available in: Salesforce
2. Select a profile and click its name.
Classic and Lightning
3. In the profile overview page, scroll down to Login Hours and click Edit. Experience
4. Set the days and hours when users with this profile can log in to the organization. Available in: Professional,
To allow users to log in at any time, click Clear all times. To prohibit users from using the Enterprise, Performance,
system on a specific day, set the start and end times to the same value. Unlimited, Developer, and
Database.com Editions
If users are logged in when their login hours end, they can continue to view their current page,
but they can’t take any further action. Custom Profiles available in:
Professional, Enterprise,
Note: The first time login hours are set for a profile, the hours are based on the organization’s Performance, Unlimited,
Default Time Zone as specified on the Company Information page in Setup. After and Developer Editions
that, any changes to the organization’s Default Time Zone won’t change the time
zone for the profile’s login hours. As a result, the login hours are always applied at those exact
USER PERMISSIONS
times even if a user is in a different time zone or if the organization’s default time zone is
changed. To view login hour settings:
Depending on whether you’re viewing or editing login hours, the hours may appear differently. • “View Setup and
Configuration”
On the Login Hours edit page, hours are shown in your specified time zone. On the profile
overview page, they appear in the organization’s original default time zone. To edit login hour settings:
• “Manage Profiles and
Permission Sets”
SEE ALSO:
Enhanced Profile User Interface Overview
583
Set Up and Maintain Your Salesforce Organization Authenticate Users
View and Edit Login Hours in the Original Profile User Interface
Specify the hours when users can log in based on the user profile.
EDITIONS
1. From Setup, enter Profiles in the Quick Find box, then select Profiles, and select a
profile. Available in: Salesforce
Classic and Lightning
2. Click Edit in the Login Hours related list.
Experience
3. Set the days and hours when users with this profile can use the system.
Available in: Enterprise,
To allow users to log in at any time, click Clear All Times. To prohibit users from using the Performance, Unlimited,
system on a specific day, set the start and end times to the same value. Developer, and
If users are logged in when their login hours end, they can continue to view their current page, Database.com Editions
but they can’t take any further action.
Note: The first time login hours are set for a profile, the hours are based on the organization’s To set login hours:
Default Time Zone as specified on the Company Information page in Setup. After • “Manage Profiles and
Permission Sets”
that, any changes to the organization’s Default Time Zone won’t change the time
zone for the profile’s login hours. As a result, the login hours are always applied at those exact
times even if a user is in a different time zone or if the organization’s default time zone is
changed.
Depending on whether you’re viewing or editing login hours, the hours appear differently.
On the profile detail page, hours are shown in your specified time zone. On the Login Hours
edit page, they appear in the organization’s default time zone.
SEE ALSO:
Work in the Original Profile Interface
Restrict Login IP Addresses in the Original Profile User Interface
Note: Who Sees What: Organization Access (Salesforce Classic) Available in: both Salesforce
Classic and Lightning
Watch how you can restrict login through IP ranges and login hours. Experience
To help protect your organization’s data from unauthorized access, you can specify a list of IP Available in all editions
addresses from which users can log in without receiving a login challenge. However, this does not
restrict access, entirely, for users outside of the Trusted IP Range. After these users complete the USER PERMISSIONS
login challenge (usually by entering a code sent to their mobile device or email address), they can
log in. To view network access:
• “Login Challenge
1. From Setup, enter Network Access in the Quick Find box, then select Network
Enabled”
Access.
To change network access:
2. Click New. • “Manage IP Addresses”
3. Enter a valid IP address in the Start IP Address field and a higher IP address in the
End IP Address field.
584
Set Up and Maintain Your Salesforce Organization Authenticate Users
The start and end addresses define the range of allowable IP addresses from which users can log in, including the start and end
values. If you want to allow logins from a single IP address, enter the same address in both fields.
The start and end IP addresses must be in an IPv4 range and include no more than 33,554,432 addresses (225, a /7 CIDR block).
4. Optionally, enter a description for the range. For example, if you maintain multiple ranges, enter details about the part of your network
that corresponds to this range.
5. Click Save.
Note: For organizations that were activated before December 2007, Salesforce automatically populated your organization’s
trusted IP address list in December 2007, when this feature was introduced. The IP addresses from which trusted users had already
accessed Salesforce during the past six months were added.
SEE ALSO:
Session Security
Restrict Where and When Users Can Log In to Salesforce
Security Implementation Guide
Field Description
USER PERMISSIONS
User passwords expire in The length of time until user passwords expire To set password policies:
and must be changed. The default is 90 days. • “Manage Password
This setting isn’t available for Self-Service Policies”
portals. This setting doesn’t apply to users with
the “Password Never Expires” permission.
If you change the User passwords
expire in setting, the change affects a
user’s password expiration date if that user’s
new expiration date is earlier than the old
expiration date or if you remove an expiration
by selecting Never expires.
585
Set Up and Maintain Your Salesforce Organization Authenticate Users
Field Description
unique password. Password history is not saved until you set this
value. The default is 3 passwords remembered. You
cannot select No passwords remembered unless you
select Never expires for the User passwords
expire in field. This setting isn’t available for Self-Service
portals.
Minimum password length The minimum number of characters required for a password.
When you set this value, existing users aren’t affected until the
next time they change their passwords. The default is 8
characters.
Password complexity requirement The requirement for which types of characters must be used in
a user’s password.
Complexity levels:
• No restriction—allows any password value and is
the least secure option.
• Must mix alpha and numeric
characters—requires at least one alphabetic character
and one number, which is the default.
• Must mix alpha, numeric, and special
characters—requires at least one alphabetic character,
one number, and one of the following special characters: !
# $ % - _ = + < >.
• Must mix numbers and uppercase and
lowercase letters—requires at least one number,
one uppercase letter, and one lowercase letter.
• Must mix numbers, uppercase and
lowercase letters, and special
characters—requires at least one number, one
uppercase letter, and one lowercase letter, and one of the
following special characters: ! # $ % - _ = + < >.
Password question requirement The values are Cannot contain password, meaning
that the answer to the password hint question cannot contain
the password itself; or None, the default, for no restrictions on
the answer. The user’s answer to the password hint question is
required. This setting is not available for Self-Service portals,
Customer Portals, or partner portals.
Maximum invalid login attempts The number of login failures allowed for a user before they
become locked out. This setting isn’t available for Self-Service
portals.
586
Set Up and Maintain Your Salesforce Organization Authenticate Users
Field Description
Lockout effective period The duration of the login lockout. The default is 15 minutes. This
setting isn’t available for Self-Service portals.
Note: If users are locked out, they must wait until the
lockout period expires. Alternatively, a user with the “Reset
User Passwords and Unlock Users” permission can unlock
them from Setup with the following procedure:
a. Enter Users in the Quick Find box.
b. Select Users.
c. Selecting the user.
d. Click Unlock.
This button is only available when a user is locked
out.
Obscure secret answer for password resets This feature hides answers to security questions as you type. The
default is to show the answer in plain text.
Require a minimum 1 day password lifetime When you select this option, a password can’t be changed more
than once in a 24-hour period.
Note: This setting is not available for Self-Service portals, Customer Portals, or partner portals.
Field Description
Message If set, this message appears in the “We can’t reset your password”
email. Users receive this email when they lock themselves out
by trying to reset their password too many times. The text also
appears at the bottom of the Answer Your Security Question
page when users reset their passwords.
You can tailor the text to your organization by adding the name
of your internal help desk or a system administrator. For the email,
the message appears only for accounts that need an
administrator to reset them. Lockouts due to time restrictions
get a different system email message.
587
Set Up and Maintain Your Salesforce Organization Authenticate Users
Field Description
Help link If set, this link displays with the text defined in the Message
field. In the “We can’t reset your password” email, the URL displays
exactly as typed in the Help link field, so the user can see
where the link goes. This URL display format is a security feature,
because the user is not within a Salesforce organization.
On the Answer Your Security Question page, the Help link
URL combines with the text in the Message field to make a
clickable link. Security isn’t an issue, because the user is in a
Salesforce organization when changing passwords.
Valid protocols:
• http
• https
• mailto
4. Specify an alternative home page for users with the “API Only User” permission. After completing user management tasks such as
resetting a password, API-only users are redirected to the URL specified here, rather than to the login page.
5. Click Save.
SEE ALSO:
View and Edit Password Policies in Profiles
Passwords
588
Set Up and Maintain Your Salesforce Organization Authenticate Users
• Expire all user passwords doesn’t affect Self-Service portal users, because they aren’t direct Salesforce users.
SEE ALSO:
Passwords
Disable session timeout Determines whether the system prompts inactive users
warning popup with a timeout warning message. Users are prompted
30 seconds before timeout as specified by the
Timeout value.
Force logout on session Requires that when sessions time out for inactive users,
timeout current sessions become invalid. The browser refreshes
and returns to the login page. To access the org, the
user must log in again.
589
Set Up and Maintain Your Salesforce Organization Authenticate Users
Field Description
Lock sessions to the IP address Determines whether user sessions are locked to the IP address from which
from which they originated the user logged in, helping to prevent unauthorized persons from hijacking
a valid session.
Note: This setting can inhibit various applications and mobile devices.
Lock sessions to the domain in Associates a current UI session for a user, such as a community user, with a
which they were first used specific domain. The setting helps prevent unauthorized use of the session
ID in another domain. This setting is enabled by default for orgs created with
the Spring ’15 release or later.
Require secure connections Determines whether HTTPS is required to log in to or access Salesforce, apart
(HTTPS) from Force.com sites, which can be accessed using HTTP.
This setting is enabled by default for security reasons. This setting does not
apply to API requests. All API requests require HTTPS.
Note: The Reset Passwords for Your Users page can only be accessed
using HTTPS.
Force relogin after Login-As-User Determines whether an administrator who is logged in as another user is
returned to their previous session after logging out as the secondary user.
If the setting is enabled, an administrator must log in again to continue using
Salesforce after logging out as the user. Otherwise, the administrator is returned
to the original session after logging out as the user. This setting is enabled by
default for new orgs beginning with the Summer ’14 release.
Require HttpOnly attribute Restricts session ID cookie access. A cookie with the HttpOnly attribute is not
accessible via non-HTTP methods, such as calls from JavaScript.
Use POST requests for Sets the org to send session information using a POST request, instead of a
cross-domain sessions GET request, for cross-domain exchanges. An example of a cross-domain
exchange is when a user is using a Visualforce page. In this context, POST
requests are more secure than GET requests because POST requests keep the
590
Set Up and Maintain Your Salesforce Organization Authenticate Users
Field Description
session information in the body of the request. However, if you enable this
setting, embedded content from another domain, such as:
<img
src="https://acme.force.com/pic.jpg"/>
Enforce login IP ranges on every Restricts the IP addresses from which users can access Salesforce to only the
request IP addresses defined in Login IP Ranges. If this setting is enabled, login
IP ranges are enforced on each page request, including requests from client
applications. If this setting isn’t enabled, login IP ranges are enforced only
when a user logs in. This setting affects all user profiles that have login IP
restrictions.
Enable caching and autocomplete Allows the user’s browser to store usernames. If enabled, after initial login,
on login page usernames are auto-filled into the Username field on the login page. If the
user selected Remember me on the login page, the username persists after
the session expires or the user logs out. The username also appears on the
Switcher. This setting is selected by default for all organizations.
Enable secure and persistent Enables secure data caching in the browser to improve page reload
browser caching to improve performance by avoiding extra round trips to the server. This setting is selected
performance by default for all organizations. We don’t recommend disabling this setting,
but if your company’s policy doesn’t allow browser caching even if the data
is encrypted, you can disable it.
Enable user switching Determines whether the Switcher appears when your org’s users select their
profile picture. This setting is selected by default for all organizations. The
Enable caching and autocomplete on login page setting
must also be enabled. Deselect the Enable user switching setting
to prevent your org from appearing in Switchers on other orgs. It also prevents
your org users from seeing the Switcher when they select their profile picture.
Remember until logout Normally, usernames are cached only while a session is active or if a user
selects Remember Me. For SSO sessions, the remember option isn't available.
So, once the session expires, the username disappears from the login page
and the Switcher. By enabling Remember me until logout, the
cached usernames are deleted only if the user explicitly logs out. If the session
times out, they appear on the Switcher as inactive. This way, if the users are
on their own computer and allow a session to timeout, they can select the
username to reauthenticate. If they're on a shared computer, the username
is deleted immediately when the user logs out.
This setting applies to all your org’s users. This option isn't enabled by default.
However, we encourage you to enable it as a convenience to your users. Keep
591
Set Up and Maintain Your Salesforce Organization Authenticate Users
Field Description
this setting disabled if your org doesn't expose all your SSO or authentication
providers on your login page.
Enable the SMS method of identity Allows users to receive a one-time PIN delivered via SMS. If this setting is
confirmation selected, administrators or users must verify their mobile phone number before
taking advantage of this feature. This setting is selected by default for all
organizations.
Require security tokens for API In API version 31.0 and earlier, requires the use of security tokens for API logins
logins from callouts (API version from callouts. Examples are Apex callouts or callouts using the AJAX proxy. In
31.0 and earlier) API version 32.0 and later, security tokens are required by default.
Login IP Ranges (for Contact Manager, Specifies a range of IP addresses users must log in from (inclusive), or the login
Group, and Professional Editions) fails.
To specify a range, click New and enter a Start IP Address and End IP Address
to define the range, which includes the start and end values.
This field is not available in Enterprise, Unlimited, Performance, and Developer
Editions. In those editions, you can specify a valid Login IP Range in the user
profile settings.
Let users use a security key Allows users to use a U2F security key for two-factor authentication and identity
(U2F) verification. Instead of using Salesforce Authenticator, a one-time password
generated by an authenticator app, or one-time passwords sent by email or
SMS, users insert their registered U2F security key into a USB port to complete
verification.
Allow location-based automated Allows users to verify identity by automatically approving notifications in
verifications with Salesforce Salesforce Authenticator, whenever users are in trusted locations such as a
Authenticator home or office. If you allow automated verifications, you can allow them from
Allow only from trusted IP
any location or restrict them to only trusted IP addresses, such as your
corporate network.
addresses
Allow Lightning Login Allows users to use Lightning Login for password-free Salesforce logins, relying
on Salesforce Authenticator for identity verification.
Enable clickjack protection for Protects against clickjack attacks on setup Salesforce pages. Clickjacking is
Setup pages also known as a user interface redress attack. (Setup pages are available from
the Setup menu.)
Enable clickjack protection for Protects against clickjack attacks on non-setup Salesforce pages. Clickjacking
non-Setup Salesforce pages is also known as a user interface redress attack. Setup pages already include
protection against clickjack attacks. (Setup pages are available from the Setup
menu.) This setting is selected by default for all organizations.
Enable clickjack protection for Protects against clickjack attacks on your Visualforce pages with headers
customer Visualforce pages with enabled. Clickjacking is also known as a user interface redress attack.
standard headers
Warning: If you use custom Visualforce pages within a frame or iframe,
you sometimes see a blank page or the page displays without the
592
Set Up and Maintain Your Salesforce Organization Authenticate Users
Field Description
Enable clickjack protection for Protects against clickjack attacks on your Visualforce pages with headers
customer Visualforce pages with disabled when setting showHeader="false" on the page. Clickjacking
headers disabled is also known as a user interface redress attack.
Enable CSRF protection on GET Protects against Cross Site Request Forgery (CSRF) attacks by modifying
requests on non-setup pages non-Setup pages. Non-Setup pages include a random string of characters in
the URL parameters or as a hidden form field. With every GET and POST request,
Enable CSRF protection on POST
the application checks the validity of this string of characters. The application
requests on non-setup pages
doesn’t execute the command unless the value found matches the expected
value. This setting is selected by default for all organizations.
Enable XSS protection Protects against cross-site scripting attacks. If a reflected cross-site scripting
attack is detected, the browser shows a blank page with no content.
Enable Content Sniffing Prevents the browser from inferring the MIME type from the document
protection content. It also prevents the browser from executing malicious files (JavaScript,
Stylesheet) as dynamic content.
Logout URL Redirects users to a specific page after they log out of Salesforce, such as an
authentication provider’s page or a custom-branded page. This URL is used
only if no logout URL is specified in the identity provider, SAML single sign-on,
or external authentication provider settings. If no value is specified for Logout
URL, the default is https://login.salesforce.com, unless
MyDomain is enabled. If My Domain is enabled, the default is
https://customdomain.my.salesforce.com.
3. Click Save.
593
Set Up and Maintain Your Salesforce Organization Authenticate Users
Note: The security level for a SAML session can also be specified using the SessionLevel attribute of the SAML assertion
sent by the identity provider. The attribute can take one of two values, STANDARD or HIGH_ASSURANCE.
Warning: Raising the session level to high assurance by redirecting the user to complete two-factor authentication is not a
supported action in Lightning Experience. If your org has Lightning Experience enabled, and you set a policy that requires a high
assurance session to access reports and dashboards, Lightning Experience users with a standard assurance session are blocked
from reports and dashboards. Also, they don’t see the icons for these resources in the navigation menu. As a workaround, users
with a standard assurance session can log out and log in again using an authentication method that is defined as high assurance
by their org. Then they have access to reports and dashboards. Or, they can switch to Salesforce Classic, where they’re prompted
to raise the session level when they attempt to access reports and dashboards.
To set a High Assurance required policy for accessing a connected app:
1. From Setup, enter Connected Apps in the Quick Find box, then select the option for managing connected apps.
2. Click Edit next to the connected app.
3. Select High Assurance session required.
4. Select one of the actions presented.
5. Click Save.
To set a High Assurance required policy for accessing reports and dashboards:
1. From Setup, enter Access Policies in the Quick Find box, then select Access Policies.
2. Select High Assurance session required.
3. Select one of the actions presented.
4. Click Save.
Session levels have no impact on resources in the app other than connected apps, reports, and dashboards for which explicit security
policies have been defined.
SEE ALSO:
Session Security
Identity Verification History
594
Set Up and Maintain Your Salesforce Organization Authenticate Users
b. Confirm that a Standard session security level is appropriate for this login method.
A Lightning Login establishes a Standard security level for the user’s session. Standard is the default security level for the Username
Password method that Lightning Login typically replaces. If needed, you can change the security level to High Assurance.
3. Assign the “Lightning Login User” permission to users in the user profile (for cloned or custom profiles only) or permission set.
Lightning Login isn’t supported for external users.
Consider these points about how Lightning Login relates to other login, identity verification, and two-factor authentication features.
• You can monitor your users’ Lightning Login activity using Login History or Identity Verification History tools.
• If enrolled users attempt a Lightning Login from an unrecognized browser or device, Salesforce requires login using username and
password, along with identity verification.
• If an enrolled user previously logged in from a browser and selected Remember me, login hints on the login page show a lightning
bolt next to past usernames that are Lightning Login–enabled.
Note: For Lightning Login to display login hints properly in the Apple Safari browser, change the “Cookies and website data”
option in the browser. Advise your users to change it from “Allow from websites I visit” to “Always allows.”
• If your org sets a two-factor authentication policy for logins, the Lightning Login method satisfies the second factor requirement.
Salesforce does not separately require users with the “Two-Factor Authentication for User Interface Logins” permission to provide a
second factor.
• If your org has defined a transaction security policy that requires two-factor authentication, Lightning Login isn’t supported. Enrolled
users who attempt a Lightning Login must use log in with username and password instead.
595
Set Up and Maintain Your Salesforce Organization Authenticate Users
IN THIS SECTION:
Enroll in Lightning Login for Password-Free Logins
Enroll in Lightning Login so that you can enjoy the enhanced speed, convenience, and security of password-free logins.
Cancel a User’s Lightning Login Enrollment
Cancel a user’s Lightning Login enrollment if the user is no longer eligible to use Lightning Login.
4. At the prompt, check the Salesforce Authenticator notification on your mobile device and
approve the request.
5. At the prompt, provide your fingerprint or PIN on the mobile device.
Now you’re ready to use this login method.
1. Click—On the Salesforce login page, look for the lightning bolt next to your Lightning Login–enabled username, and click your
username. If the login page asks for both username and password, you can enter only your username, skip the password field, and
click Log In.
2. Tap—On your mobile device, tap the notification from the Salesforce Authenticator app.
3. Touch—Verify your identity with your fingerprint or PIN. Presto! You’re logged in.
While enrolled, if you’re ever without your mobile device, you can still log in with your username and password. If you disconnect
Salesforce Authenticator from your Salesforce account, Lightning Login isn’t allowed until you connect Salesforce Authenticator again.
You can cancel your enrollment at any time, and so can an admin.
596
Set Up and Maintain Your Salesforce Organization Authenticate Users
USER PERMISSIONS
597
Set Up and Maintain Your Salesforce Organization Authenticate Users
For example, you can design a custom IP-based two-factor authentication flow that requires a second factor of authentication only
if the user is logging in from outside of the corporate Trusted IP Range. (To find or set the Trusted IP Range, from Setup, enter
Network Access in the Quick Find box, then select Network Access.)
Note: Do not set the Login IP Ranges directly in the user profile. The Login IP Ranges set directly in a profile restrict access to
the organization for users of that profile who are outside that range, entirely, and those users cannot enter the login flow
process.
The flow should contain the following.
a. A new Apex class defining an Apex plugin that implements from the (Process.Plugin) and uses the
Auth.SessionManagement class to access the time-based one-time password (TOTP) methods and services. The new
Apex class for the plugin generates a time-based key with a quick response (QR) code to validate the TOTP provided by the user
against the TOTP generated by Salesforce.
b. A screen element to scan a QR code.
c. A decision element to handle when the token is valid and when the token is invalid.
Within the flow, you can set input variables. If you use the following specified names, these values will be populated for the flow
when it starts.
LoginFlow_LoginIpAddress The user’s IP address used during login, which can change after
authentication
During the flow, you can assign the following, pre-defined variables values for specific behavior.
598
Set Up and Maintain Your Salesforce Organization Authenticate Users
Note: The flow loads these values only after a UI screen is refreshed (a user clicking a button does not load the values, a new
screen must be added to the flow for the values to be loaded).
LoginFlow_ForceLogout A Boolean value. Set this variable to true to log the user out,
immediately, and force the user to exit the flow.
SEE ALSO:
Custom Login Flows
https://developer.salesforce.com/page/Login-Flows
Connect a Login Flow to a Profile
After you associate the login flow, you can edit or delete the flows listed on this login flows page.
599
Set Up and Maintain Your Salesforce Organization Authenticate Users
You can associate a login flow with one or more profiles. However, a profile can’t be connected to more than one login flow.
SEE ALSO:
Custom Login Flows
Create a Login Flow
• Use “stepped up” authentication (also known as “high assurance” authentication). Sometimes
you don’t need two-factor authentication for every user’s login, but you want to secure certain resources. If the user tries to use a
connected app or reports, Salesforce prompts the user to verify identity. For more information, see Session Security Levels.
• Use profile policies and session settings. First, in the user profile, set the Session security level required at
login field to High Assurance. Then set session security levels in your org’s session settings to apply the policy for particular
login methods. In your org’s session settings, check the session security levels to make sure that Two-Factor Authentication is in the
High Assurance column. For more information, see Set Two-Factor Authentication Login Requirements and Custom Policies for
Single Sign-On, Social Sign-On, and Communities.
Warning: If Two-Factor Authentication is in the Standard column, users get an error when they log in with a method that
grants standard-level security.
• Use login flows. Use the Flow Designer and profiles to build post-authentication requirements as the user logs in, including custom
two-factor authentication processes. For more information, see the following examples.
– Login Flows
– Implementing SMS-Based Two-Factor Authentication
– Enhancing Security with Two-Factor Authentication (Salesforce Classic)
IN THIS SECTION:
Set Two-Factor Authentication Login Requirements
As a Salesforce admin, you can require your users to use a second factor of authentication when they log in.
Set Two-Factor Authentication Login Requirements and Custom Policies for Single Sign-On, Social Sign-On, and Communities
Use profile policies and session settings to set two-factor authentication login requirements for users. All Salesforce user interface
authentication methods, including username and password, delegated authentication, SAML single sign-on, and social sign-on
through a third-party authentication provider, are supported. You can apply the two-factor authentication requirement to users in
Salesforce orgs and Communities.
600
Set Up and Maintain Your Salesforce Organization Authenticate Users
601
Set Up and Maintain Your Salesforce Organization Authenticate Users
Warning: If Two-Factor Authentication is in the Standard column, users get an error when they log in with a method that grants
standard-level security.
SEE ALSO:
Two-Factor Authentication
Set Two-Factor Authentication Login Requirements and Custom Policies for Single Sign-On, Social Sign-On, and Communities
Connect Salesforce Authenticator (Version 2 or Later) to Your Account for Identity Verification
Verify Your Identity with a One-Time Password Generator App or Device
Disconnect Salesforce Authenticator (Version 2 or Later) from a User’s Account
Disconnect a User’s One-Time Password Generator App
Custom Login Flows
Generate a Temporary Identity Verification Code
Expire a Temporary Verification Code
Delegate Two-Factor Authentication Management Tasks
Identity Verification History
602
Set Up and Maintain Your Salesforce Organization Authenticate Users
Set Two-Factor Authentication Login Requirements and Custom Policies for Single Sign-On, Social Sign-On,
and Communities
Use profile policies and session settings to set two-factor authentication login requirements for
EDITIONS
users. All Salesforce user interface authentication methods, including username and password,
delegated authentication, SAML single sign-on, and social sign-on through a third-party Available in: Both Salesforce
authentication provider, are supported. You can apply the two-factor authentication requirement Classic and Lightning
to users in Salesforce orgs and Communities. Experience
To require two-factor authentication for users assigned to a particular profile, edit the Session
Available in: Enterprise,
security level required at login profile setting. Then set session security levels Performance, Unlimited,
in your org’s session settings to apply the policy for particular login methods. and Developer Editions
By default, the session security requirement at login for all profiles is None. You can edit a profile’s
Session Settings to change the requirement to High Assurance. When profile users with this
USER PERMISSIONS
requirement use a login method that grants standard-level security instead of high assurance, such
as username and password, they’re prompted to verify their identity with two-factor authentication. To edit profiles and
After users authenticate successfully, they’re logged in to Salesforce. permission sets:
• “Manage Profiles and
You can edit the security level assigned to a login method in your org’s Session Settings.
Permission Sets”
Users with mobile devices can use the Salesforce Authenticator mobile app or another authenticator
To generate a temporary
app for two-factor authentication. Internal users can connect the app to their account in the verification code
Advanced User Details page of their personal settings. If you set the High Assurance • “Manage Two-Factor
requirement on a profile, any profile user who doesn’t already have Salesforce Authenticator or Authentication in User
another authenticator app connected to their account is prompted to connect the app before they Interface”
can log in. After they connect the app, they’re prompted to use the app to verify their identity.
Users with registered U2F security keys can use them for two-factor authentication.
Community members with the High Assurance profile requirement are prompted to connect an authenticator app during login.
1. From Setup, enter Profiles in the Quick Find box, then select Profiles.
2. Select a profile.
3. Scroll to Session Settings and find the Session security level required at login setting.
4. Click Edit.
5. For Session security level required at login, select High Assurance.
6. Click Save.
7. From Setup, enter Session Settings in the Quick Find box, then select Session Settings.
8. In Session Security Levels, make sure that Two-Factor Authentication is in the High Assurance column.
If Two-Factor Authentication is in the Standard column, users get an error when they log in with a method that grants standard-level
security.
9. Note: Consider moving Activation to the High Assurance column. With this setting, users who verify their identity from an
unrecognized browser or app establish a high-assurance session. When Activation is in the High Assurance column, profile
users who verify their identity at login aren’t challenged to verify their identity again to satisfy the high-assurance session
security requirement.
Save your changes.
Example: You’ve configured Facebook and LinkedIn as authentication providers in your community. Many of your community
members use social sign-on to log in using the username and password from their Facebook or LinkedIn accounts. You want to
increase security by requiring Customer Community users to use two-factor authentication when they log in with their Facebook
603
Set Up and Maintain Your Salesforce Organization Authenticate Users
account, but not with their LinkedIn account. You edit the Customer Community User profile and set the Session security
level required at login to High Assurance. In your org’s Session Settings, you edit the Session Security Levels. You
place Facebook in the Standard column. In the High Assurance column, you place Two-Factor Authentication. You also place
LinkedIn in the High Assurance column.
Note: You can also use login flows to change the user’s session security level to initiate identity verification under specific
conditions. Login flows let you build a custom post-authentication process that meets your business requirements.
If users lose or forget the device they usually use for two-factor authentication, you can generate a temporary verification code for them.
You set when the code expires, from 1 to 24 hours after you generate it. Your user can use the code multiple times until it expires. A user
can have only one temporary code at a time. If a user needs a new code while the old code is still valid, you can expire the old code,
then generate a new one. Users can expire their own valid codes in their personal settings.
Note: The High Assurance profile requirement applies to user interface logins. OAuth token exchanges aren’t subject to
the requirement. OAuth refresh tokens that were obtained before a High Assurance requirement is set for a profile can still
be exchanged for access tokens that are valid for the API. Tokens are valid even if they were obtained with a standard-assurance
session. To require users to establish a high-assurance session before accessing the API with an external application, first revoke
existing OAuth tokens for users with that profile. Then set a High Assurance requirement for the profile. Users have to log
in with two-factor authentication and reauthorize the application. See Revoke OAuth Tokens.
SEE ALSO:
Two-Factor Authentication
Custom Login Flows
Connect Salesforce Authenticator (Version 2 or Later) to Your Account for Identity Verification
Verify Your Identity with a One-Time Password Generator App or Device
Disconnect Salesforce Authenticator (Version 2 or Later) from a User’s Account
Disconnect a User’s One-Time Password Generator App
Generate a Temporary Identity Verification Code
Expire a Temporary Verification Code
Delegate Two-Factor Authentication Management Tasks
Expire a Temporary Verification Code
604
Set Up and Maintain Your Salesforce Organization Authenticate Users
Connect Salesforce Authenticator (Version 2 or Later) to Your Account for Identity Verification
The Salesforce Authenticator (version 2 or later) app on your mobile device is the second factor of
EDITIONS
authentication. Use the app to add an extra level of security to your account.
1. Download and install version 2 or later of the Salesforce Authenticator app for the type of mobile Salesforce Authenticator
device you use. For iPhone, get the app from the App Store. For Android devices, get the app setup available in: both
from Google Play. Salesforce Classic and
Lightning Experience
If you previously installed version 1 of Salesforce Authenticator on your mobile device, you can
update the app to version 2 through the App Store or Google Play. The update preserves any Mobile app available in:
connected accounts you already have in the app. These accounts are code-only accounts that Group, Professional,
generate verification codes but don’t receive push notifications or allow location-based Enterprise, Performance,
automated verifications. If you have a code-only account for the username you used for your Unlimited, Developer, and
current login to Salesforce, swipe left in the app to remove that username before proceeding. Contact Manager Editions
In the following steps, you connect the account for that username again. The new connected
account gives you full Salesforce Authenticator version 2 functionality: push notifications,
location-based automated verifications, and verification codes.
2. From your personal settings, enter Advanced User Details in the Quick Find box, then select Advanced User Details.
No results? Enter Personal Information in the Quick Find box, then select Personal Information.
3. Find App Registration: Salesforce Authenticator and click Connect.
4. For security purposes, you’re prompted to log in to your account.
5. Open the Salesforce Authenticator app on your mobile device.
605
Set Up and Maintain Your Salesforce Organization Authenticate Users
If you’re opening the app for the first time, you see a tour of the app’s features. Take the tour, or go straight to adding your Salesforce
account to the app.
7. Back in your browser, enter the phrase in the Two-Word Phrase field.
8. Click Connect.
If you previously connected an authenticator app that generates verification codes to your account, you sometimes see an alert.
Connecting version 2 or later of the Salesforce Authenticator mobile app invalidates the codes from your old app. When you need
a verification code, get it from Salesforce Authenticator from now on.
9. In the Salesforce Authenticator app on your mobile device, you see details about the account you’re connecting. To complete the
account connection, tap Connect in the app.
To help keep your account secure, we send you an email notification whenever a new identity verification method is added to your
Salesforce account. You get the email whether you add the method or your Salesforce admin adds it on your behalf.
If your administrator requires two-factor authentication for increased security when you log in or access reports or dashboards, use the
app to verify your account activity. If you’re required to use two-factor authentication before you have the app connected, you’re
prompted to connect it the next time you log in to Salesforce. If you don’t yet have the two-factor authentication requirement, you can
still connect the app to your account through your personal settings.
After you connect the app, you get a notification on your mobile device when you do something that requires identity verification. When
you receive the notification, open the app on your mobile device, check the activity details, and respond on your mobile device to verify.
If you are notified about activity you don’t recognize, use the app to block the activity. You can flag the blocked activity for your Salesforce
admin. The app also provides a verification code that you can use as an alternate method of identity verification.
Note: If you’re connecting Salesforce Authenticator so that you can use push notifications, use the App Registration:
Salesforce Authenticator setting instead. That setting enables both push notifications and one-time password
generation.
606
Set Up and Maintain Your Salesforce Organization Authenticate Users
You can connect up to two authenticator apps to your Salesforce account for one-time password generation: Salesforce Authenticator
and one other authenticator app.
6. In Salesforce, enter the code generated by the authenticator app in the Verification Code field.
The authenticator app generates a new verification code periodically. Enter the current code.
7. Click Connect.
To help keep your account secure, we send you an email notification whenever a new identity verification method is added to your
Salesforce account. You get the email whether you add the method or your Salesforce admin adds it on your behalf.
Important: My Domain must be enabled before you enable U2F security keys. If your org has deployed My Domain, you have
access to this setting.
607
Set Up and Maintain Your Salesforce Organization Authenticate Users
• View users’ security key activity on the Identity Verification History page.
• Monitor security key adoption using the Identity Verification Methods report (via the link on the Identity Verification History page).
• Create user list views that include the Has U2F Security Key field to see who has registered this method.
Using the Mass Email Users tool, you can send targeted communications to users who have registered this method.
Now you’re ready to use this identity verification method. When we prompt you for your U2F security key, insert it and touch the button
if it has a button. The security key generates the required credentials, and the browser passes them on to Salesforce to complete the
verification.
If you’re ever without your security key, you can still use other verification methods, such as Salesforce Authenticator or another method
that generates a verification code. If you need a temporary alternate method for two-factor authentication, your admin can generate a
temporary verification code (not available for activations).
You can cancel your security key registration at any time, and so can an admin.
608
Set Up and Maintain Your Salesforce Organization Authenticate Users
To disconnect a user’s
SEE ALSO: authenticator app:
• “Manage Two-Factor
View and Manage Users
Authentication in User
Delegate Two-Factor Authentication Management Tasks Interface”
609
Set Up and Maintain Your Salesforce Organization Authenticate Users
USER PERMISSIONS
Your user can use the temporary verification code multiple times until it expires. Each user can have
only one temporary verification code at a time. If a user forgets or loses the code before it expires, you can manually expire the old code
and generate a new one. You can generate up to six codes per hour for each user.
610
Set Up and Maintain Your Salesforce Organization Authenticate Users
Note: When you add an identity verification method to a user’s account, the user gets an email. To stop sending emails to users
when new identity verification methods are added to their accounts, contact Salesforce.
SEE ALSO:
Two-Factor Authentication
Delegate Two-Factor Authentication Management Tasks
Expire a Temporary Verification Code
1. From Setup, enter Users in the Quick Find box, then select Users. Available in: Contact
2. Click the name of the user whose temporary verification code you need to expire. Manager, Group,
Professional, Enterprise,
3. Find Temporary Verification Code, and click Expire Now. Performance, Unlimited,
and Developer Editions
SEE ALSO:
Two-Factor Authentication USER PERMISSIONS
Delegate Two-Factor Authentication Management Tasks
To expire a user’s temporary
Generate a Temporary Identity Verification Code verification code:
• “Manage Two-Factor
Authentication in User
Interface”
611
Set Up and Maintain Your Salesforce Organization Authenticate Users
SEE ALSO:
Two-Factor Authentication
Delegate Two-Factor Authentication Management Tasks
612
Set Up and Maintain Your Salesforce Organization Transaction Security
Note: Although non-admin users with the permission can view the Identity Verification Methods report, they can’t create custom
reports that include data restricted to users with the “Manage Users” permission.
SEE ALSO:
Protect Your Salesforce Organization
Disconnect Salesforce Authenticator (Version 2 or Later) from a User’s Account
Disconnect a User’s One-Time Password Generator App
Generate a Temporary Identity Verification Code
Expire a Temporary Verification Code
See How Your Users Are Verifying Their Identity
Transaction Security
Transaction Security is a framework that intercepts real-time Salesforce events and applies appropriate
EDITIONS
actions and notifications based on security policies you create. Transaction Security monitors events
according to the policies that you set up. These policies are applied against events in your org and Available in: both Salesforce
specify actions to take when certain event combinations occur. When a policy is triggered, you can Classic and Lightning
have an action taken and receive an optional notification. Experience
613
Set Up and Maintain Your Salesforce Organization Transaction Security
614
Set Up and Maintain Your Salesforce Organization Transaction Security
615
Set Up and Maintain Your Salesforce Organization Transaction Security
Login policies affect programmatic access and access from Salesforce Classic and Lightning Experience. When you create a policy
that limits the number of concurrent user sessions, all sessions count toward that limit. Regular logins with a username and password,
logins by web applications, logins using Authentication Providers, and all other login types are considered.
The session limit isn’t a problem in Salesforce Classic or Lightning Experience because you’re prompted to select which session or
sessions to end. That choice isn’t available from within a program, so the program receives a Transaction Security exception that the
session limit has been reached.
To prevent this problem, select When users exceed the maximum number of Salesforce sessions allowed, close the oldest
session.. Then when a programmatic request is made that exceeds the number of sessions allowed, older sessions are ended until
the session count is below the limit. The setting also works for logins from the UI. Instead of being asked to select a session to end,
the oldest session is automatically ended, and the new login proceeds for the new session. Here’s how the OAuth flows handle login
policies with and without the preference being set.
OAuth 2.0 JWT bearer token Access Token granted TXN_SECURITY_END_SESSION exception
Older sessions are ended until you’re within policy
compliance.
OAuth 2.0 username and Access granted Access denied due to more than the number of
password Older sessions are ended until you’re within policy sessions allowed by the policy
compliance.
For more information on authentication flows, see Authenticate Apps with OAuth in the Salesforce help.
616
Set Up and Maintain Your Salesforce Organization Transaction Security
• Notifications—You can select all, some, or no notification methods for each policy.
• Recipient—Must be an active user assigned the System Administrator profile.
• Real-time Actions—Specifies what to do when the policy is triggered. The actions available vary depending on the
event type. Email and In-App notifications are always available. For login and resource events, you can also block the action or
require a higher level of access control with two-factor authentication. For Login events, you can require ending an existing
session before continuing with the current session. You can set the default action for ending a session to always close the oldest
session.
Note: Two-factor authentication is not available in Salesforce1 or Lightning Experience for the AccessResource event
type. The Block action is used instead.
Important: If you create a policy requiring the two-factor authentication action, provide your users a way to get a
time-based, one-time password. This password is their second authentication factor. Otherwise, if your users encounter a
situation that requires a second authentication factor, they can’t finish their task, such as logging in or running a report.
• You can use an existing class for Apex Policy or select Generate Apex to have a default policy class created that implements
the TxnSecurity.PolicyCondition interface. You can also write your own policy to take advantage of any
customizations you’ve made to your org.
• The user selected for Execute Policy As must have the System Administrator profile.
3. You can optionally create a condition for a specific property as part of the policy. For example, you can create a policy that’s triggered
when a report or dashboard is accessed from a specific source IP. The source IP is the property you’re checking.
617
Set Up and Maintain Your Salesforce Organization Transaction Security
4. To enable a policy, select the policy’s checkbox. You can enable and disable policies according to your requirements.
5. Click Save.
After saving your selection, you’re shown the editing page for your new policy. You can modify your policy here and review its Apex
class.
If you didn’t specify a condition value before you generated the Apex interface for a policy, you can add the condition later. If you want
to change the condition, you can edit it. Edit the Apex code to include a condition before you activate your policy. If you never include
a condition, your policy is never triggered. See Apex Policies for Transaction Security Notifications for examples.
You can create multiple policies for the same type of event, but we recommend that your policies and their actions don’t overlap. All
the policies for a given event execute when the event occurs, but their order of execution is indeterminate. For example, if you have two
policies enabled for an exported contact, you can’t be sure which policy is triggered first. If one policy copies the contact and the other
policy deletes the contact, the copy operation fails if the deletion is done first.
Example:
global class LoginPolicyCondition implements
TxnSecurity.PolicyCondition {
public boolean evaluate(TxnSecurity.Event e) {
AggregateResult[] results = [SELECT SourceIp
FROM LoginHistory
WHERE UserId = :e.userId
AND LoginTime =
LAST_N_DAYS:1
GROUP BY SourceIp];
if(!results.isEmpty() && results.size() > 1) {
return true;
}
return false;
}
}
618
Set Up and Maintain Your Salesforce Organization Transaction Security
This Apex policy example implements a policy that is triggered when a session is created from a specific IP address.
Example:
global class SessionPolicyCondition implements TxnSecurity.PolicyCondition {
public boolean evaluate(TxnSecurity.Event e) {
AuthSession eObj = [SELECT SourceIp FROM AuthSession WHERE Id = :e.entityId];
if(eObj.SourceIp == '1.1.1.1' ){
return true;
}
return false;
}
}
This DataExport policy implements a policy that is triggered when someone exports data via the Data Loader.
Example:
global class DataExportPolicyCondition implements TxnSecurity.PolicyCondition {
public boolean evaluate(TxnSecurity.Event e) {
if(e.data.get('SourceIp') == '1.1.1.1' ){
return true;
}
return false;
}
}
Example:
global class ReportsPolicyCondition implements TxnSecurity.PolicyCondition {
public boolean evaluate(TxnSecurity.Event e) {
if(e.data.get('SessionLevel') == 'STANDARD' ){
return true;
}
return false;
}
}
Example:
global class ConnectedAppsPolicyCondition implements TxnSecurity.PolicyCondition {
public boolean evaluate(TxnSecurity.Event e) {
if(e.data.get('SessionLevel') == 'STANDARD' && (e.entityId == '0CiD00000004Cce')){
return true;
}
return false;
619
Set Up and Maintain Your Salesforce Organization Transaction Security
}
}
SEE ALSO:
Additional PolicyCondition Example Implementations
Apex DML Operations
2. From the Transaction Security Policies page, you can Available in: Enterprise,
Performance, Unlimited,
• Edit a view
and Developer Editions.
• Create a view
Requires purchasing
• Edit a policy Salesforce Shield or
• Create a policy Salesforce Shield Event
• Edit the TxnSecurity.PolicyCondition Apex class for a policy Monitoring add-on
subscriptions.
• Delete a policy
• Set the transaction security default preferences
USER PERMISSIONS
You can change the transaction security default preferences at any time.
To create, edit, and manage
transaction security policies:
• “Author Apex”
AND
“Customize Application”
620
Set Up and Maintain Your Salesforce Organization Transaction Security
In-App Notifications
In-app notifications are available only if you’re a Salesforce1 user. The notification lists the policy that was triggered. Here’s an example.
Example:
Transaction Security Alert:
Policy New Encrypted Custom Field was triggered.
621
Set Up and Maintain Your Salesforce Organization Single Sign-On
Single Sign-On
Single sign-on (SSO) lets users access authorized network resources with one login. You validate
EDITIONS
usernames and passwords against your corporate user database or other client app rather than
Salesforce managing separate passwords for each resource. Available in: both Salesforce
Salesforce offers the following ways to use SSO. Classic and Lightning
Experience
• Federated authentication using Security Assertion Markup Language (SAML) lets you send
authentication and authorization data between affiliated but unrelated web services. You can Federated Authentication is
log in to Salesforce from a client app. Salesforce enables federated authentication for your org available in: All Editions
automatically. Delegated Authentication is
• Delegated authentication SSO integrates Salesforce with an authentication method that you available in: Professional,
choose. You can integrate authentication with your LDAP (Lightweight Directory Access Protocol) Enterprise, Performance,
server or use a token instead of a password for authentication. You manage delegated Unlimited, Developer, and
authentication at the permission level, not at the org level, giving you more flexibility. With Database.com Editions
permissions, you can require some to use delegated authentication while others use their Authentication Providers are
Salesforce-managed password. available in: Professional,
Delegated authentication offers the following benefits. Enterprise, Performance,
Unlimited, and Developer
– Uses a stronger form of user authentication, such as integration with a secure identity Editions
provider
– Makes your login page private and accessible only behind a corporate firewall
– Differentiates your org from all other companies that use Salesforce to reduce phishing
USER PERMISSIONS
attacks To view the settings:
You must contact Salesforce to enable delegated authentication before you can configure it • “View Setup and
on your org. Configuration”
• Authentication providers let your users log in to your Salesforce org using their login credentials To edit the settings:
from an external service provider. Salesforce supports the OpenID Connect protocol, which lets • “Customize Application”
users log in from any OpenID Connect provider, such as Google, PayPal, and LinkedIn. When AND
an authentication provider is enabled, Salesforce doesn’t validate a user’s password. Instead, “Modify All Data”
Salesforce uses the user’s login credentials from the external service provider to establish
authentication credentials.
When you have an external identity provider and configure SSO for your Salesforce org, Salesforce is then acting as a service provider.
You can also enable Salesforce as an identity provider and use SSO to connect to a different service provider. Only the service provider
needs to configure SSO.
The Single Sign-On Settings page displays which version of SSO is available for your org. To learn more about SSO settings, see Configure
SAML Settings for Single Sign-On. For more information about SAML and Salesforce security, see the Security Implementation Guide.
Benefits of SSO
Implementing SSO brings several advantages to your org.
• Reduced administrative costs—With SSO, users memorize a single password to access network resources and external apps and
Salesforce. When accessing Salesforce from inside the corporate network, users log in seamlessly and aren’t prompted for a username
or password. When accessing Salesforce from outside the corporate network, the users’ corporate network login works to log them
in. With fewer passwords to manage, system admins receive fewer requests to reset forgotten passwords.
622
Set Up and Maintain Your Salesforce Organization Single Sign-On
• Leverage existing investment—Many companies use a central LDAP database to manage user identities. You can delegate
Salesforce authentication to this system. Then when users are removed from the LDAP system, they can no longer access Salesforce.
Users who leave the company automatically lose access to company data after their departure.
• Time savings—On average, users take 5–20 seconds to log in to an online app. It can take longer if they mistype their username
or password and are prompted to reenter them. With SSO in place, manually logging in to Salesforce is avoided. These saved seconds
reduce frustration and add up to increased productivity.
• Increased user adoption—Due to the convenience of not having to log in, users are more likely to use Salesforce regularly. For
example, users can send email messages that contain links to information in Salesforce, such as records and reports. When the
recipient of the email message clicks the links, the corresponding Salesforce page opens.
• Increased security—All password policies that you’ve established for your corporate network are in effect for Salesforce. Sending
an authentication credential that’s only valid for a single time also increases security for users who have access to sensitive data.
IN THIS SECTION:
Best Practices for Implementing Single Sign-On
Salesforce offers a set of best practices that you can follow when implementing delegated authentication, federated authentication
using SAML, single sign-on (SSO) for portals, and SSO for Sites.
Delegated Authentication Single Sign-On
You can integrate Salesforce with the authentication method of your choice using delegated authentication single sign-on (SSO).
You can integrate with your LDAP (Lightweight Directory Access Protocol) server or authenticate with a token instead of a password.
You manage delegated authentication at the permission level, not at the org level, giving you more flexibility. With permissions, you
can require some to use delegated authentication while others use their Salesforce-managed password.
Configure Salesforce for Delegated Authentication
You manage delegated authentication at the permission level, not at the org level, giving you more flexibility. With permissions, you
can require some to use delegated authentication while others use their Salesforce-managed password. You must contact Salesforce
to enable the delegated authentication feature before you can configure it in your org.
Control Individual API Client Access to Your Salesforce Organization
With API Client Whitelisting, restrict all API client applications, such as the Data Loader, to require administrator approval, unless the
user’s profile or permission set has the “Use Any API Client” permission.
Viewing Single Sign-On Login Errors
SAML
Salesforce Identity uses the XML-based Security Assertion Markup Language (SAML) protocol for single sign-on into Salesforce from
a corporate portal or identity provider. With SAML, you can transfer user information between services, such as from Salesforce to
Microsoft 365.
About Just-in-Time Provisioning for SAML
External Authentication Providers
Authentication providers let your users log in to your Salesforce org using their login credentials from an external service provider.
Salesforce provides authentication providers for apps that support the OpenID Connect protocol, such as Google, Facebook, Twitter,
and LinkedIn. For apps that don’t support OpenID Connect, Salesforce provides an Apex Auth.AuthProviderPluginClass
abstract class to create a custom authentication provider.
Using Frontdoor.jsp to Log Into Salesforce
You can use frontdoor.jsp to give users access to Salesforce from a custom Web interface, such as a remote access Force.com site,
using their existing session ID and the server URL.
623
Set Up and Maintain Your Salesforce Organization Single Sign-On
624
Set Up and Maintain Your Salesforce Organization Single Sign-On
– Uses a stronger form of user authentication, such as integration with a secure identity
provider USER PERMISSIONS
– Makes your login page private and accessible only behind a corporate firewall
To view the settings:
– Differentiates your org from all other companies that use Salesforce to reduce phishing
• “View Setup and
attacks Configuration”
You must contact Salesforce to enable delegated authentication before you can configure it To edit the settings:
on your org. • “Customize Application”
• Authentication providers let your users log in to your Salesforce org using their login credentials AND
from an external service provider. Salesforce supports the OpenID Connect protocol, which lets
“Modify All Data”
users log in from any OpenID Connect provider, such as Google, PayPal, and LinkedIn. When
an authentication provider is enabled, Salesforce doesn’t validate a user’s password. Instead,
Salesforce uses the user’s login credentials from the external service provider to establish authentication credentials.
In addition, you can also configure SAML for use with portals as well as for Sites.
625
Set Up and Maintain Your Salesforce Organization Single Sign-On
• The IP address that originated the login request is sourceIp. Use this information to restrict access based on the user’s location. Also,
the Salesforce feature that validates login IP ranges applies to SSO users. For more information, see Restrict Where and When Users
Can Log In to Salesforce on page 578.
• You might need to map your org’s internal usernames to your Salesforce usernames. If your org doesn’t follow a standard mapping,
try extending your user database schema (for example, Active Directory) to include the Salesforce username as an attribute of a user
account. Your authentication service can then use this attribute to map back to a user account.
• We recommend that you don’t enable SSO for Salesforce admins. If your Salesforce admins are SSO users and your SSO server has
an outage, they have no way to log in to Salesforce. Make sure that Salesforceadmins can log in to Salesforce so that they can disable
SSO if problems occur.
• We recommend that you use a Developer Edition account or a sandbox when developing a SSO solution before implementing it in
your org. To sign up for a free Developer Edition account, go to developer.salesforce.com.
• Make sure to test your implementation with Salesforce clients, such as Salesforce for Outlook, Connect for Office, and Connect Offline.
For more information, see Single Sign-On for Salesforce clients.
• We recommend that you use a Developer Edition account or a sandbox when testing a SAML SSO solution. To sign up for a free
Developer Edition account, go to developer.salesforce.com.
• Sandbox copies are made with federated authentication with SAML disabled. Any configuration information is preserved, except
the value for Salesforce Login URL. The Salesforce Login URL is updated to match your sandbox URL, for
example https://yourInstance.salesforce.com/, after you re-enable SAML. To enable SAML in the sandbox, from
Setup, enter Single Sign-On Settings in the Quick Find box, then select Single Sign-On Settings; then click Edit,
and select SAML Enabled.
• Your identity provider must allow you to set the service provider’s audience URL. The value must match the Entity ID value in
the SSO configuration. The default is https://saml.salesforce.com.
626
Set Up and Maintain Your Salesforce Organization Single Sign-On
SEE ALSO:
Single Sign-On
Single Sign-On Implementation Guide
627
Set Up and Maintain Your Salesforce Organization Single Sign-On
4. Your web service implementation validates the passed information and returns either true “Modify All Data”
or false.
5. If the response is true, the login process continues, a new session is generated, and the user proceeds to the app. If false, the
user gets an error message that the username and password combination is invalid.
Note: With delegated authentication, a user can experience a slight delay when logging in while the user account becomes
available in the org.
SEE ALSO:
Single Sign-On
Administrator setup guide: Single Sign-On Implementation Guide
628
Set Up and Maintain Your Salesforce Organization Single Sign-On
a. In Salesforce, download the Web Services Description Language (WSDL) file Available in: Professional,
AuthenticationService.wsdl. From Setup, enter API in the Quick Find Enterprise, Performance,
box, then select API, then select Download Delegated Authentication WSDL. Unlimited, Developer, and
Database.com Editions
The WSDL file describes the delegated authentication SSO service. Use the WSDL file to
generate a server-side stub to which you add your SSO implementation. For example, in
the WSDL2Java tool from Apache Axis, use the --server-side switch. With the .NET USER PERMISSIONS
wsdl.exe tool, use the /server switch.
To view the settings:
For a sample request and response, see Sample SOAP Message for Delegated Authentication • “View Setup and
on page 650. Configuration”
b. Add a link to your corporate intranet or other internal site that takes the authenticated user’s To edit the settings:
credentials and passes them through an HTTP POST to the Salesforce login page. • “Customize Application”
Because Salesforce doesn’t use the password field other than to pass it back to you, don’t AND
pass in a password. Instead, pass another authentication token, such as a Kerberos Ticket, “Modify All Data”
so that your corporate passwords aren’t passed to or from Salesforce.
You can configure the Salesforce delegated authentication authority to accept only a token
or either a tokenor password. If the authority accepts only a token, Salesforce users can’t log in to Salesforce directly because
they can’t create a valid token. However, many authorities support both tokens and passwords In this case, users can log in to
Salesforce through the login page.
When the Salesforce server passes the credentials back to you in the Authenticate message, verify them. Then the user
can access the app.
2. In Salesforce, specify your org’s SSO gateway URL. From Setup, enter Single Sign-On in the Quick Find box, select Single
Sign-On Settings, and then click Edit. Enter the URL in the Delegated Gateway URL text box. For security reasons, Salesforce restricts
outbound ports to one of the following.
• 80, which accepts only HTTP connections
• 443, which accepts only HTTPS connections
• 1024–66535, which accept HTTP or HTTPS connections
Note: Select this option if you must record every login attempt. This option forces a callout to the SSO endpoint regardless
of login restriction failures. If you don’t select this option, a call isn’t made to the SSO endpoint if the first login attempt fails
due to login restrictions within the Salesforce org.
Important: If single sign-on (SSO) is enabled for your org, API and desktop client users can log in to Salesforce unless their profile
has IP address restrictions set and they try to log in from outside of the range defined. Also the SSO authority usually handles login
lockout policies for users with the “Is Single Sign-On Enabled” permission. However, if the security token is enabled for your org,
629
Set Up and Maintain Your Salesforce Organization Single Sign-On
your org’s login lockout settings determine how many times users can attempt to log in with an invalid security token before
being locked out of Salesforce.
SEE ALSO:
Single Sign-On
Delegated Authentication Single Sign-On
Note: Contact Salesforce to enable API Client Whitelisting. After it’s enabled, all client access To view the settings:
is restricted until explicitly allowed by the administrator. This restriction might block access • “View Setup and
to applications that your users are already using. Before you enable this feature, you should Configuration”
configure and approve connected apps for any client applications you want users to continue To edit the settings:
using, or give the users a profile or permission set with “Use Any API Client” enabled. • “Customize Application”
To configure API Client Whitelisting, do the following. AND
1. Contact Salesforce to get the feature enabled for your organization. “Modify All Data”
2. From Setup, enter Connected Apps in the Quick Find box, then select the option
for managing connected apps.
3. In the App Access Settings, click Edit.
4. Select Limit API access to installed connected apps with the "Admin approved users are pre-authorized" policy.
Optionally, select Allow Visualforce pages to bypass this restriction so that any Visualforce pages that use the API continue to
be authorized to access objects in the organization. If you enable API Client Whitelisting without selecting this option, only approved
connected apps are authorized, and Visualforce pages might not behave as expected. Also, if unchecked, client applications that
call getSessionId() are denied access. Apps that make API calls to Salesforce using a session obtained in a Visualforce context
are denied access unless you select this checkbox.
5. Click Save.
After you select this feature, all client applications need explicit approval by an administrator to be authorized for the organization, unless
the user has a profile or permission set with “Use Any API Client” enabled.
Some components for commonly used apps are automatically installed as connected apps in organizations. These components support
apps such as the Data Loader, Salesforce1, Workbench and more. After you select this feature, these components will also require
approval, unless the user has a profile or permission set with “Use Any API Client” enabled. See Managing a Connected App for more
information about these components.
630
Set Up and Maintain Your Salesforce Organization Single Sign-On
Note: Contact Salesforce to learn more about enabling Single Sign-On for your organization.
SEE ALSO:
Single Sign-On
SAML
Salesforce Identity uses the XML-based Security Assertion Markup Language (SAML) protocol for
EDITIONS
single sign-on into Salesforce from a corporate portal or identity provider. With SAML, you can
transfer user information between services, such as from Salesforce to Microsoft 365. Available in: both Salesforce
The identity provider performs most of the work to set up single sign-on (SSO). Classic and Lightning
Experience
1. Establish a SAML identity provider and gather information about how they connect to Salesforce.
The identity provider sends SSO requests to Salesforce. Federated Authentication is
2. Provide information to your identity provider, such as the URLs for the start and logout pages. available in: All Editions
Delegated Authentication is
3. Configure Salesforce using the instructions in Configure SAML Settings for Single Sign-On. Only
available in: Professional,
this step takes place in Salesforce.
Enterprise, Performance,
Your identity provider sends SAML assertions to Salesforce using the SAML Web Single Sign-on Unlimited, Developer, and
Browser POST profile. Salesforce sends SAML responses to the identity provider login URL specified Database.com Editions
under Setup by entering Single Sign-On in the Quick Find box, then selecting Single Authentication Providers are
Sign-On Settings. Salesforce receives the assertion, verifies it against your Salesforce configuration, available in: Professional,
and, if the assertion is true, allows SSO. Enterprise, Performance,
If you have problems with the SAML assertion after you configure Salesforce for SAML, use the Unlimited, and Developer
SAML Assertion Validator to validate the SAML assertion. You can obtain a SAML assertion from Editions
your identity provider.
If your users can’t log in using SAML, review the SAML login history to determine why. Sharing the USER PERMISSIONS
login history with your identity provider helps resolve problems quickly.
To view the settings:
Click Download Metadata to download an XML file of your SAML configuration settings to send
• “View Setup and
to your identity provider. The identity provider can then upload these configuration settings to
Configuration”
connect to your Salesforce orgcommunity.
To edit the settings:
• “Customize Application”
IN THIS SECTION:
AND
Working With Your Identity Provider
“Modify All Data”
Configure SAML Settings for Single Sign-On
631
Set Up and Maintain Your Salesforce Organization Single Sign-On
2. Work with your identity provider to setup the start, login, and logout pages.
632
Set Up and Maintain Your Salesforce Organization Single Sign-On
3. Share the example SAML assertions with your identity provider so they can determine the format Salesforce requires for successful
single sign-on.
SEE ALSO:
SAML
Note: If your XML file contains information for more than one configuration, the first configuration that occurs in the XML
file is used.
• New from Metadata URL - Import SAML 2.0 settings from a public URL. This option reads the XML file at a public URL and uses
it to complete as many of the settings as possible. The URL must be added to Remote Site Settings to access it from your Salesforce
org.
633
Set Up and Maintain Your Salesforce Organization Single Sign-On
7. Enter the Issuer. Often referred to as the entity ID for the identity provider.
8. If your Salesforce org has domains deployed, specify whether you want to use the base domain
(https://saml.salesforce.com) or the custom domain for the Entity ID. You must share this information with your
identity provider.
Tip: Generally, use the custom domain as the entity ID. If you already have single sign-on configured before deploying a
domain, the base domain is the entity ID. If you are providing Salesforce to Salesforce services, you must specify the custom
domain.
9. For the Identity Provider Certificate, use the Browse button to locate and upload the authentication certificate
issued by your identity provider.
10. For the Request Signing Certificate, select the certificate you want from the ones saved in your Certificate and Key
Management settings.
11. For the Request Signature Method, select the hashing algorithm for encrypted requests, either RSA-SHA1 or
RSA-SHA256.
12. Optionally, if the identity provider encrypts SAML assertions, select the Assertion Decryption Certificate they’re
using from the ones saved in your Certificate and Key Management settings. This field is available only if your org supports
multiple single sign-on configurations. For more information, see Set up an identity provider to encrypt SAML assertions.
13. For the SAML Identity Type, SAML Identity Location, and other fields described in Identity Provider Values,
specify the values provided by your identity provider as appropriate.
14. For the Service Provider Initiated Request Binding, select the appropriate value based on the information
provided by your identity provider.
15. For SAML 2.0, if your identity provider has specific login or logout pages, specify them in Identity Provider Login URL and Identity
Provider Logout URL, respectively.
Note: These fields appear in Developer Edition and sandbox organizations by default and in production organizations only
if My Domain is enabled. The fields do not appear in trial organizations or sandboxes linked to trial organizations.
16. For the Custom Error URL, specify the URL of the page that the users are directed to if there's an error during SAML login. It
must be a publicly accessible page, such as a public site Visualforce page. The URL can be absolute or relative.
17. Optionally, set up Just-in-Time user provisioning. For more information, see Enable Just-in-Time user provisioning and About
Just-in-Time Provisioning for SAML.
18. Click Save.
Click Download Metadata to download an XML file of your SAML configuration settings to send to your identity provider. The identity
provider can then upload these configuration settings to connect to your Salesforce orgcommunity.
Note: If you don’t see the Assertion Decryption Certificate field you need to enable multiple single sign-on
for your organization.(Applies to orgs created before the Summer ’13 release that aren’t using SAML 1.1).To enable multiple
634
Set Up and Maintain Your Salesforce Organization Single Sign-On
single sign-on configurations, select Enable Multiple Configs on the Single Sign-On Settings page. If this setting has already
been enabled, the field appears, and you won’t see the Enable Multiple Configs button.
3. Set the SAML Identity Location to the element where your identifier is located.
4. When you save the new SAML configuration, your org’s SAML settings value for the Salesforce Login URL (also known
as the “Salesforce ACS URL”) changes. Get the new value (from the Single Sign-On Settings page in Setup), and click the name of
the new SAML configuration. The value is in the Salesforce Login URL field.
5. The identity provider must use the Salesforce Login URL value.
6. You also need to provide the identity provider with a copy of the certificate selected in the Assertion Decryption
Certificate field to use for encrypting assertions.
2. If you selected Standard, click Save and test the single sign-on connection.. If you selected Custom SAML JIT with
Apex handler, proceed to the next step.
3. In the SAML JIT Handler field, select an existing Apex class as the SAML JIT handler class. This class must implement the
SamlJitHandler interface. If you do not have an Apex class, you can generate one by clicking Automatically create a
SAML JIT handler template. You must edit this class and modify the default content before using it. For more information,
see Edit the SAML JIT handler.
4. In the Execute Handler As field, select the user that runs the Apex class. The user must have “Manage Users” permission.
5. Just-in-time provisioning requires a Federation ID in the user type. In SAML Identity Type, select Assertion contains
the Federation ID from the User object. If your identity provider previously used the Salesforce username,
communicate to them that they must use the Federation ID.
6. Click Save.
635
Set Up and Maintain Your Salesforce Organization Single Sign-On
For example, to support custom fields in the generated handler code, find the “Handle custom fields here” comment in the generated
code. After that code comment, insert your custom field code. For more information and examples, see the SamlJitHandler Interface
documentation.
Note: If your identity provider sends JIT attributes for the Contact or Account object with the User object in the same assertion,
the generated handler might not be able to make updates. For a list of User fields that cannot be updated at the same time as the
Contact or Account fields, see sObjects That Cannot Be Used Together in DML Operations.
SEE ALSO:
SAML
Best Practices for Implementing Single Sign-On
Validating SAML Settings for Single Sign-On
Administrator setup guide: Single Sign-On Implementation Guide
Certificates and Keys
636
Set Up and Maintain Your Salesforce Organization Single Sign-On
OAuth 2.0 For SAML 2.0. The ACS URL used when enabling Salesforce as an identity
Token Endpoint provider in the Web SSO OAuth assertion flow. USER PERMISSIONS
SEE ALSO:
SAML
637
Set Up and Maintain Your Salesforce Organization Single Sign-On
SAML Version The version of SAML your identity provider uses. Salesforce currently Federated Authentication is
supports version 1.1 and 2.0. The SAML specifications for the various available in: All Editions
versions are linked below: Delegated Authentication is
• SAML 1.1 available in: Professional,
Enterprise, Performance,
• SAML 2.0 Unlimited, Developer, and
Database.com Editions
Issuer The Entity ID—a URL that uniquely identifies your SAML identity provider.
SAML assertions sent to Salesforce must match this value exactly in the Authentication Providers are
<saml:Issuer> attribute of SAML assertions. available in: Professional,
Enterprise, Performance,
Entity ID The issuer in SAML requests generated by Salesforce, and is also the Unlimited, and Developer
expected audience of any inbound SAML Responses. If you don’t have Editions
domains deployed, this value is always
https://saml.salesforce.com. If you have domains deployed,
Salesforce recommends that you use your custom domain name. You USER PERMISSIONS
can find the value on the Single Sign-On Settings page. From Setup,
To view the settings:
enter Single Sign-On Settings in the Quick Find box,
• “View Setup and
then select Single Sign-On Settings. Configuration”
Identity The authentication certificate issued by your identity provider. To edit the settings:
Provider • “Customize Application”
Certificate AND
Request The certificate (saved in the Certificate and Key Management page in “Modify All Data”
Signing Setup) used to generate the signature on a SAML request to the identity
Certificate provider when Salesforce is the service provider for a service
provider-initiated SAML login. If a certificate has not been saved in the
Certificate and Key Management page in Setup, Salesforce uses the global
proxy certificate by default. Using a saved signing certificate provides
more control over events, such as certificate expiration, than using the
global proxy certificate.
SAML Identity The element in a SAML assertion that contains the string that identifies
Type a Salesforce user. Values are:
Assertion contains User’s Salesforce username
Use this option if your identity provider passes the Salesforce
username in SAML assertions.
638
Set Up and Maintain Your Salesforce Organization Single Sign-On
Field Description
SAML Identity The location in the assertion where a user should be identified. Values are:
Location Identity is in the NameIdentifier element of the Subject
statement
The Salesforce Username or FederationIdentifier is located in the <Subject>
statement of the assertion.
Identity is in an Attribute element
The Salesforce Username or FederationIdentifier is specified in an
<AttributeValue>, located in the <Attribute> of the assertion.
Attribute Name If “Identity is in an Attribute element” is selected, this contains the value of the
AttributeName that is specified in <Attribute> that contains the User ID.
Attribute URI If SAML 1.1 is the specified SAML version and “Identity is in an Attribute element”
is selected, this contains the value of the AttributeNamespace that is specified in
<Attribute>.
Name ID Format If SAML 2.0 is the specified SAML version and “Identity is in an Attribute element”
is selected, this contains the value for the nameid-format. Possible values include
unspecified, emailAddress or persistent. All legal values can be found in the “Name
Identifier Format Identifiers” section of the Assertions and Protocols SAML 2.0 specification.
Service Provider If you’re using My Domain, chose the binding mechanism your identity provider requests for your
Initiated Request SAML messages. Values are:
Binding HTTP POST
HTTP POST binding sends SAML messages using base64-encoded HTML forms.
HTTP Redirect
HTTP Redirect binding sends base64-encoded and URL-encoded SAML messages within URL
parameters.
No matter what request binding is selected, the SAML Response will always use HTTP POST binding.
Identity Provider For SAML 2.0 only: The URL where Salesforce sends a SAML request to start the login sequence.
Login URL If you have domains deployed and a value specified for this field, login requests are usually sent to
the address specified by this field. However, if you need to bypass this value (for example, your
identity provider is down) add the login parameter to the query string for the login page. For
example: http://mydomain.my.salesforce.com?login.
Note: This field appears in Developer Edition production and sandbox organizations by
default and in production organizations only if My Domain is enabled. This field does not
appear in trial organizations or sandboxes linked to trial organizations.
639
Set Up and Maintain Your Salesforce Organization Single Sign-On
Field Description
Identity Provider For SAML 2.0 only: The URL to direct the user to when they click the Logout link in Salesforce. The
Logout URL default is http://www.salesforce.com.
Note: This field appears in Developer Edition production and sandbox organizations by
default and in production organizations only if My Domain is enabled. This field does not
appear in trial organizations or sandboxes linked to trial organizations.
Salesforce Login URL The URL associated with logging in for the Web browser single sign-on flow.
OAuth 2.0 Token For SAML 2.0 only: The ACS URL used with the API when enabling Salesforce as an identity provider
Endpoint in the Web single sign-on OAuth assertion flow.
Custom Error URL The URL of the page users should be directed to if there’s an error during SAML login. It must be a
publicly accessible page, such as a public site Visualforce page. The URL can be absolute or relative.
Note: For SAML 1.1 these parameters must be URL-encoded. This allows the URLs, passed as values that include their own
parameters, to be handled correctly. For SAML 2.0, these parameters are part of the <AttributeStatement>.
– ssoStartPage is the page to which the user should be redirected when trying to log in with SAML. The user is directed to
this page when requesting a protected resource in Salesforce, without an active session. The ssoStartPage should be the
SAML identity provider’s login page.
– startURL is the URL where you want the user to be directed when sign-on completes successfully. This URL can be absolute,
such as https://yourInstance.salesforce.com/001/o or it can be relative, such as /001/o. This parameter
is only used in SAML 1.1. In SAML 2.0, the start URL is the page the user attempted to access before they were authenticated.
– logoutURL is the URL where you want the user to be directed when they click the Logout link in Salesforce. The default is
http://www.salesforce.com.
The following sample TARGET field is for SAML 1.1, and includes properly-encoded parameters. It passes a customized start page, as
well as start and logout URLs embedded as parameter values in the query string.
https://saml.salesforce.com/?ssoStartPage=https%3A%2F
%2Fwww.customer.org%2Flogin%2F&startURL=%2F001%2Fo&logoutURL=https%3A%2F%2Ffanyv88.com%3A443%2Fhttp%2Fwww.salesforce.com
640
Set Up and Maintain Your Salesforce Organization Single Sign-On
The following is an example of an <AttributeStatement> for SAML 2.0 that contains both ssoStartPage and logoutURL:
<saml:AttributeStatement>
<saml:Attribute Name="ssoStartPage"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
<saml:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:anyType">
http://www.customer.org
</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="logoutURL"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
<saml:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">
https://www.salesforce.com
</saml:AttributeValue>
</saml:Attribute>
</saml:AttributeStatement>
SEE ALSO:
SAML
641
Set Up and Maintain Your Salesforce Organization Single Sign-On
SEE ALSO:
SAML
642
Set Up and Maintain Your Salesforce Organization Single Sign-On
USER PERMISSIONS
<Subject>
<NameIdentifier>[email protected]</NameIdentifier>
</Subject>
SAML 2.0:
<saml:Subject>
<saml:NameID
Format="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified">[email protected]</saml:NameID>
<saml:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer">
<saml:SubjectConfirmationData NotOnOrAfter="2008-06-26T02:44:24.173Z"
Recipient="http://localhost:9000"/>
</saml:SubjectConfirmation>
</saml:Subject>
643
Set Up and Maintain Your Salesforce Organization Single Sign-On
SAML User ID type is the Salesforce username, and SAML User ID location is the <Attribute> element
SAML 1.1:
<AttributeStatement>
<Subject>
<NameIdentifier>this value doesn't matter</NameIdentifier>
<SubjectConfirmation>
<ConfirmationMethod>urn:oasis:names:tc:SAML:1.0:cm:bearer</ConfirmationMethod>
</SubjectConfirmation>
</Subject>
<Attribute AttributeName="MySfdcName" AttributeNamespace="MySfdcURI">
<AttributeValue>[email protected]</AttributeValue>
</Attribute>
</AttributeStatement>
SAML 2.0:
<saml:AttributeStatement>
<saml:Attribute FriendlyName="fooAttrib" Name="SFDC_USERNAME"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
<saml:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">
[email protected]
</saml:AttributeValue>
</saml:Attribute>
</saml:AttributeStatement>
SAML User ID type is the Salesforce User object's FederationIdentifier field, and SAML User ID location is the
<NameIdentifier> element in the <Subject> element
SAML 1.1:
<AttributeStatement>
<saml:Subject>
<saml:NameIdentifier Format="urn:oasis:names:tc:SAML:1.0:assertion"
NameQualifier="www.saml_assertions.com">
MyName
</saml:NameIdentifier>
</saml:Subject>
</AttributeStatement>
SAML 2.0:
<saml:Subject>
<saml:NameID
Format="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified">MyName</saml:NameID>
<saml:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer">
<saml:SubjectConfirmationData NotOnOrAfter="2008-06-26T02:48:25.730Z"
Recipient="http://localhost:9000/"/>
</saml:SubjectConfirmation>
</saml:Subject>
Note: The name identifier can be any arbitrary string, including email addresses or numeric ID strings.
644
Set Up and Maintain Your Salesforce Organization Single Sign-On
SAML User ID type is theSalesforce User object's FederationIdentifier field, and SAML User ID location is the
<Attribute> element
SAML 1.1:
<AttributeStatement>
<Subject>
<NameIdentifier>who cares</NameIdentifier>
<SubjectConfirmation>
<ConfirmationMethod>urn:oasis:names:tc:SAML:1.0:cm:bearer</ConfirmationMethod>
</SubjectConfirmation>
</Subject>
<Attribute AttributeName="MyName" AttributeNamespace="MyURI">
<AttributeValue>user101</AttributeValue>
</Attribute>
</AttributeStatement>
SAML 2.0:
<saml:AttributeStatement>
<saml:Attribute FriendlyName="fooAttrib" Name="SFDC_ATTR"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
<saml:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">
user101
</saml:AttributeValue>
</saml:Attribute>
</saml:AttributeStatement>
SAML User ID type is the Salesforce username, and SAML User ID location is the <NameIdentifier> element in the
<Subject> element
The following is a complete SAML response for SAML 2.0:
<samlp:Response ID="_257f9d9e9fa14962c0803903a6ccad931245264310738"
IssueInstant="2009-06-17T18:45:10.738Z" Version="2.0">
<saml:Issuer Format="urn:oasis:names:tc:SAML:2.0:nameid-format:entity">
https://www.salesforce.com
</saml:Issuer>
<samlp:Status>
<samlp:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success"/>
</samlp:Status>
<saml:Assertion ID="_3c39bc0fe7b13769cab2f6f45eba801b1245264310738"
IssueInstant="2009-06-17T18:45:10.738Z" Version="2.0">
<saml:Issuer Format="urn:oasis:names:tc:SAML:2.0:nameid-format:entity">
https://www.salesforce.com
</saml:Issuer>
<saml:Signature>
<saml:SignedInfo>
<saml:CanonicalizationMethod
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
<saml:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
645
Set Up and Maintain Your Salesforce Organization Single Sign-On
<saml:Reference URI="#_3c39bc0fe7b13769cab2f6f45eba801b1245264310738">
<saml:Transforms>
<saml:Transform
Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
<saml:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
<ec:InclusiveNamespaces PrefixList="ds saml xs"/>
</saml:Transform>
</saml:Transforms>
<saml:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<saml:DigestValue>vzR9Hfp8d16576tEDeq/zhpmLoo=
</saml:DigestValue>
</saml:Reference>
</saml:SignedInfo>
<saml:SignatureValue>
AzID5hhJeJlG2llUDvZswNUrlrPtR7S37QYH2W+Un1n8c6kTC
Xr/lihEKPcA2PZt86eBntFBVDWTRlh/W3yUgGOqQBJMFOVbhK
M/CbLHbBUVT5TcxIqvsNvIFdjIGNkf1W0SBqRKZOJ6tzxCcLo
9dXqAyAUkqDpX5+AyltwrdCPNmncUM4dtRPjI05CL1rRaGeyX
3kkqOL8p0vjm0fazU5tCAJLbYuYgU1LivPSahWNcpvRSlCI4e
Pn2oiVDyrcc4et12inPMTc2lGIWWWWJyHOPSiXRSkEAIwQVjf
Qm5cpli44Pv8FCrdGWpEE0yXsPBvDkM9jIzwCYGG2fKaLBag==
</saml:SignatureValue>
<saml:KeyInfo>
<saml:X509Data>
<saml:X509Certificate>
MIIEATCCAumgAwIBAgIBBTANBgkqhkiG9w0BAQ0FADCBgzELM
[Certificate truncated for readability...]
</saml:X509Certificate>
</saml:X509Data>
</saml:KeyInfo>
</saml:Signature>
<saml:Subject>
<saml:NameID Format="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified">
[email protected]
</saml:NameID>
<saml:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer">
<saml:SubjectConfirmationData NotOnOrAfter="2009-06-17T18:50:10.738Z"
Recipient="https://login.salesforce.com"/>
</saml:SubjectConfirmation>
</saml:Subject>
<saml:Conditions NotBefore="2009-06-17T18:45:10.738Z"
NotOnOrAfter="2009-06-17T18:50:10.738Z">
<saml:AudienceRestriction>
<saml:Audience>https://saml.salesforce.com</saml:Audience>
</saml:AudienceRestriction>
</saml:Conditions>
<saml:AuthnStatement AuthnInstant="2009-06-17T18:45:10.738Z">
<saml:AuthnContext>
<saml:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:unspecified
646
Set Up and Maintain Your Salesforce Organization Single Sign-On
</saml:AuthnContextClassRef>
</saml:AuthnContext>
</saml:AuthnStatement>
<saml:AttributeStatement>
<saml:Attribute Name="portal_id">
<saml:AttributeValue xsi:type="xs:anyType">060D00000000SHZ
</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="organization_id">
<saml:AttributeValue xsi:type="xs:anyType">00DD0000000F7L5
</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="ssostartpage"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
<saml:AttributeValue xsi:type="xs:anyType">
http://www.salesforce.com/security/saml/saml20-gen.jsp
</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="logouturl"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
<saml:AttributeValue xsi:type="xs:string">
http://www.salesforce.com/security/del_auth/SsoLogoutPage.html
</saml:AttributeValue>
</saml:Attribute>
</saml:AttributeStatement>
</saml:Assertion>
</samlp:Response>
<saml:Attribute Name="organization_id">
<saml:AttributeValue xsi:type="xs:anyType">00DD0000000F7P5</saml:AttributeValue>
</saml:Attribute>
</saml:AttributeStatement>
647
Set Up and Maintain Your Salesforce Organization Single Sign-On
The following is a complete SAML assertion statement that can be used for single sign-on for portals. The organization is using federated
sign-on, which is included in an attribute (see the <saml:AttributeStatement> in bold text in the assertion), not in the subject.
<samlp:Response ID="_f97faa927f54ab2c1fef230eee27cba21245264205456"
IssueInstant="2009-06-17T18:43:25.456Z" Version="2.0">
<saml:Issuer Format="urn:oasis:names:tc:SAML:2.0:nameid-format:entity">
https://www.salesforce.com</saml:Issuer>
<samlp:Status>
<samlp:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success"/>
</samlp:Status>
<saml:Assertion ID="_f690da2480a8df7fcc1cbee5dc67dbbb1245264205456"
IssueInstant="2009-06-17T18:45:10.738Z" Version="2.0">
<saml:Issuer Format="urn:oasis:names:tc:SAML:2.0:nameid-format:entity">
https://www.salesforce.com
</saml:Issuer>
<saml:Signature>
<saml:SignedInfo>
<saml:CanonicalizationMethod
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
<saml:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
<saml:Reference URI="#_f690da2480a8df7fcc1cbee5dc67dbbb1245264205456">
<saml:Transforms>
<saml:Transform
Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
<saml:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
<ec:InclusiveNamespaces PrefixList="ds saml xs"/>
</saml:Transform>
</saml:Transforms>
<saml:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<saml:DigestValue>vzR9Hfp8d16576tEDeq/zhpmLoo=
</saml:DigestValue>
</saml:Reference>
</saml:SignedInfo>
<saml:SignatureValue>
AzID5hhJeJlG2llUDvZswNUrlrPtR7S37QYH2W+Un1n8c6kTC
Xr/lihEKPcA2PZt86eBntFBVDWTRlh/W3yUgGOqQBJMFOVbhK
M/CbLHbBUVT5TcxIqvsNvIFdjIGNkf1W0SBqRKZOJ6tzxCcLo
9dXqAyAUkqDpX5+AyltwrdCPNmncUM4dtRPjI05CL1rRaGeyX
3kkqOL8p0vjm0fazU5tCAJLbYuYgU1LivPSahWNcpvRSlCI4e
Pn2oiVDyrcc4et12inPMTc2lGIWWWWJyHOPSiXRSkEAIwQVjf
Qm5cpli44Pv8FCrdGWpEE0yXsPBvDkM9jIzwCYGG2fKaLBag==
</saml:SignatureValue>
<saml:KeyInfo>
<saml:X509Data>
<saml:X509Certificate>
MIIEATCCAumgAwIBAgIBBTANBgkqhkiG9w0BAQ0FADCBgzELM
Certificate truncated for readability...
</saml:X509Certificate>
</saml:X509Data>
</saml:KeyInfo>
</saml:Signature>
648
Set Up and Maintain Your Salesforce Organization Single Sign-On
<saml:Subject>
<saml:NameID Format="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified">null
</saml:NameID>
<saml:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer">
<saml:SubjectConfirmationData NotOnOrAfter="2009-06-17T18:48:25.456Z"
Recipient="https://login.salesforce.com/?saml=02HKiPoin4f49GRMsOdFmhTgi
_0nR7BBAflopdnD3gtixujECWpxr9klAw"/>
</saml:SubjectConfirmation>
</saml:Subject>
<saml:Conditions NotBefore="2009-06-17T18:43:25.456Z"
NotOnOrAfter="2009-06-17T18:48:25.456Z">
<saml:AudienceRestriction>
<saml:Audience>https://saml.salesforce.com</saml:Audience>
</saml:AudienceRestriction>
</saml:Conditions>
<saml:AuthnStatement AuthnInstant="2009-06-17T18:43:25.456Z">
<saml:AuthnContext>
<saml:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:unspecified
</saml:AuthnContextClassRef>
</saml:AuthnContext>
</saml:AuthnStatement>
<saml:AttributeStatement>
<saml:Attribute Name="portal_id">
<saml:AttributeValue xsi:type="xs:anyType">060D00000000SHZ
</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="organization_id">
<saml:AttributeValue xsi:type="xs:anyType">00DD0000000F7Z5
</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="ssostartpage"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
<saml:AttributeValue xsi:type="xs:anyType">
649
Set Up and Maintain Your Salesforce Organization Single Sign-On
http://www.salesforce.com/qa/security/saml/saml20-gen.jsp
</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="logouturl"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
<saml:AttributeValue xsi:type="xs:string">
http://www.salesforce.com/qa/security/del_auth/SsoLogoutPage.html
</saml:AttributeValue>
</saml:Attribute>
</saml:AttributeStatement>
</saml:Assertion>
</samlp:Response>
650
Set Up and Maintain Your Salesforce Organization Single Sign-On
</Authenticate>
</soapenv:Body>
</soapenv:Envelope>
<saml:Attribute Name="User.Username"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
<saml:AttributeValue xsi:type="xs:anyType">[email protected]
</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="User.Phone"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
<saml:AttributeValue xsi:type="xs:anyType">415-123-1234
</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="User.FirstName"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
<saml:AttributeValue xsi:type="xs:anyType">Testuser
</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="User.LanguageLocaleKey"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
<saml:AttributeValue xsi:type="xs:anyType">en_US
</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="User.CompanyName"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
<saml:AttributeValue xsi:type="xs:anyType">Salesforce.com
</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="User.Alias"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
<saml:AttributeValue xsi:type="xs:anyType">tlee2
651
Set Up and Maintain Your Salesforce Organization Single Sign-On
</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="User.CommunityNickname"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
<saml:AttributeValue xsi:type="xs:anyType">tlee2
</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="User.UserRoleId"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
<saml:AttributeValue xsi:type="xs:anyType">000000000000000
</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="User.Title"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
<saml:AttributeValue xsi:type="xs:anyType">Mr.
</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="User.LocaleSidKey"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
<saml:AttributeValue xsi:type="xs:anyType">en_CA
</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="User.Email"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
<saml:AttributeValue xsi:type="xs:anyType">[email protected]
</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="User.TimeZoneSidKey"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
<saml:AttributeValue xsi:type="xs:anyType">America/Los_Angeles
</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="User.LastName"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
<saml:AttributeValue xsi:type="xs:anyType">Lee
</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="User.ProfileId"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
<saml:AttributeValue xsi:type="xs:anyType">00ex0000001pBNL
652
Set Up and Maintain Your Salesforce Organization Single Sign-On
</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="User.IsActive"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
<saml:AttributeValue xsi:type="xs:anyType">1
</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="User.EmailEncodingKey"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
<saml:AttributeValue xsi:type="xs:anyType">UTF-8
</saml:AttributeValue>
</saml:Attribute>
</saml:AttributeStatement>
SEE ALSO:
SAML
653
Set Up and Maintain Your Salesforce Organization Single Sign-On
SEE ALSO:
SAML
654
Set Up and Maintain Your Salesforce Organization Single Sign-On
If a user tries to log in to Salesforce and fails, the invalid SAML assertion is used to automatically Federated Authentication is
populate the SAML Assertion Validator if possible. available in: All Editions
Delegated Authentication is
2. From Setup, enter Single Sign-On Settings in the Quick Find box, then select
available in: Professional,
Single Sign-On Settings, then click SAML Assertion Validator.
Enterprise, Performance,
3. Enter the SAML assertion into the text box, and click Validate. Unlimited, Developer, and
4. Share the results of the validation errors with your identity provider. Database.com Editions
Authentication Providers are
available in: Professional,
SEE ALSO:
Enterprise, Performance,
SAML Unlimited, and Developer
Single Sign-On Editions
Best Practices for Implementing Single Sign-On
Administrator setup guide: Single Sign-On Implementation Guide USER PERMISSIONS
655
Set Up and Maintain Your Salesforce Organization Single Sign-On
Format
The Format attribute of an <Issuer> statement must be set to USER PERMISSIONS
"urn:oasis:names:tc:SAML:2.0:nameid-format:entity" or not set at
all. To view the settings:
• “View Setup and
For example: Configuration”
To edit the settings:
• “Customize Application”
AND
“Modify All Data”
<saml:Issuer
Format="urn:oasis:names:tc:SAML:2.0:nameid-format:entity">https://www.salesforce.com</saml:Issuer>
Issuer
The issuer specified in an assertion must match the issuer specified in Salesforce.
Subject
The subject of the assertion must be resolved to be either the Salesforce username or the Federation ID of the user.
Audience
The <Audience> value is required and must match the Entity ID from the single sign-on configuration. The default value
is https://saml.salesforce.com.
656
Set Up and Maintain Your Salesforce Organization Single Sign-On
Recipient
The recipient specified in an assertion must match either the Salesforce login URL specified in the Salesforce configuration or the
OAuth 2.0 token endpoint. This is a required portion of the assertion and is always verified.
Signature
A valid signature must be included in the assertion. The signature must be created using the private key associated with the certificate
that was provided in the SAML configuration.
Recipient
Verifies that the recipient and organization ID received in the assertion matches the expected recipient and organization ID, as
specified in the single sign-on configuration. This is an optional portion of the assertion and is only verified if it’s present. For example:
Recipient that we found in the assertion: http://aalbert-salesforce.com:8081/
?saml=02HKiPoin4zeKLPYxfj3twkPsNSJF3fxsH0Jnq4vVeQr3xNkIWmZC_IVk3
Recipient that we expected based on the Single Sign-On Settings page:
http://asmith.salesforce.com:8081/
?saml=EK03Almz90Cik_ig0L97.0BRme6mT4o6nzi0t_JROL6HLbdR1WVP5aQO5w
Organization Id that we expected: 00Dx0000000BQlI
Organization Id that we found based on your assertion: 00D000000000062
SEE ALSO:
SAML
657
Set Up and Maintain Your Salesforce Organization Single Sign-On
• Increased User Adoption: Users only need to memorize a single password to access both their main site and Salesforce. Users are
more likely to use your Salesforce application on a regular basis.
• Increased Security: Any password policies that you have established for your corporate network are also in effect for Salesforce. In
addition, sending an authentication credential that is only valid for a single use can increase security for users who have access to
sensitive data.
IN THIS SECTION:
Just-in-Time Provisioning Requirements and SAML Assertion Fields
Just-in-Time Provisioning and SAML Assertion Fields for Portals
Just-in-Time Provisioning for Communities
Just-in-Time Provisioning Errors
Following are the error codes and descriptions for Just-in-Time provisioning for SAML.
SEE ALSO:
Just-in-Time Provisioning Requirements and SAML Assertion Fields
Just-in-Time Provisioning and SAML Assertion Fields for Portals
Just-in-Time Provisioning for Communities
Just-in-Time Provisioning Errors
Example SAML Assertions
Single Sign-On
• ProfileIDs change per organization, even for standard profiles. To make it easier to find the profile name, Salesforce allows you to do
a profile name lookup by passing the ProfileName into the ProfileId field.
The following standard fields are supported. Some fields are required.
658
Set Up and Maintain Your Salesforce Organization Single Sign-On
CallCenter
City
CompanyName
Country
DelegatedApproverId
Department
Division
EmployeeNumber
Extension
Fax
FederationIdentifier (insert If present, it must match the SAML subject, or the SAML subject is taken
only) instead. Can't be updated with SAML.
FirstName
ForecastEnabled
IsActive
LastName Y
LanguageLocaleKey
Manager
MobilePhone
Phone
ReceivesAdminInfoEmails
ReceivesInfoEmails
State
659
Set Up and Maintain Your Salesforce Organization Single Sign-On
Title
Zip
SEE ALSO:
About Just-in-Time Provisioning for SAML
Just-in-Time Provisioning and SAML Assertion Fields for Portals
Just-in-Time Provisioning for Communities
Note: Starting with Summer ’13, Customer Portals and partner portals are no longer available for new organizations. Existing
organizations continue to have access to these portals. If you don’t have a portal, but want to easily share information with your
customers or partners, try Communities.
Existing organizations using Customer Portals and partner portals may continue to use their portals or transition to Communities.
Contact your Salesforce Account Executive for more information.
660
Set Up and Maintain Your Salesforce Organization Single Sign-On
• If the portal isn’t self-registration enabled and a default new user profile and role aren’t specified, the User.ProfileId field
must contain a valid profile name or ID associated with the portal. In addition, the User.PortalRole field must contain a valid
portal role name or ID.
In addition to the standard fields supported for regular SAML JIT users, these fields are supported for accounts. Some fields are required.
AnnualRevenue
Description
Fax
FederationIdentifier (insert Y If present, it must match the SAML subject or the SAML subject is taken
only) instead. Can’t be updated using SAML.
IsCustomerPortal
IsPartner
661
Set Up and Maintain Your Salesforce Organization Single Sign-On
Ownership
Phone
Rating
Street
TickerSymbol
Website
Zip
In addition to the standard fields supported for regular SAML JIT users, these fields are supported for contacts.
CanAllowPortalSelfReg Name|Phone
Department
Description
DoNotCall
Fax
HasOptedOutofEmail
HasOptedOutofFax
HomePhone
LeadSource
Mailing Street|City|State|PostalCode|Country
MobilePhone
Owner
Other Street|City|State|PostalCode|Country
OtherPhone
Phone
Salutation
662
Set Up and Maintain Your Salesforce Organization Single Sign-On
SEE ALSO:
About Just-in-Time Provisioning for SAML
Just-in-Time Provisioning Requirements and SAML Assertion Fields
Just-in-Time Provisioning for Communities
Note:
• Just-in-time provisioning requires a Federation ID in the user type. In SAML User ID Type, select Assertion contains
the Federation ID from the User object.
• If your identity provider previously used the Salesforce username, communicate to them that they must use the Federation
ID.
2. The Entity ID should be unique across your organization and begin with https. You can’t have two SAML configurations with
the same Entity ID in one organization. Specify whether you want to use the base domain (https://saml.salesforce.com)
or the community URL (such as https://acme.force.com/customers) for the Entity ID. You must share this information
with your identity provider.
Tip: Generally, use the community URL as the entity ID. If you are providing Salesforce to Salesforce services, you must specify
the community URL.
3. In SAML User ID Type, select Assertion contains the Federation ID from the User object. If
your identity provider previously used the Salesforce username, communicate to them that they must use the Federation ID.
663
Set Up and Maintain Your Salesforce Organization Single Sign-On
If an Assertion Decryption Certificate has been uploaded to the organization’s SAML Single Sign-On Settings, include the certificate
ID in the URL using the sc parameter, such as
Recipient="https://acme.force.com/customers/login?so=00DD0000000JsCM&sc=0LE000000Dp"
where 0LE000000Dp is the certificate ID.
• Salesforce attempts to match the Federation ID in the subject of the SAML assertion (or in an attribute element, depending
upon how the SAML Identity Location is defined in the SAML Single Sign-On Settings) to the FederationIdentifier field
of an existing user record.
1. If a matching user record is found, Salesforce uses the attributes in the SAML assertion to update the specified fields.
2. If a user with a matching user record isn't found, then Salesforce searches the contacts for a match based on the Contact
ID (User.Contact) or email (Contact.Email). Contact.Email and Contact.LastName are both required
properties when User.Contact is not specified, but matching is only based on Contact.Email when both properties
exist.
i. If a matching contact record is found, Salesforce uses the attributes in the SAML assertion to update the specified contact
fields, and then inserts a new user record.
ii. If a matching contact record isn't found, then Salesforce searches the accounts for a match based on the
Contact.Account or Account.AccountNumber specified in the SAML assertion. Account.AccountNumber
and Account.Name are both required properties when Contact.Account is not specified, but matching is only
based on Account.AccountNumber when both properties exist.
i. If a matching account record is found, Salesforce inserts a new user record and updates the account records based the
attributes provided in the SAML assertion.
ii. If a matching account record isn't found, Salesforce inserts new account, contact, and user records based on the attributes
provided in the SAML assertion.
In the case of an inactive user account, the user account is updated, but left inactive unless User.IsActive in the JIT assertion
is set to true. If there is no user account with that Federation ID, the system creates a new user.
• If the community doesn’t have self-registration enabled, and a default new user profile and role aren’t specified, the
User.ProfileId field must contain a valid profile name or ID associated with the community.
Salesforce attempts to match the Federation ID in the subject of the SAML assertion to the FederationIdentifier field
of an existing user record.
Note: Salesforce also supports custom fields on the User object in the SAML assertion. Any attribute in the assertion that starts
with User is parsed as a custom field. For example, the attribute User.NumberOfProductsBought__c in the assertion
is placed into the field NumberOfProductsBought for the provisioned user. Custom fields are not supported for Accounts
or Contacts.
In addition to the standard fields supported for regular SAML JIT users, these fields are supported for accounts.
664
Set Up and Maintain Your Salesforce Organization Single Sign-On
AnnualRevenue
Description
Fax
FederationIdentifier (insert Y If present, it must match the SAML subject or the SAML subject is taken
only) instead. Can’t be updated using SAML.
IsCustomerPortal
IsPartner
NumberOfEmployees
Ownership
Phone
Portal Role
Rating
Street
TickerSymbol
Website
Zip
In addition to the standard fields supported for regular SAML JIT users, these fields are supported for contacts.
CanAllowPortalSelfReg Name|Phone
Department
Description
DoNotCall
Fax
HasOptedOutofEmail
HasOptedOutofFax
HomePhone
665
Set Up and Maintain Your Salesforce Organization Single Sign-On
Mailing Street|City|State|PostalCode|Country
MobilePhone
Owner
Other Street|City|State|PostalCode|Country
OtherPhone
Phone
Salutation
Title
SEE ALSO:
About Just-in-Time Provisioning for SAML
Just-in-Time Provisioning Requirements and SAML Assertion Fields
Note: Salesforce redirects the user to a custom error URL if one is specified in your SAML configuration.
Error Messages
666
Set Up and Maintain Your Salesforce Organization Single Sign-On
667
Set Up and Maintain Your Salesforce Organization Single Sign-On
SEE ALSO:
About Just-in-Time Provisioning for SAML
Just-in-Time Provisioning and SAML Assertion Fields for Portals
Learn how to configure single sign-on (SSO) and OAuth-based API access to Salesforce from
other sources of user identity. USER PERMISSIONS
Do the following to set up a custom authentication provider for SSO. To view the settings:
• “View Setup and
• Configure the service provider website. Configuration”
• Create a registration handler using Apex. To edit the settings:
• Define the authentication provider in your org. • “Customize Application”
When set up is complete, the authentication provider flow is as follows. AND
1. The user tries to log in to Salesforce using a third-party (external) identity. “Manage Auth.
Providers”
2. The login request is redirected to the external authentication provider.
3. The user follows the third-party login process and approves access.
4. The external authentication provider redirects the user to Salesforce with credentials.
5. The user is signed in to Salesforce.
Note: If users have an existing Salesforce session, after authentication with the third party, they’re redirected to the page where
they can approve the link to their Salesforce account.
668
Set Up and Maintain Your Salesforce Organization Single Sign-On
• Salesforce
• Twitter
• Janrain
• Any service provider who implements the OpenID Connect protocol
• Any service provider who supports OAuth but not the OpenID Connect protocol
IN THIS SECTION:
Configure a Facebook Authentication Provider
Configure a Facebook authentication provider to let your users log in to your Salesforce org using their Facebook credentials.
Configure a Google Authentication Provider
Configure Google as an authentication provider to let users log in to your Salesforce org using their Google credentials.
Configure a Janrain Authentication Provider
Configure Janrain as an authentication provider to let users log in to your Salesforce org using their Janrain credentials.
Configure a Salesforce Authentication Provider
To configure a Salesforce authentication provider, create a connected app that uses single sign-on (SSO).
Configure an OpenID Connect Authentication Provider
You can use any third-party web app that implements the server side of the OpenID Connect protocol, such as Amazon, Google,
and PayPal, as an authentication provider.
Configure a Microsoft® Access Control Service Authentication Provider
You can use Microsoft Access Control Service as an authentication provider using the OAuth protocol. Authorization is typically done
by a Microsoft Office 365 service like SharePoint® Online.
Configure a LinkedIn Authentication Provider
Configure LinkedIn as an authentication provider to let users log in to your Salesforce org using their LinkedIn credentials.
Configure a Twitter Authentication Provider
Configure Twitter as an authentication provider to let users log in to a Salesforce org from their Twitter account.
669
Set Up and Maintain Your Salesforce Organization Single Sign-On
Note: You can skip this step by allowing Salesforce to manage the values for you. For more information, see Use Salesforce-Managed
Values in the Auth. Provider Setup Page.
1. From Setup, enter Auth. Providers in the Quick Find box, then select Auth. Providers.
2. Click New.
3. For provider type, select Facebook.
4. Enter a name for the provider.
5. Enter the URL suffix, which is used in the client configuration URLs. For example, if the URL suffix of your provider is MyFacebookProvider,
your single sign-on (SSO) URL is similar to:
https://login.salesforce.com/auth/sso/00Dx00000000001/MyFacebookProvider.
6. Use the Facebook app ID for the Consumer Key field.
7. Use the Facebook app secret for the Consumer Secret field.
670
Set Up and Maintain Your Salesforce Organization Single Sign-On
Tip: You can add query string parameters to the base URL, if necessary. For example, to get a refresh token from Facebook
for offline access, use
https://accounts.facebook.com/o/oauth2/auth?access_type=offline&approval_prompt=force.
You need the approval_prompt parameter to ask the user to accept the refresh action so that Facebook continues
to provide refresh tokens after the first one.
b. Enter the Token Endpoint URL from Facebook. For example, https://www.facebook.com/v2.2/dialog/oauth.
If you leave this field blank, Salesforce uses the version of the Facebook API that your app uses.
c. Enter the User Info Endpoint URL to change the values requested from Facebook’s profile API. See
https://developers.facebook.com/docs/facebook-login/permissions/v2.0#reference-public_profile for more information on
fields. The requested fields must correspond to the requested scopes. If you leave this field blank, Salesforce uses the version of
the Facebook API that your app uses.
d. Default Scopes to send along with the request to the authorization endpoint. Otherwise, the hardcoded defaults for the
provider type are used (see Facebook’s developer documentation for these defaults).
For more information, see Use the Scope Parameter.
e. Custom Error URL for the provider to use to report any errors.
f. Custom Logout URL to provide a specific destination for users after they log out, if they authenticated using the SSO flow.
Use this field to direct users to a branded logout page or destination other than the default Salesforce logout page. The URL
must be fully qualified with an http or https prefix, such as https://acme.my.salesforce.com.
g. Select an existing Apex class as the Registration Handler class. Or click Automatically create a registration handler
template to create an Apex class template for the registration handler. Edit this class later, and modify the default content before
using it.
Note: A Registration Handler class is required for Salesforce to generate the SSO initialization URL.
h. For Execute Registration As, select the user that runs the Apex handler class. The user must have the “Manage Users”
permission. A user is required regardless of whether you’re specifying an existing registration handler class or creating one from
the template.
i. To use a portal with your provider, select the portal from the Portal dropdown list.
j. Use the Icon URL field to add a path to an icon to display as a button on the login page for a community. This icon applies
to a community only. It doesn’t appear on the login page for your Salesforce org or domain created with My Domain. Users click
the button to log in with the associated authentication provider for the community.
Specify a path to your own image, or copy the URL for one of our sample icons into the field.
9. Click Save.
Note the generated Auth. Provider Id value. You use it with the Auth.AuthToken Apex class.
Several client configuration URLs are generated after defining the authentication provider.
• Test-Only Initialization URL—Salesforce admins use this URL to ensure that the third-party provider is set up correctly. The admin
opens this URL in a browser, signs in to the third party, and is redirected back to Salesforce with a map of attributes.
671
Set Up and Maintain Your Salesforce Organization Single Sign-On
• Single Sign-On Initialization URL—Use this URL to perform SSO into Salesforce from a third party using its third-party credentials.
The user opens this URL in a browser and logs in to the third party. The third party either creates a user or updates an existing user.
Then the third party signs the user into Salesforce as that user.
• Existing User Linking URL—Use this URL to link existing Salesforce users to a third-party account. The user opens this URL in a browser,
signs in to the third party, signs in to Salesforce, and approves the link.
• Oauth-Only Initialization URL—Use this URL to obtain OAuth access tokens for a third party. Users must authenticate with Salesforce
for the third-party service to get a token. This flow doesn’t provide for future SSO functionality.
• Callback URL—Use the callback URL for the endpoint that the authentication provider calls back to for configuration. The authentication
provider must redirect to the callback URL with information for each client configuration URL.
Client configuration URLs support additional request parameters that enable you to direct users to log in to specific sites, obtain customized
permissions from the third party, or go to a specific location after authenticating.
SEE ALSO:
Use Request Parameters with Client Configuration URLs
External Authentication Providers
672
Set Up and Maintain Your Salesforce Organization Single Sign-On
Note: You can skip this step by allowing Salesforce to manage the values for you. For more information, see Use Salesforce-Managed
Values in the Auth. Provider Setup Page.
1. From Setup, enter Auth. Providers in the Quick Find box, then select Auth. Providers.
2. Click New.
3. For provider type, select Google.
4. Enter a name for the provider.
5. Enter the URL suffix, which is used in the client configuration URLs. For example, if the URL suffix of your provider is MyGoogleProvider,
your SSO URL is similar to:
https://login.salesforce.com/auth/sso/00Dx00000000001/MyGoogleProvider.
6. Use the Google app ID for the Consumer Key field.
7. Use the Google app secret for the Consumer Secret field.
8. Optionally, set the following fields.
a. Authorize Endpoint URL—Specify the base authorization URL from Google. For example,
https://accounts.google.com/o/oauth2/authorize. The URL must start with
https://accounts.google.com/o/oauth2.
Tip: You can add query string parameters to the base URL, if necessary. For example, to get a refresh token from Google
for offline access, use
https://accounts.google.com/o/oauth2/auth?access_type=offline&approval_prompt=force.
You need the approval_prompt parameter to ask the user to accept the refresh action so that Google continues to
provide refresh tokens after the first one.
b. Token Endpoint URL—Specify the OAuth token URL from Google. For example,
https://accounts.google.com/o/oauth2/accessToken. The URL must start with
https://accounts.google.com/o/oauth2.
c. User Info Endpoint URL—Change the values requested from Google’s profile API. The URL must start with
https://www.googleapis.com/oauth2/.
d. Default Scopes—Send with the request to the authorization endpoint. Otherwise, the hardcoded defaults for the provider
type are used. For the defaults, see Google’s developer documentation.
For more information, see Use the Scope Parameter.
Note: A Registration Handler class is required for Salesforce to generate the SSO initialization URL.
673
Set Up and Maintain Your Salesforce Organization Single Sign-On
h. For Execute Registration As, select the user that runs the Apex handler class. The user must have the “Manage Users”
permission. A user is required regardless of whether you’re specifying an existing registration handler class or creating one from
the template.
i. To use a portal with your provider, select the portal from the Portal list.
j. Use the Icon URL field to add a path to an icon to display as a button on the login page for a community. This icon applies
to a community only. It doesn’t appear on the login page for your Salesforce org or domain created with My Domain. Users click
the button to log in with the associated authentication provider for the community.
Specify a path to your own image, or copy the URL for one of our sample icons into the field.
9. Click Save.
Note the generated Auth. Provider Id value. You use it with the Auth.AuthToken Apex class.
Several client configuration URLs are generated after defining the authentication provider.
• Test-Only Initialization URL—Admins use this URL to ensure that the third-party provider is set up correctly. The admin opens this
URL in a browser, signs in to the third party, and is redirected back to Salesforce with a map of attributes.
• Single Sign-On Initialization URL—Use this URL to perform single sign-on (SSO) into Salesforce from a third party (using third-party
credentials). The user opens this URL in a browser and signs in to the third party. The third party either creates a user or updates an
existing user. Then the third party signs the user into Salesforce as that user.
• Existing User Linking URL—Use this URL to link existing Salesforce users to a third-party account. The user opens this URL in a browser,
signs in to the third party, signs in to Salesforce, and approves the link.
• Oauth-Only Initialization URL—Use this URL to obtain OAuth access tokens for a third party. Users must authenticate with Salesforce
for the third-party service to get a token;. This flow doesn’t provide for future SSO functionality.
• Callback URL—Use the callback URL for the endpoint that the authentication provider calls back to for configuration. The authentication
provider redirects to the callback URL with information for each client configuration URL.
Client configuration URLs support other request parameters that enable you to direct users to log in to specific sites, obtain customized
permissions from a third party, or go to a location after authenticating.
674
Set Up and Maintain Your Salesforce Organization Single Sign-On
Note: A Registration Handler class is required for Salesforce to generate the single sign-on initialization URL.
675
Set Up and Maintain Your Salesforce Organization Single Sign-On
10. For Execute Registration As, select the user that runs the Apex handler class. The user must have the “Manage Users”
permission. A user is required regardless of whether you’re specifying an existing registration handler class or creating one from the
template.
11. To use a portal with your provider, select the portal from the Portal dropdown list.
12. Use the Icon URL field to add a path to an icon to display as a button on the login page for a community. This icon applies to a
community only. It doesn’t appear on the login page for your Salesforce org or domain created with My Domain. Users click the
button to log in with the associated authentication provider for the community.
Specify a path to your own image, or copy the URL for one of our sample icons into the field.
https://login.salesforce.com/services/authcallback/00DD##############/JanrainApp?flowtype=sso
For a domain created with My Domain, replace login.salesforce.com with your My Domain name.
For a community, add the community parameter and pass it to the login widget as the token URL. For example,
janrain.settings.tokenUrl='https://login.salesforce.com/services/authcallback/00DD##############/JanrainApp'
+'?flowtype=sso&community='+encodeURIComponent('https://acme.force.com/customers');
676
Set Up and Maintain Your Salesforce Organization Single Sign-On
3. Create a site and specify the page that you created as the home page for the site.
SEE ALSO:
Use Request Parameters with Client Configuration URLs
External Authentication Providers
Note: You can skip this step by allowing Salesforce to manage the values for you. For more information, see Use Salesforce-Managed
Values in the Auth. Provider Setup Page.
1. From Setup, enter Auth. Providers in the Quick Find box, then select Auth. Providers.
2. Click New.
3. For provider type, select Salesforce.
4. Enter a name for the provider.
5. Enter the URL suffix, which is used in the client configuration URLs. For example, if the URL suffix of your provider is MySFDCProvider,
your SSO URL is similar to https://login.salesforce.com/auth/sso/00Dx00000000001/MySFDCProvider.
6. Paste the consumer key value from the connected app definition into the Consumer Key field.
7. Paste the consumer secret value from the connected app definition into the Consumer Secret field.
8. Optionally, set the following fields.
677
Set Up and Maintain Your Salesforce Organization Single Sign-On
c. Default Scopes to send along with the request to the authorization endpoint. Otherwise, the hardcoded default is used.
For more information, see Use the Scope Parameter.
d. Include org ID in third-party account links. This option appears if the authentication provider was
created before the Winter ’15 release because user identities didn’t include an org ID. As a result, when an existing org had
multiple sources, such as sandboxes, because the destination org couldn’t differentiate between users with the same user ID.
To keep the identities separate in the destination org, select this option. However, if you enable this option, your users must
reapprove all their third-party links. The links are listed in the Third-Party Account Links section of a user’s detail page. As of
Winter ’15, user identities contain the org ID, so this option doesn’t appear.
e. Custom Error URL for the provider to use to report any errors.
f. Custom Logout URL to provide a specific destination for users after they log out, if they authenticated using the SSO flow.
Use this field to direct users to a branded logout page or destination other than the default Salesforce logout page. The URL
must be fully qualified with an http or https prefix, such as https://acme.my.salesforce.com.
9. Select an existing Apex class as the Registration Handler class. Or click Automatically create a registration handler
template to create an Apex class template for the registration handler. Edit this class later, and modify the default content before
using it.
Note: A Registration Handler class is required for Salesforce to generate the SSO initialization URL.
10. For Execute Registration As, select the user that runs the Apex handler class. The user must have the “Manage Users”
permission. A user is required regardless of whether you’re specifying an existing registration handler class or creating one from the
template.
11. To use a portal with your provider, select the portal from the Portal dropdown list.
12. Use the Icon URL field to add a path to an icon to display as a button on the login page for a community. This icon applies to a
community only. It doesn’t appear on the login page for your Salesforce org or domain created with My Domain. Users click the
button to log in with the associated authentication provider for the community.
Specify a path to your own image, or copy the URL for one of our sample icons into the field.
14. Return to the connected app definition that you created earlier from Setup. Paste the callback URL value from the authentication
provider into the Callback URL field.
Several client configuration URLs are generated after defining the authentication provider.
678
Set Up and Maintain Your Salesforce Organization Single Sign-On
• Test-Only Initialization URL—Salesforce admins use this URL to ensure that the third-party provider is set up correctly. The admin
opens this URL in a browser, signs in to the third party, and is redirected back to Salesforce with a map of attributes.
• Single Sign-On Initialization URL—Use this URL to perform SSO into Salesforce from a third party using its third-party credentials.
The user opens this URL in a browser and logs in to the third party. The third party either creates a user or updates an existing user.
Then the third party signs the user into Salesforce as that user.
• Existing User Linking URL—Use this URL to link existing Salesforce users to a third-party account. The user opens this URL in a browser,
signs in to the third party, signs in to Salesforce, and approves the link.
• Oauth-Only Initialization URL—Use this URL to obtain OAuth access tokens for a third party. Users must authenticate with Salesforce
for the third-party service to get a token. This flow doesn’t provide for future SSO functionality.
• Callback URL—Use the callback URL for the endpoint that the authentication provider calls back to for configuration. The authentication
provider must redirect to the callback URL with information for each client configuration URL.
Client configuration URLs support additional request parameters that enable you to direct users to log in to specific sites, obtain customized
permissions from the third party, or go to a specific location after authenticating.
SEE ALSO:
Use Request Parameters with Client Configuration URLs
External Authentication Providers
• Amazon
679
Set Up and Maintain Your Salesforce Organization Single Sign-On
• Google
• PayPal
Tip: You can add query string parameters to the base URL, if necessary. For example, to get a refresh token from Google for
offline access, use
https://accounts.google.com/o/oauth2/auth?access_type=offline&approval_prompt=force.
You need the approval_prompt parameter to ask the user to accept the refresh action so that Google continues to
provide refresh tokens after the first one.
11. Optionally, select Send access token in header to have the token sent in a header instead of a query string.
12. Optionally, set the following fields.
a. Custom Error URL for the provider to use to report any errors.
b. Custom Logout URL to provide a specific destination for users after they log out, if they authenticated using the SSO flow.
Use this field to direct users to a branded logout page or destination other than the default Salesforce logout page. The URL
must be fully qualified with an http or https prefix, such as https://acme.my.salesforce.com.
c. Select an existing Apex class as the Registration Handler class. Or click Automatically create a registration handler
template to create an Apex class template for the registration handler. Edit this class later, and modify the default content before
using it.
Note: A Registration Handler class is required for Salesforce to generate the single sign-on initialization URL.
680
Set Up and Maintain Your Salesforce Organization Single Sign-On
d. For Execute Registration As, select the user that runs the Apex handler class. The user must have the “Manage Users”
permission. A user is required regardless of whether you’re specifying an existing registration handler class or creating one from
the template.
e. To use a portal with your provider, select the portal from the Portal dropdown list.
f. Use the Icon URL field to add a path to an icon to display as a button on the login page for a community. This icon applies
to a community only. It doesn’t appear on the login page for your Salesforce org or domain created with My Domain. Users click
the button to log in with the associated authentication provider for the community.
Specify a path to your own image, or copy the URL for one of our sample icons into the field.
681
Set Up and Maintain Your Salesforce Organization Single Sign-On
6. Enter a placeholder value for the consumer key field. You edit this value after your app is registered with Microsoft.
7. Enter a placeholder value for the consumer secret field You edit this value after your app is registered with Microsoft.
8. Enter the base URL from your provider for the Authorize Endpoint URL. For example, SharePoint Online uses the following form.
https://<sharepoint online host name>/_layouts/15/OAuthAuthorize.aspx
682
Set Up and Maintain Your Salesforce Organization Single Sign-On
• Custom Logout URL to provide a specific destination for users after they log out, if they authenticated using the SSO flow.
Use this field to direct users to a branded logout page or destination other than the default Salesforce logout page. The URL
must be fully qualified with an http or https prefix, such as https://acme.my.salesforce.com.
• To use a portal with your provider, select the portal from the Portal dropdown list. If you have a portal set up for your org, this
option can redirect the login request to the portal login page. Otherwise, leave as None.
• Use the Icon URL field to add a path to an icon to display as a button on the login page for a community. This icon applies
to a community only. It doesn’t appear on the login page for your Salesforce org or domain created with My Domain. Users click
the button to log in with the associated authentication provider for the community.
Specify a path to your own image, or copy the URL for one of our sample icons into the field.
683
Set Up and Maintain Your Salesforce Organization Single Sign-On
Scopes determine the information you get from LinkedIn about a user during the authorization To edit the settings:
process. You can request basic information, such as username and a photo URL, or you can get • “Customize Application”
more specific information, such as an address, phone number, and contact list. The user approves AND
the exchange of information before it’s given. “Manage Auth.
When you set up LinkedIn as an authentication provider, you can set the scopes in three different Providers”
places: in the LinkedIn app settings, in the Salesforce Auth. Provider settings, or in a query to
LinkedIn’s user info endpoint using field selectors. Consider the following as you decide where to
specify the scopes and the values to use.
• You can leave scope value blank in the LinkedIn and Salesforce settings. The default value is r_basicprofile, which provides only the
most basic user information as defined by LinkedIn.
• Salesforce requires the email address for users.
• Refer to the LinkedIn Authentication documentation for a list of supported values and their meaning, or the LinkedIn Field Selectors
page for information about requesting scopes using a URL.
• If you set the default scopes in the Salesforce authentication provider settings, that value overrides the value in the LinkedIn app
settings.
• Separate multiple scope values in the LinkedIn app settings or the Salesforce authentication provider settings with a space, for
example, r_basicprofile r_emailaddress.
• If you use LinkedIn Field Selectors with a URL, separate multiple values with a comma, for example,
https://api.linkedin.com/v1/people/~:(id,formatted-name,first-name,last-name,public-profile-url,email-address).
Note: You can skip this step by allowing Salesforce to use its own default app. For more information, see Use Salesforce-Managed
Values in the Auth. Provider Setup Page.
1. Sign in to your developer account for the LinkedIn website.
2. Click the username at the top and select API Keys.
3. Click Add New Application.
4. Enter the app settings.
684
Set Up and Maintain Your Salesforce Organization Single Sign-On
5. Note the API key and secret key. You need them later to create a LinkedIn provider in your Salesforce org.
6. Optionally, enter a LinkedIn supported scope value or several space-separated values.
For more information about using scopes with LinkedIn, see Decide Which Scopes (User Details) to Get from LinkedIn.
Note: You can skip this step by allowing Salesforce to manage the values for you. For more information, see Use Salesforce-Managed
Values in the Auth. Provider Setup Page.
1. From Setup, enter Auth. Providers in the Quick Find box, then select Auth. Providers.
2. Click New.
3. For provider type, select LinkedIn.
4. Enter a name for the provider.
5. Enter the URL suffix, which is used in the client configuration URLs. For example, if the URL suffix of your provider is MyLinkedInProvider,
your SSO URL is similar to:
https://login.salesforce.com/services/sso/00Dx00000000001/MyLinkedInProvider
6. Use the LinkedIN API key for the Consumer Key field.
7. Use the LinkedIn secret key for the Consumer Secret field.
8. Optionally, set the following fields.
a. Authorize Endpoint URL to enter the base authorization URL from LinkedIn. For example,
https://www.linkedin.com/uas/oauth2/authorization/auth. The URL must start with
https://www.linkedin.com/uas/oauth2/authorization.
Tip: You can add query string parameters to the base URL, if necessary. For example, to get a refresh token from LinkedIn
for offline access, use
https://accounts.linkedin.com/o/oauth2/auth?access_type=offline&approval_prompt=force.
You need the approval_prompt parameter to ask the user to accept the refresh action so that LinkedIn continues
to provide refresh tokens after the first one.
b. Token Endpoint URL to enter the OAuth token URL from LinkedIn. For example,
https://www.linked.com/uas/oauth2/accessToken/token. The URL must start with
https://www.linkedin.com/uas/oauth2/accessToken.
c. User Info Endpoint URL to change the values requested from LinkedIn’s profile API. For more information, see
https://developer.linkedin.com/documents/profile-fields. The URL must start with
https://api.linkedin.com/v1/people/~, and the requested fields must correspond to requested scopes.
d. Default Scopes to enter a supported value or several space-separated values that represent the information you get from
LinkedIn. For more information, see Decide Which Scopes (User Details) to Get from LinkedIn.
e. Custom Error URL for the provider to use to report any errors.
f. Custom Logout URL to provide a specific destination for users after they log out, if they authenticated using the SSO flow.
Use this field to direct users to a branded logout page or destination other than the default Salesforce logout page. The URL
must be fully qualified with an http or https prefix, such as https://acme.my.salesforce.com.
685
Set Up and Maintain Your Salesforce Organization Single Sign-On
g. Select an existing Apex class as the Registration Handler class. Or click Automatically create a registration handler
template to create an Apex class template for the registration handler. Edit this class later, and modify the default content before
using it.
Note: A Registration Handler class is required for Salesforce to generate the single sign-on initialization URL.
h. For Execute Registration As, select the user that runs the Apex handler class. The user must have the “Manage Users”
permission. A user is required regardless of whether you’re specifying an existing registration handler class or creating one from
the template.
i. To use a portal for LinkedIn users, select the portal from the Portal dropdown list.
9. Use the Icon URL field to add a path to an icon to display as a button on the login page for a community. This icon applies to a
community only. It doesn’t appear on the login page for your Salesforce org or domain created with My Domain. Users click the
button to log in with the associated authentication provider for the community.
Specify a path to your own image, or copy the URL for one of our sample icons into the field.
Note: The default profile query for LinkedIn only retrieves the following fields: first-name, last-name, headline, profile URL.
The default registration handler requires email. Either remove the email requirement from the registration handler or change
the desired scopes in Decide Which Scopes (User Details) to Get from LinkedIn to include the email address, and any other
fields you want in the registration handler.
Here’s an example Apex registration handler specifically for a LinkedIn app as the authentication provider. This registration handler
assumes that the requested scopes include r_basicprofile and r_emailaddress. It also assumes that the users are logging in to a
customer portal.
//TODO:This auto-generated class includes the basics for a Registration
//Handler class. You will need to customize it to ensure it meets your needs and
686
Set Up and Maintain Your Salesforce Organization Single Sign-On
687
Set Up and Maintain Your Salesforce Organization Single Sign-On
u.languagelocalekey = UserInfo.getLocale();
u.localesidkey = UserInfo.getLocale();
u.emailEncodingKey = 'UTF-8';
u.timeZoneSidKey = 'America/Los_Angeles';
u.profileId = p.Id;
return u;
}
}
//Updates the user's first and last name
global void updateUser(Id userId, Id portalId, Auth.UserData data) {
User u = new User(id = userId);
u.lastName = data.lastName;
u.firstName = data.firstName;
update(u);
}
}
See the RegistrationHandler Interface documentation for more information and examples.
688
Set Up and Maintain Your Salesforce Organization Single Sign-On
Note: You can skip this step by allowing Salesforce to manage the values for you. For more information, see Use Salesforce-Managed
Values in the Auth. Provider Setup Page.
1. From Setup, enter Auth. Providers in the Quick Find box, then select Auth. Providers.
2. Click New.
3. For provider type, select Twitter.
4. Enter a name for the provider.
5. Enter the URL suffix, which is used in the client configuration URLs. For example, if the URL suffix of your provider is MyTwitterProvider,
your SSO URL is similar to:
https://login.salesforce.com/services/sso/00Dx00000000001/MyTwitterProvider
6. Use the API key from Twitter for the Consumer Key field.
7. Use the API secret from Twitter for the Consumer Secret field.
8. Optionally, set the following fields.
a. Custom Error URL for the provider to use to report any errors.
b. Custom Logout URL to provide a specific destination for users after they log out, if they authenticated using the SSO flow.
Use this field to direct users to a branded logout page or destination other than the default Salesforce logout page. The URL
must be fully qualified with an http or https prefix, such as https://acme.my.salesforce.com.
c. Select an existing Apex class as the Registration Handler class. Or click Automatically create a registration handler
template to create an Apex class template for the registration handler. Edit this class later, and modify the default content before
using it.
Note: A Registration Handler class is required for Salesforce to generate the SSO initialization URL.
d. For Execute Registration As, select the user that runs the Apex handler class. The user must have the “Manage Users”
permission. A user is required regardless of whether you’re specifying an existing registration handler class or creating one from
the template.
e. To use a portal for Twitter users, select the portal from the Portal dropdown list.
f. Use the Icon URL field to add a path to an icon to display as a button on the login page for a community. This icon applies
to a community only. It doesn’t appear on the login page for your Salesforce org or domain created with My Domain. Users click
the button to log in with the associated authentication provider for the community.
Specify a path to your own image, or copy the URL for one of our sample icons into the field.
9. Click Save.
Several client configuration URLs are generated after defining the authentication provider.
• Test-Only Initialization URL—Admins use this URL to ensure that the third-party provider is set up correctly. The admin opens this
URL in a browser, signs in to the third party, and is redirected back to Salesforce with a map of attributes.
689
Set Up and Maintain Your Salesforce Organization Single Sign-On
• Single Sign-On Initialization URL—Use this URL to perform SSO into Salesforce from a third party (using third-party credentials). The
user opens this URL in a browser and signs in to the third party. The third party either creates a user or updates an existing user. Then
the third party signs the user into Salesforce as that user.
• Existing User Linking URL—Use this URL to link existing Salesforce users to a third-party account. The user opens this URL in a browser,
signs in to the third party, signs in to Salesforce, and approves the link.
• Callback URL—Use the callback URL for the endpoint that the authentication provider calls back to for configuration. The authentication
provider has to redirect to the Callback URL with information for each client configuration URL.
Client configuration URLs support additional request parameters that enable you to direct users to log in to specific sites, obtain customized
permissions from the third party, or go to a specific location after authenticating.
u.alias = alias;
u.languagelocalekey = 'en_US';
u.localesidkey = 'en_US';
u.emailEncodingKey = 'UTF-8';
u.timeZoneSidKey = 'America/Los_Angeles';
690
Set Up and Maintain Your Salesforce Organization Single Sign-On
u.profileId = p.Id;
u.contactId = c.Id;
return u;
} else {
// Create Standard SFDC user
User u = new User();
Profile p = [SELECT Id FROM profile WHERE name='Standard User'];
u.username = data.username + '@sfdc-twitter.com';
u.email = '[email protected]';
u.firstName = data.fullname.split(' ')[0];
u.lastName = data.fullname.split(' ')[1];
String alias = data.fullname;
if(alias.length() > 8)
alias = alias.substring(0, 8);
u.alias = alias;
u.languagelocalekey = 'en_US';
u.localesidkey = 'en_US';
u.emailEncodingKey = 'UTF-8';
u.timeZoneSidKey = 'America/Los_Angeles';
u.profileId = p.Id;
return u;
}
}
u.alias = alias;
update(u);
}
}
See the RegistrationHandler Interface documentation for more information and examples.
Note: In your Twitter app, make sure that you select Allow this app to be used to Sign In with Twitter.
691
Set Up and Maintain Your Salesforce Organization Single Sign-On
692
Set Up and Maintain Your Salesforce Organization Single Sign-On
Note: You’re prompted to enter details for each field type, such as label, description, and Help text. You can choose to make these
fields required.
Note: For information about the classes and methods that this plug-in requires, see the Auth Namespace section of the Force.com
Apex Code Developer’s Guide.
Note: A Registration Handler class is required for Salesforce to generate the SSO initialization URL.
693
Set Up and Maintain Your Salesforce Organization Single Sign-On
8. For Execute Registration As, select the user that runs the Apex handler class. The user must have the “Manage Users” permission. A
user is required regardless of whether you’re specifying an existing registration handler class or creating one from the template. This
field is required for all custom authentication providers.
9. Use the Icon URL field to add a path to an icon to display as a button on the login page for a community. This icon applies to a
community only. It doesn’t appear on the login page for your Salesforce org or domain created with My Domain. Users click the
button to log in with the associated authentication provider for the community.
Specify a path to your own image, or copy the URL for one of our sample icons into the field.
694
Set Up and Maintain Your Salesforce Organization Single Sign-On
For example, the following form posts the current session ID to frontdoor.jsp.
In this example, domain_name is the domain of the serverURL (that is, yourInstance.salesforce.com or
myDomain.my.salesforce.com, depending on whether My Domain is enabled).
You can also send the values as URL parameters, but this approach is not as secure as a POST request because it exposes the session
ID in the URL.
https://domain_name/secur/frontdoor.jsp?sid=full_sessionID_value
&retURL=optional_relative_url_to_open
Full Session ID
You can obtain the full session ID from:
• The access_token from an OAuth authentication
Tip: One of the scopes specified when you create a connected app must be web or full.
Note: Not all session types are supported with frontdoor.jsp, such as community API sessions. For these sessions, consider using
SAML for single sign-on, instead.
695
Set Up and Maintain Your Salesforce Organization Single Sign-On
IN THIS SECTION:
Use the Scope Parameter
Customize the permissions requested from a third party, like Facebook or Janrain, so that the returned access token has additional
permissions.
Using the Site Parameter
Use your authentication provider to log into a site or link to a sites user.
Using the StartURL Parameter
Send your user to a specific location after authenticating or linking.
Using the Community URL Parameter
Send your user to a specific Community after authenticating.
Using the Authorization Endpoint Parameter
Send your user to a specific authorization endpoint.
696
Set Up and Maintain Your Salesforce Organization Single Sign-On
The default scopes vary depending on the third party, but usually do not allow access to much Available in: Enterprise,
more than basic user information. Every provider type (Open ID Connect, Facebook, Salesforce, and Performance, Unlimited,
others), has a set of default scopes it sends along with the request to the authorization endpoint. and Developer Editions
For example, Salesforce’s default scope is id.
You can send scopes in a space-delimited string. The space-delimited string of requested scopes USER PERMISSIONS
is sent as-is to the third party, and overrides the default permissions requested by authentication
providers. To view the settings:
• “View Setup and
Janrain does not use this parameter; additional permissions must be configured within Janrain. Configuration”
Example: The following is an example of a scope parameter requesting the Salesforce To edit the settings:
scopes api and web, added to the Single Sign-On Initialization URL, • “Customize Application”
where: AND
• orgID is your Auth. Provider ID “Manage Auth.
Providers”
• URLsuffix is the value you specified when you defined the authentication provider
https://login.salesforce.com/services/auth/sso/orgID/URLsuffix?scope=id%20api%20web
Valid scopes vary depending on the third party; refer to your individual third-party documentation. For example, Salesforce scopes are:
Value Description
api Allows access to the current, logged-in user’s account using APIs, such as REST API and Bulk API. This
value also includes chatter_api, which allows access to Chatter REST API resources.
custom_permissions Allows access to the custom permissions in an organization associated with the connected app, and
shows whether the current user has each permission enabled.
full Allows access to all data accessible by the logged-in user, and encompasses all other scopes. full
does not return a refresh token. You must explicitly request the refresh_token scope to get
a refresh token.
id Allows access to the identity URL service. You can request profile, email, address, or
phone, individually to get the same result as using id; they are all synonymous.
openid Allows access to the current, logged in user’s unique identifier for OpenID Connect apps.
The openid scope can be used in the OAuth 2.0 user-agent flow and the OAuth 2.0 Web server
authentication flow to get back a signed ID token conforming to the OpenID Connect specifications
in addition to the access token.
refresh_token Allows a refresh token to be returned if you are eligible to receive one. This lets the app interact with
the user’s data while the user is offline, and is synonymous with requesting offline_access.
697
Set Up and Maintain Your Salesforce Organization Single Sign-On
Value Description
web Allows the ability to use the access_token on the Web. This also includes visualforce,
allowing access to Visualforce pages.
SEE ALSO:
Use Request Parameters with Client Configuration URLs
SEE ALSO:
Use Request Parameters with Client Configuration URLs
698
Set Up and Maintain Your Salesforce Organization Single Sign-On
Example: For example, with a Single Sign-On Initialization URL, the user Available in: Enterprise,
is sent to this location after being logged in. For an Existing User Linking URL, Performance, Unlimited,
the “Continue to Salesforce” link on the confirmation page leads to this page. and Developer Editions
Example: For example, with a Single Sign-On Initialization URL, the user Available in: Enterprise,
is sent to this location after being logged in. For an Existing User Linking URL, Performance, Unlimited,
the “Continue to Salesforce” link on the confirmation page leads to this page. and Developer Editions
699
Set Up and Maintain Your Salesforce Organization Single Sign-On
https://login.salesforce.com/services/auth/sso/orgID/
URLsuffix?provAuthorizeEndpointHost=https%3A%2F%2Ffanyv88.com%3A443%2Fhttps%2Fmycommunity.force.com%2Fbilling
If an authorization endpoint is not provided, Salesforce uses the default authorization endpoint for the authorization provider. If no
default is set for the authorization provider, Salesforce uses the endpoint for login.salesforce.com.
The authorization endpoint does not change the token endpoint, which continues to be the configured or default host. For example,
if the authorization endpoint is a sandbox instance, and your provider is set to use a production token endpoint, the flow fails, because
authorization was granted by the sandbox instance, only.
700
Set Up and Maintain Your Salesforce Organization Single Sign-On
701
Set Up and Maintain Your Salesforce Organization Single Sign-On
702
Set Up and Maintain Your Salesforce Organization Single Sign-On
1. The service provider sends a valid SAML request. The endpoint is automatically generated when the service provider is defined—the
SP-Initiated POST Endpoint.
2. Salesforce identifies the user included in the SAML request.
<samlp:AuthnRequest ID="bndkmeemcaamihajeloilkagfdliilbhjjnmlmfo" Version="2.0"
IssueInstant="2010-05-24T22:57:19Z"
ProtocolBinding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"
ProviderName="google.com" IsPassive="false"
AssertionConsumerServiceURL="https://www.google.com/a/resp.info/acs">
<saml:Issuer>google.com</saml:Issuer>
<samlp:NameIDPolicy AllowCreate="true"
Format="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified"/>
</samlp:AuthnRequest>
If a certificate was included as part of the definition, Salesforce authenticates the certificate.
Note: If a certificate is included in the service provider definition, and the SAML request does not contain a certificate, the
request fails. The user is not logged in using Salesforce. If the definition does not include a certificate, and the request includes
a signature, the request succeeds if the user is identified correctly.
3. If the user isn’t already logged in to Salesforce, they are prompted to do so.
703
Set Up and Maintain Your Salesforce Organization Single Sign-On
Important: Salesforce doesn’t provide any mechanism for automatically logging the user out of Salesforce when they log
out of the service provider.
The following is an example of the SAML response from Salesforce. Share this information with your service provider.
<samlp:Response Destination="https://login-blitz03.soma.salesforce.com/
?saml=MgoTx78aEPa2r1BHKCHmlfUKhH2mkDrXOjmYcjHG_qNDbsRM_6ZAo.wvGk"
ID="_0f551f9288c8b76f21c3d4d15c9cd1df1290476801091"
InResponseTo="_2INwHuINDJTvjo8ohcM.Fpw_uLukYi0WArVx2IJD569kZYL
osBwuiaSbzzxOPQjDtfw52tJB10VfgPW2p5g7Nlv5k1QDzR0EJYGgn0d0z8
CIiUOY31YBdk7gwEkTygiK_lb46IO1fzBFoaRTzwvf1JN4qnkGttw3J6L4b
opRI8hSQmCumM_Cvn3DHZVN.KtrzzOAflcMFSCY.bj1wvruSGQCooTRSSQ"
IssueInstant="2010-11-23T01:46:41.091Z" Version="2.0">
<saml:Issuer Format="urn:oasis:names:tc:SAML:2.0:nameid-format:entity"
>identityorg.blitz03.blitz.salesforce.com</saml:Issuer>
−
<ds:Signature>
−
<ds:SignedInfo>
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
<ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
−
<ds:Reference URI="#_0f551f9288c8b76f21c3d4d15c9cd1df1290476801091">
−
<ds:Transforms>
<ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
−
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
<ec:InclusiveNamespaces PrefixList="ds saml samlp xs"/>
</ds:Transform>
</ds:Transforms>
<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<ds:DigestValue>4NVTbQ2WavD+ZBiyQ7ufc8EhtZw=</ds:DigestValue>
</ds:Reference>
</ds:SignedInfo>
−
<ds:SignatureValue>
eqrkFxNlJRCT4VQ7tt7wKZGK7oLCCCa4gV/HNcL03RoKbSXIcwU2CAqW0qTSj25FqhRe2fOwAYa5
xFWat7Fw2bbncU+/nnuVNZut8HEEQoHiQA/Jrh7XB4CNlOpM1QRvgB5Dtdkj/0lI4h3X3TFix57B
sgZJGbb5PWEqSH3ZAl+NPvW9nNtYQIFyCTe9+cw2BhCxFgSWfP3/kIYHSM2gbIy27CrRrFS1lAqP
hKSLaH+ntH1E09gp78RSyJ2WKFGJU22sE9RJSZwdVw3VGG06Z6RpSjPJtaREELhhIBWTHNoF+VvJ
2Hbexjew6CO08lXRDe8dbrrPIRK/qzHZYf1H0g==
</ds:SignatureValue>
−
<ds:KeyInfo>
−
<ds:X509Data>
−
704
Set Up and Maintain Your Salesforce Organization Single Sign-On
<ds:X509Certificate>
MIIEbjCCA1agAwIBAgIOASh04QulAAAAAClXs7MwDQYJKoZIhvcNAQEFBQAwfTEVMBMGA1UEAwwM
SWRlbnRpdHkgT3JnMRgwFgYDVQQLDA8wMEREMDAwMDAwMEZIOGwxFzAVBgNVBAoMDlNhbGVzZm9y
Y2UuY29tMRYwFAYDVQQHDA1TYW4gRnJhbmNpc2NvMQswCQYDVQQIDAJDQTEMMAoGA1UEBhMDVVNB
MB4XDTEwMDUwNzIyMjcwNVoXDTEyMDUwNjIyMjcwNVowfTEVMBMGA1UEAwwMSWRlbnRpdHkgT3Jn
MRgwFgYDVQQLDA8wMEREMDAwMDAwMEZIOGwxFzAVBgNVBAoMDlNhbGVzZm9yY2UuY29tMRYwFAYD
VQQHDA1TYW4gRnJhbmNpc2NvMQswCQYDVQQIDAJDQTEMMAoGA1UEBhMDVVNBMIIBIjANBgkqhkiG
9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyM4/sjoaizbnWTDjt9mGht2fDGxnLCWGMJ+D+9NWXD5wM15N
SFEcflpI9W4makcCGvoac+CVbPTmOUzOsCQzu7iGkLeMMpngf2XqllnJgl4ejuH8socNrDtltaMk
hC08KAmli3Wm/okllqSjVOl8H52jtbvm6HkvLVj2NDLRY6kUejVZMGjGwV5E0FJliwgIip4sCchl
dkahbNjbikiiv1MAs8xHbtBt3wnKZWJq3JtS0va1sazUVmEwGDlVW43QPF0S7eV3IJFFhyCPV8yF
N3k0wCkCVBWoknwkMA8CbD+p6qNBVmvh3F3IaW2oym/1eSvtMLNtrPJeZzssqDYqgQIDAQABo4Hr
MIHoMB0GA1UdDgQWBBTYSVEZ9r8Q8T2rbZxPFfPYPZKWITCBtQYDVR0jBIGtMIGqgBTYSVEZ9r8Q
8T2rbZxPFfPYPZKWIaGBgaR/MH0xFTATBgNVBAMMDElkZW50aXR5IE9yZzEYMBYGA1UECwwPMDBE
RDAwMDAwMDBGSDhsMRcwFQYDVQQKDA5TYWxlc2ZvcmNlLmNvbTEWMBQGA1UEBwwNU2FuIEZyYW5j
aXNjbzELMAkGA1UECAwCQ0ExDDAKBgNVBAYTA1VTQYIOASh04QupAAAAAClXs7MwDwYDVR0TAQH/
BAUwAwEB/zANBgkqhkiG9w0BAQUFAAOCAQEANaO5Tqcc56E6Jv8itwjtbPvR+WHEMnZgQ9cCPF5Q
VACd5v7I/srx4ZJt/ZO4RZkmX1FXla0M7JGOu63eELHYG1DxT1SpGmpOL7xfBn7QUoh8Rmpp3BZC
WCPIcVQHLs1LushsrpbWu+85tgzlVN4sFVBl8F9rohhbM1dMOUAksoQgM3avcZ2vkugKhX40vIuf
Gw4wXZe4TBCfQay+eDONYhYnmlxVV+dJyHheENOYfVqlau8RMNhRNmhXlGxXNQyU3kpMaTxOux8F
DyOjc5YPoe6PYQ0C/mC77ipnjJAjwm+Gw+heK/9NQ7fIonDObbfu2rOmudtcKG74IDwkZL8HjA==
</ds:X509Certificate>
</ds:X509Data>
</ds:KeyInfo>
</ds:Signature>
−
<samlp:Status>
<samlp:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success"/>
</samlp:Status>
−
<saml:Assertion ID="_e700bf9b25a5aebdb9495fe40332ef081290476801092"
IssueInstant="2010-11-23T01:46:41.092Z" Version="2.0">
<saml:Issuer
Format="urn:oasis:names:tc:SAML:2.0:nameid-format:entity">identityorg.blitz03.blitz.salesforce.com</saml:Issuer>
−
<saml:Subject>
<saml:NameID
Format="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified">[email protected]</saml:NameID>
−
<saml:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer">
<saml:SubjectConfirmationData NotOnOrAfter="2010-11-23T01:51:41.093Z"
Recipient="https://login-blitz03.soma.salesforce.com/?saml=MgoTx78aEPa2r1BHKCHmlfUKhH2mkDrXOjmYcjHG_qNDbsRM_6ZAo.wvGk"/>
</saml:SubjectConfirmation>
</saml:Subject>
−
<saml:Conditions NotBefore="2010-11-23T01:46:41.093Z"
NotOnOrAfter="2010-11-23T01:51:41.093Z">
−
<saml:AudienceRestriction>
<saml:Audience>https://childorgb.blitz03.blitz.salesforce.com</saml:Audience>
</saml:AudienceRestriction>
</saml:Conditions>
−
705
Set Up and Maintain Your Salesforce Organization Single Sign-On
<saml:AuthnStatement AuthnInstant="2010-11-23T01:46:41.092Z">
−
<saml:AuthnContext>
<saml:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:unspecified</saml:AuthnContextClassRef>
</saml:AuthnContext>
</saml:AuthnStatement>
−
<saml:AttributeStatement>
−
<saml:Attribute Name="userId"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
<saml:AttributeValue xsi:type="xs:anyType">005D0000001Ayzh</saml:AttributeValue>
</saml:Attribute>
−
<saml:Attribute Name="username"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
<saml:AttributeValue xsi:type="xs:anyType">[email protected]</saml:AttributeValue>
</saml:Attribute>
−
<saml:Attribute Name="email"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
<saml:AttributeValue xsi:type="xs:anyType">[email protected]</saml:AttributeValue>
</saml:Attribute>
−
<saml:Attribute Name="is_portal_user"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
<saml:AttributeValue xsi:type="xs:anyType">false</saml:AttributeValue>
</saml:Attribute>
</saml:AttributeStatement>
</saml:Assertion>
</samlp:Response>
IN THIS SECTION:
Enable Salesforce as an Identity Provider
View Your Identity Provider Details
Prerequisites for Defining Service Providers
Before you define a service provider in Salesforce, follow these steps to define an identity provider and exchange configuration
information with your provider.
Defining Service Providers as SAML-Enabled Connected Apps
Map Salesforce Users to App Users
View Your Service Provider Details
Enabling Identity Providers and Defining Service Providers for Portals and Sites
Using the Identity Provider Event Log
706
Set Up and Maintain Your Salesforce Organization Single Sign-On
SEE ALSO:
Enable Salesforce as an Identity Provider
View Your Identity Provider Details
Prerequisites for Defining Service Providers
Defining Service Providers as SAML-Enabled Connected Apps
Map Salesforce Users to App Users
View Your Service Provider Details
Enabling Identity Providers and Defining Service Providers for Portals and Sites
Examples Using Identity Providers and Service Providers
After you enable Salesforce as an identity provider, you can define service providers by creating
connected apps (From Setup, enter Apps in the Quick Find box, then select Apps).
SEE ALSO:
Identity Providers and Service Providers
Generate a Self-Signed Certificate
707
Set Up and Maintain Your Salesforce Organization Single Sign-On
Warning: If you disable your identity provider, users can no longer access any external
applications.
USER PERMISSIONS
• Download Certificate to download the certificate associated with your identity provider. Your Define and modify identity
providers and service
service provider can use this information for connecting to Salesforce.
providers:
• Download Metadata to download the metadata associated with your identity provider. Your • “Customize Application”
service provider can use this information for connecting to Salesforce.
• In the SAML Metadata Discovery Endpoints section, you can access URLs for the SAML identity
provider information for your custom domain and each community. Your service provider can use these URLs to configure single
sign-on to connect to Salesforce.
– Salesforce Identity—URL of identity provider metadata for your custom domain in My Domain.
– Community Name Community Identity—URL of identity provider metadata for the named community.
• In the service providers section, next to the name of an existing service provider, click Edit to change its definition, click Profiles to
add or remove user profiles that have access to this service provider, or click Del to delete it.
Note: To define a new service provider, from Setup, enter Apps in the Quick Find box, then select Apps and then
create a new SAML-enabled connected app.
SEE ALSO:
Identity Providers and Service Providers
708
Set Up and Maintain Your Salesforce Organization Single Sign-On
SEE ALSO:
Identity Providers and Service Providers
709
Set Up and Maintain Your Salesforce Organization Single Sign-On
Name ID Format
Specifies the format attribute sent in SAML messages. “Unspecified” is selected by default. Depending on your SAML service
provider, you may want to set this to email address, persistent, or transient.
Issuer
By default, the standard issuer for your identity provider is used (your organization’s My Domain). If your SAML service provider
requires a different value, specify it here.
Important: If you upload a certificate, all SAML requests must be signed. If no certificate is uploaded, all SAML requests
are accepted.
Encrypt SAML Response
Select Encrypt SAML Response to upload a certificate and select an encryption method for encrypting the assertion.
Valid encryption algorithm values are AES–128 (128–bit key). AES–256 (256–bit key). and Triple-DES (Triple Data
Encryption Algorithm).
7. Click Save.
To authorize users for this SAML application:
1. From Setup, enter Connected Apps in the Quick Find box, then select the option for managing connected apps.
2. Click the name of the application.
3. Select the profiles and/or permission sets that can access the application.
SEE ALSO:
Identity Providers and Service Providers
710
Set Up and Maintain Your Salesforce Organization Single Sign-On
711
Set Up and Maintain Your Salesforce Organization Single Sign-On
Enabling Identity Providers and Defining Service Providers for Portals and Sites
When enabling identity providers and defining service providers for Force.com Sites, Customer
EDITIONS
Portals and partner portals, note the following:
• When defining a service provider, if the Subject Type is Username, the Salesforce Available in: both Salesforce
organization ID is prepended to the user name in the SAML assertion. For example, if the user Classic and Lightning
is [email protected], the subject for the SAML assertion contains Experience
00DE0000000FFLT@[email protected]. If the Subject Type is Federation
Available in: Developer,
ID, the exact federation ID is used. Enterprise, Performance,
• The attribute is_portal_user included in the SAML assertion generated by Salesforce and Unlimited Editions
contains values. You might want to share the following example with your service provider.
USER PERMISSIONS
<saml:Attribute Name="is_portal_user"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
<saml:AttributeValue
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="xs:anyType">true
</saml:AttributeValue>
</saml:Attribute>
SEE ALSO:
Identity Providers and Service Providers
712
Set Up and Maintain Your Salesforce Organization Single Sign-On
USER PERMISSIONS
• Your Salesforce organization must be set up for single sign-on using SAML 2.0
The general steps are as follows, with more specifics on each step below. USER PERMISSIONS
1. Generate a domain name and enable an identity provider in your Salesforce organization. Define and modify identity
2. Define the service provider in Salesforce. providers and service
providers:
3. Enable the Salesforce user and profile. • “Customize Application”
4. Setup Google Apps.
5. Test your implementation.
713
Set Up and Maintain Your Salesforce Organization Single Sign-On
a. From Setup, enter My Domain in the Quick Find box, then select My Domain, enter a new subdomain name, and click
Check Availability.
b. If the name is available, click the Terms and Conditions check box, then click Register Domain.
Important: You must deploy your domain name before you can enable Salesforce as an identity provider.
Field Value
ACS URL The URL for your Google App account, such as
https://www.google.com/a/respond.info
Entity ID google.com
5. Click Save.
6. To authorize access to this app, enter Connected Apps in the Quick Find box, select the option for managing connected
apps, and then click the name of the application. Then select the current user’s profile.
7. Copy the value in the SP-Initiated Redirect Endpoint field. You will use this value later.
714
Set Up and Maintain Your Salesforce Organization Single Sign-On
2. Click the Advanced tools tab, then the Set up single sign-on (SSO) link.
3. Check the Enable Single Sign-on checkbox.
4. For Sign-in page URL, enter the URL copied from the SP-Initiated Redirect Endpoint field, from defining a
service provider.
5. For Sign-out page URL, specify the URL where you want your users to go after they log out of Google Apps, such as,
http://www.mydomain.salesforce.com.
6. For Change password URL, use the following URL:
https://mydomain.salesforce.com/_ui/system/security/ChangePassword, where mydomain is the
name you specified for your custom domain when you generated your domain.
7. For Verification certificate, upload the certificate you downloaded from enabling an identity provider.
8. Click Save Changes.
Note: This has to be an absolute URL, that is, it must contain either http:// or https://.
715
Set Up and Maintain Your Salesforce Organization Single Sign-On
For this example to work, your initiating Salesforce organization must be set up for single sign-on using SAML 2.0. The general steps are
as follows, with more specifics on each of these steps.
1. Generate a domain name and enable an identity provider in the Salesforce organization that is acting as an identity provider.
2. Set up the Salesforce organization that is acting as a service provider.
3. Define the service provider app in the Salesforce organization that is acting as an identity provider.
4. Test your implementation.
Important: You must deploy your domain name before you can enable Salesforce as an identity provider.
Field Value
SAML Version 2.0
Issuer The identity provider issuer URL, created when the identity
provider is set up. For example,
https://mycustomdomain.salesforce.com.
Identity Provider Certificate Browse for the certificate you downloaded in enabling an
identity provider.
716
Set Up and Maintain Your Salesforce Organization Single Sign-On
Field Value
SAML User ID Type Select Assertion contains the Federation
ID from the User object
d. Click Save.
e. Copy and save the values from the fields Salesforce Login URL and Entity ID. You need these values later, when
defining the Salesforce service provider.
3. Link your user in the service provider organization to the user in the identity provider organization:
a. From your personal settings, enter Advanced User Detail in the Quick Find box, then select Advanced User
Detail. No results? Enter Personal Information in the Quick Find box, then select Personal Information.
b. Click Edit.
c. For Federation ID, enter the username used to sign into theSalesforce identity provider organization, for example,
[email protected].
d. Click Save.
Field Value
Connected App Name Salesforce Service Provider
Contact Email Contact Salesforce should use for contacting you or your support
team.
ACS URL Use the Salesforce Login URL from setting up the service provider
4. Click Save.
5. Select the profiles allowed to access this service provider. You must select the current user's profile for this example to work.
6. Click Save.
7. Copy down the value of the IdP-Initiated Login URL field. You will use this value later, in testing.
717
Set Up and Maintain Your Salesforce Organization Single Sign-On
Note: This has to be an absolute URL, that is, it must contain either http:// or https://.
SEE ALSO:
Identity Providers and Service Providers
718
Set Up and Maintain Your Salesforce Organization Single Sign-On
can pass data from an HTTPS session to an HTTP session, and vice versa. Only select this checkbox if you understand the security
implications.
5. Optionally, enter a description of the site.
6. Click Save to finish, or click Save & New to save your work and begin registering an additional site.
Named Credentials
A named credential specifies the URL of a callout endpoint and its required authentication parameters
EDITIONS
in one definition. To simplify the setup of authenticated callouts, specify a named credential as the
callout endpoint. If you instead specify a URL as the callout endpoint, you must register that URL Available in: both Salesforce
in your org’s remote site settings and handle the authentication yourself. For example, for an Apex Classic and Lightning
callout, your code would need to handle authentication, which can be less secure and especially Experience
complicated for OAuth implementations.
Available in all editions
Salesforce manages all authentication for callouts that specify a named credential as the callout
endpoint so that you don’t have to. You can also skip remote site settings, which are otherwise
required for callouts to external sites, for the site defined in the named credential.
Named credentials are supported in these types of callout definitions:
• Apex callouts
• External data sources of these types:
– Salesforce Connect: OData 2.0
– Salesforce Connect: OData 4.0
– Salesforce Connect: Custom (developed with the Apex Connector Framework)
By separating the endpoint URL and authentication from the callout definition, named credentials make callouts easier to maintain. For
example, if an endpoint URL changes, you update only the named credential. All callouts that reference the named credential simply
continue to work.
If you have multiple orgs, you can create a named credential with the same name but with a different endpoint URL in each org. You
can then package and deploy—on all the orgs—one callout definition that references the shared name of those named credentials.
For example, the named credential in each org can have a different endpoint URL to accommodate differences in development and
production environments. If an Apex callout specifies the shared name of those named credentials, the Apex class that defines the callout
can be packaged and deployed on all those orgs without programmatically checking the environment.
Named credentials support basic password authentication and OAuth 2.0. You can set up each named credential to use an org-wide
named principal or to use per-user authentication so that users can manage their own credentials.
To reference a named credential from a callout definition, use the named credential URL. A named credential URL contains the scheme
callout:, the name of the named credential, and an optional path. For example:
callout:My_Named_Credential/some_path.
You can append a query string to a named credential URL. Use a question mark (?) as the separator between the named credential URL
and the query string. For example: callout:My_Named_Credential/some_path?format=json.
Example: In the following Apex code, a named credential and an appended path specify the callout’s endpoint.
HttpRequest req = new HttpRequest();
req.setEndpoint('callout:My_Named_Credential/some_path');
req.setMethod('GET');
Http http = new Http();
719
Set Up and Maintain Your Salesforce Organization Single Sign-On
The referenced named credential specifies the endpoint URL and the authentication settings.
If you use OAuth instead of password authentication, the Apex code remains the same. The authentication settings differ in the
named credential, which references an authentication provider that’s defined in the org.
In contrast, let’s see what the Apex code looks like without a named credential. Notice that the code becomes more complex to
handle authentication, even if we stick with basic password authentication. Coding OAuth is even more complex and is an ideal
use case for named credentials.
HttpRequest req = new HttpRequest();
req.setEndpoint('https://my_endpoint.example.com/some_path');
req.setMethod('GET');
720
Set Up and Maintain Your Salesforce Organization Single Sign-On
IN THIS SECTION:
Define a Named Credential
Create a named credential to specify the URL of a callout endpoint and its required authentication parameters in one definition. You
can then specify the named credential as a callout endpoint to let Salesforce handle all the authentication. You can also skip remote
site settings, which are otherwise required for callouts to external sites, for the site defined in the named credential.
Grant Access to Authentication Settings for Named Credentials
For named credentials that use per-user authentication, grant access to users through permission sets and profiles. Doing so lets
users set up and manage their own authentication settings for accessing the external system.
SEE ALSO:
Define a Named Credential
Grant Access to Authentication Settings for Named Credentials
Apex Developer Guide: Invoking Callouts Using Apex
External Authentication Providers
2. Click New Named Credential, or click Edit to modify an existing named credential.
3. Complete the fields.
721
Set Up and Maintain Your Salesforce Organization Single Sign-On
Field Description
Label A user-friendly name for the named credential that’s displayed in the Salesforce user interface,
such as in list views.
If you set Identity Type to Per User, this label appears when your users view or edit their
authentication settings for external systems.
Name A unique identifier that’s used to refer to this named credential from callout definitions and
through the API.
The name can contain only underscores and alphanumeric characters. It must be unique, begin
with a letter, not include spaces, not end with an underscore, and not contain two consecutive
underscores.
URL The URL or root URL of the callout endpoint. Must begin with http:// or https://. Can
include a path but not a query string. Examples:
• http://my_endpoint.example.com
• https://my_endpoint.example.com/secure/payroll
You can, however, append a query string and a specific path in the callout definition’s reference
to the named credential. For example, an Apex callout could reference the named credential
“My_Payroll_System” as follows.
HttpRequest req = new HttpRequest();
req.setEndpoint('callout:My_Payroll_System/paystubs?format=json');
Certificate If you specify a certificate, your Salesforce org supplies it when establishing each two-way SSL
connection with the external system. The certificate is used for digital signatures, which verify
that requests are coming from your Salesforce org.
Identity Type Determines whether you're using one set or multiple sets of credentials to access the external
system.
• Anonymous: No identity and therefore no authentication.
• Per User: Use separate credentials for each user who accesses the external system via callouts.
Select this option if the external system restricts access on a per-user basis.
After you grant user access through permission sets or profiles in Salesforce, users can manage
their own authentication settings for external systems in their personal settings.
• Named Principal: Use the same set of credentials for all users who access the external system
from your org. Select this option if you designate one user account on the external system
for all your Salesforce org users.
722
Set Up and Maintain Your Salesforce Organization Single Sign-On
Field Description
Authentication Choose the provider. See External Authentication Providers on page 668.
Provider
Scope Specifies the scope of permissions to request for the access token. Your authentication provider
determines the allowed values. See Use the Scope Parameter on page 697.
Note:
– The value that you enter replaces the Default Scopes value that’s defined
in the specified authentication provider.
– Whether scopes are defined can affect whether each OAuth flow prompts the user
with a consent screen.
– We recommend that you request a refresh token or offline access. Otherwise, when
the token expires, you lose access to the external system.
Start To authenticate to the external system and obtain an OAuth token, select this checkbox. This
Authentication Flow authentication process is called an OAuth flow.
on Save When you click Save, the external system prompts you to log in. After successful login, the
external system grants you an OAuth token for accessing its data from this org.
Redo the OAuth flow when you need a new token—for example, if the token expires—or if
you edit the Scope or Authentication Provider fields.
5. If you want to use custom headers or bodies in the callouts, enable the relevant options.
Field Description
Generate Authorization Header By default, Salesforce generates an authorization header and applies it to
each callout that references the named credential.
Deselect this option only if one of the following statements applies.
• The remote endpoint doesn’t support authorization headers.
• The authorization headers are provided by other means. For example,
in Apex callouts, the developer can have the code construct a custom
authorization header for each callout.
This option is required if you reference the named credential from an
external data source.
Allow Merge Fields in HTTP Header In each Apex callout, the code specifies how the HTTP header and request
Allow Merge Fields in HTTP Body body are constructed. For example, the Apex code can set the value of a
cookie in an authorization header.
These options enable the Apex code to use merge fields to populate the
HTTP header and request body with org data when the callout is made.
These options aren’t available if you reference the named credential from
an external data source.
723
Set Up and Maintain Your Salesforce Organization Single Sign-On
To reference a named credential from a callout definition, use the named credential URL. A named credential URL contains the scheme
callout:, the name of the named credential, and an optional path. For example:
callout:My_Named_Credential/some_path.
You can append a query string to a named credential URL. Use a question mark (?) as the separator between the named credential URL
and the query string. For example: callout:My_Named_Credential/some_path?format=json.
SEE ALSO:
Named Credentials
Grant Access to Authentication Settings for Named Credentials
Apex Developer Guide: Invoking Callouts Using Apex
2. Click the name of the permission set or profile that you want to modify. Available in all editions
724
Set Up and Maintain Your Salesforce Organization Single Sign-On
Identity Connect
Identity Connect integrates Microsoft Active Directory with Salesforce via a service that runs on
EDITIONS
either Windows or Linux platforms. It gives AD users single sign-on access to Salesforce. When
syncing AD users, the identity service provider can be either Salesforce or Identity Connect. Available in: both Salesforce
Classic and Lightning
IN THIS SECTION: Experience
725
Set Up and Maintain Your Salesforce Organization My Domain
My Domain
Add a subdomain to your Salesforce org URL with the My Domain Salesforce feature. Having a
EDITIONS
subdomain lets you highlight your brand and makes your org more secure. A subdomain is
convenient and allows you to personalize your login page. Available in: both Salesforce
Using My Domain, you define a subdomain that's part of your Salesforce domain. For example, Classic and Lightning
developer is a subdomain of the salesforce.com domain. With a subdomain, you Experience
replace the URL that Salesforce assigned you, like https://na30.salesforce.com, with Available in: Performance,
your chosen name, like https://somethingcool.my.salesforce.com. A subdomain Unlimited, Enterprise,
is also referred to as a custom domain. However, a custom domain has a specific meaning for Developer, Professional,
Salesforce Communities. and Group Editions.
A subdomain name helps you better manage login and authentication for your org in several key
ways. You can:
• Highlight your business identity with your unique domain URL
• Brand your login screen and customize right-frame content
• Block or redirect page requests that don’t use the new domain name
• Work in multiple Salesforce orgs at the same time
726
Set Up and Maintain Your Salesforce Organization My Domain
Important: After you deploy your domain, it’s activated immediately, and requests with the original URL are redirected to your
new domain. Only Salesforce Customer Support can disable or change your domain name after it’s deployed.
IN THIS SECTION:
Set Up a My Domain Name
Implementing your subdomain name with My Domain is quick and easy.
Define Your Domain Name
Register your org’s custom domain name with My Domain. You can try out names and check availability before registering the name.
Guidelines and Best Practices for Implementing My Domain
These tips smooth the transition to using the subdomain that you created with My Domain.
Test and Deploy Your New My Domain Subdomain
After you set up your subdomain with My Domain, test it and then roll it out to your users. Testing gives you the chance to explore
your subdomain. It also helps you verify URLs for pages before rolling out the subdomain to your users.
My Domain URL Changes
When you set up a subdomain name for your org with My Domain, all your application URLs, including Visualforce pages, also
change. Make sure that you update all application URLs before you deploy a domain name. For example, the Email
Notification URL field in Chatter Answers continues to send notifications with the old URLs to internal users unless you
update it. This table shows you the differences.
Set the My Domain Login Policy
Manage your user logins by customizing the login policy for your domain. By default, users log in from a generic Salesforce login
page, bypassing the login page specific to your domain. If you don’t set a login policy, users can make page requests without your
domain name, such as when using old bookmarks.
727
Set Up and Maintain Your Salesforce Organization My Domain
728
Set Up and Maintain Your Salesforce Organization My Domain
3. Click Check Availability. If your name is already taken, choose a different one.
4. Click Register Domain.
5. You receive an email when your domain name is ready for testing. It can take a few minutes.
The new subdomain is available to your users after you test and deploy it.
SEE ALSO:
Set Up a My Domain Name
Guidelines and Best Practices for Implementing My Domain
My Domain URL Changes
Test and Deploy Your New My Domain Subdomain
729
Set Up and Maintain Your Salesforce Organization My Domain
• Make sure that you update all application URLs before you deploy a domain name. For example,
the Email Notification URL field in Chatter Answers continues to send notifications
with the old URLs to internal users unless you update it.
• If your domain is registered but has not yet been deployed, URLs contain your subdomain name when you log in from the My
Domain login page. However, links that originate from merge fields that are embedded in emails sent asynchronously, such as
workflow emails, still use the old URLs. After your domain is deployed, those links show the new My Domain URLs.
• Help your users get started using your new subdomain by providing links to pages they use frequently, such as your login page. Let
your users know if you changed the login policy, and encourage them to update their bookmarks the first time they’re redirected.
• Choose the Redirect Policy option Redirected with a warning to the same page within the domain to give users time to update
their bookmarks with the new subdomain name. After a few days or weeks, change the policy to Not redirected. This option requires
users to use your subdomain name when viewing your pages. It provides the greatest level of security.
• Only use Prevent login from https://login.salesforce.com if you’re concerned that users who aren’t aware of your subdomain
try to use it. Otherwise, leave the option available to your users while they get used to the new domain name.
• Bookmarks don’t work when the Redirect to the same page within the domain option is selected for partner portals. Manually
change the existing bookmarks to point to the new domain URL by replacing the Salesforce instance name with your custom domain
name. For example, replace https://na30.salesforce.com/ with
https://yourDomain.my.salesforce.com/ in the bookmark’s URL.
• If you block application page requests that don’t use the new Salesforce subdomain URLs, let your users know that they must either
update old bookmarks or create new ones for the login page. They must also update tabs or links within the app. If you change your
login redirect policy to Not Redirected, users must use the new subdomain URLs immediately.
• If you are using My Domain, you can identify which users are logging in with the new login URL and when. From Setup, enter Login
History in the Quick Find box, then select Login History and view the Username and Login URL columns.
• On the login.salesforce.com page, users can click Log in to a custom domain to enter your subdomain name and log
in. In this case, they must know the subdomain name. As a safeguard, give them a direct link to your subdomain’s login page as well.
730
Set Up and Maintain Your Salesforce Organization My Domain
Email templates Replace references to the org’s instance URL with your subdomain.
Custom Visualforce pages or custom Force.com apps Replace references to the org’s instance URL with your subdomain.
See How to find hard-coded references with the Force.com IDE.
Chatter Tell your users to update any bookmarks in the left navigation of
their Chatter groups.
Zones for Communities (Ideas/Answers/Chatter Answers) Manually update the email notification URL.
To update the URL, clear the existing URL so that the field is blank
and save the page. Then the system populates the field with your
new My Domain URL.
SEE ALSO:
My Domain URL Changes
Test and Deploy Your New My Domain Subdomain
My Domain
You can customize your domain login page and add authentication services (like social sign-on)
before you deploy the domain to your users. You can also test the domain in a sandbox USER PERMISSIONS
environment.
To set up a domain name:
2. Test the new domain name by clicking tabs and links. All pages now show your new domain • “Customize Application”
name.
If you’ve customized your Salesforce UI with features, such as custom buttons or Visualforce
pages, make sure that you test your customizations thoroughly before deploying your domain name. Look for broken links due to
hard-coded references (instance-based URLs), and use your subdomain URLs instead. For more information, enter “hard-coded
references” in Salesforce Help
3. To roll out the new domain name to your org, from Setup, enter My Domain in the Quick Find box, then select My
Domain.Then click Deploy to Users and OK.
731
Set Up and Maintain Your Salesforce Organization My Domain
When you deploy your domain, it’s activated immediately, and all users are redirected to pages with new domain addresses. You can
now set login policies in the Domain Settings section that appears after you deploy your domain. For example, you can prevent users
from logging in from login.salesforce.com.
SEE ALSO:
Set Up a My Domain Name
Guidelines and Best Practices for Implementing My Domain
Customize Your Login Page with Your Brand
Add Identity Providers on a Login Page
Set the My Domain Login Policy
SEE ALSO:
My Domain
Guidelines and Best Practices for Implementing My Domain
732
Set Up and Maintain Your Salesforce Organization My Domain
b. To remind users to use your domain name, select Redirected with a warning to the same page within the domain. After
reading the warning, users are redirected to the page. Select this option for a few days or weeks to help users transition to a new
domain name.
c. To require users to use your domain name when viewing your pages, select Not redirected.
5. Click Save.
SEE ALSO:
Set Up a My Domain Name
Guidelines and Best Practices for Implementing My Domain
733
Set Up and Maintain Your Salesforce Organization My Domain
4.
To customize your login page background, click the or enter a valid hexadecimal color USER PERMISSIONS
code.
5. To support advanced authentication methods for iOS users, select Use the native browser To customize a login page:
for user authentication on iOS. • “Customize Application”
This iOS user authentication option is for users of Salesforce1 and Mobile SDK applications on
iOS devices. It enables support of authentication methods, such as Kerberos, Windows NT LAN Manager (NTLM), or certificate-based
authentication. When you select this option, users on iOS devices are redirected to their native browser when using single sign-on
authentication into your custom domain. For other operating systems, Salesforce1 and applications using Mobile SDK version 3.1
or later can support certificate-based authentication when the applications are integrated with Mobile Device Management (MDM)
software.
6. Enter the URL of the file to be included in the right-side iFrame on the login page.
The content in the right-side iFrame can resize to fill about 50% of the page. Your content must be hosted at a URL that uses SSL
encryption and the https:// prefix. To build your own custom right-side iFrame content page using responsive web design, use the
My Domain Sample template.
Example: https://c.salesforce.com/login-messages/promos.html
7. Optionally, select authentication services as identity providers on the login page, such as social sign-on providers like Google and
Facebook. Users can then log in with their social account credentials. Configure authentication services as Auth. Providers in Setup.
8. Click Save.
SEE ALSO:
Set Up a My Domain Name
Add Identity Providers on a Login Page
Set the My Domain Login Policy
External Authentication Providers
734
Set Up and Maintain Your Salesforce Organization My Domain
6. Under Status & Maintenance, select All, and look for your instance.
SEE ALSO:
My Domain
735
Set Up and Maintain Your Salesforce Organization My Domain
My Domain FAQ
EDITIONS
IN THIS SECTION:
What is My Domain? Available in: both Salesforce
Using My Domain, Salesforce admins can define a subdomain within their Salesforce org. The Classic and Lightning
subdomain name appears in all org URLs and replaces the instance name (such as na30). For Experience
example, you can brand your URL by naming the subdomain your company name, Available in: Performance,
https://myCompanyName.my.salesforce.com/. My Domain is not the same as Unlimited, Enterprise,
the custom domain for sites, communities, or portals. The domains are defined separately. Developer, and
Which Salesforce Editions is My Domain available in? Database.com Editions.
Some topics don't apply to
What are the advantages of My Domain? Database.com.
Create a subdomain with My Domain to enable users to single sign-on into your org. You can
also customize your login page and use Salesforce as an identity provider.
Does My Domain work differently in different Salesforce Editions?
Does My Domain work in sandboxes?
What are the differences between the redirect policy options?
How does My Domain work with single sign-on?
Is My Domain available for the API?
Is the subdomain for My Domain related to the subdomain for Sites or Communities?
How long can the subdomain name be?
After we set up My Domain, will we still be able to log in from https://login.salesforce.com?
Will we still be able to log in from a URL that includes a Salesforce instance, like https://yourInstance.salesforce.com/?
Can we still use our old Salesforce bookmarks?
Will our Visualforce and content (files) page URLs change?
Can I change or remove my subdomain name?
What is My Domain?
Using My Domain, Salesforce admins can define a subdomain within their Salesforce org. The subdomain name appears in all org URLs
and replaces the instance name (such as na30). For example, you can brand your URL by naming the subdomain your company name,
https://myCompanyName.my.salesforce.com/. My Domain is not the same as the custom domain for sites, communities,
or portals. The domains are defined separately.
736
Set Up and Maintain Your Salesforce Organization My Domain
• Preserve deep links (such as https://yourDomain.my.salesforce.com//001/o) through any future org splits and
migrations.
Note: If you’re using external Chatter groups along with single sign-on for employees, users outside your company are redirected
to a SAML identity provider that they can’t access. To get single sign-on to work, migrate external Chatter groups to communities.
Or, from the My Domain settings, do not select Prevent login from https://login.salesforce.com. Doing
so allows users to continue to log in through login.salesforce.com.
737
Set Up and Maintain Your Salesforce Organization My Domain
Is the subdomain for My Domain related to the subdomain for Sites or Communities?
No. The subdomain names you use for Sites and My Domain can be the same or different. We like to refer to Sites and Salesforce
Communities as custom domains and My Domain as subdomains.
Will we still be able to log in from a URL that includes a Salesforce instance, like
https://yourInstance.salesforce.com/?
Yes, unless your system administrator prevents it. If so, you'll need to log in using your new My Domain URL.
738
Set Up and Maintain Your Salesforce Organization App Launcher
App Launcher
The App Launcher is how users switch between apps. Users are presented with tiles that link to
EDITIONS
their connected apps, Salesforce apps, and on-premise applications. Salesforce admins can set the
default app order for an org and determine which apps are available to which users. They can make Available in: both Salesforce
the App Launcher the default landing page when users first open Salesforce. Classic and Lightning
All Lightning Experience users get the App Launcher. Salesforce Classic users need the “Use Identity Experience
Features” permission and the App Launcher option in their profile set to Visible. Users see only the
Available in: Enterprise,
apps that they are authorized to see according to their profile or permission sets. Performance, Unlimited,
In Salesforce Classic, Salesforce admins using the System Administrator profile have access to the and Developer Editions
App Launcher. Admins using profiles cloned from the System Administrator profile don’t.
IN THIS SECTION:
Enable the App Launcher with a Profile in Salesforce Classic
Create a profile and assign it to users, so they can access the App Launcher.
Enable the App Launcher with a Permission Set in Salesforce Classic
Create a permission set and assign it to users, so they can access the App Launcher.
SEE ALSO:
Identity Implementation Guide
In Salesforce Classic, Salesforce admins using the System Administrator profile have access to the Available in: Enterprise,
App Launcher. Admins using profiles cloned from the System Administrator profile don’t. Performance, Unlimited,
and Developer Editions
1. From Setup, enter Profiles in the Quick Find box, then select Profiles.
2. Click New Profile.
3. Select an Existing Profile as a basis for the new profile.
For example, select Standard User.
5. Click Save.
6. In the detail page for the new profile, click Edit.
7. In Custom App Settings, set the App Launcher to Visible, if it isn’t already.
Under Tab Settings, verify that the App Launcher tab is set to Default On.
739
Set Up and Maintain Your Salesforce Organization App Launcher
10. From Setup, enter Users in the Quick Find box, then select Users.
11. Click Edit next to each user you want to access the App Launcher.
12. In the user’s Profile field, select the new profile that has “Use Identity Features” enabled.
For example, you might use the Standard User Identity profile.
SEE ALSO:
App Launcher
1. From Setup, enter Permission Sets in the Quick Find box, then select Permission Available in: Enterprise,
Sets. Performance, Unlimited,
and Developer Editions
2. Click New.
3. Enter a Label for the new permission set.
For example, Identity Features.
4. Optionally, restrict the use of this permission set to a specific User License.
5. Click Save.
6. Click System Permissions.
7. Click Edit.
8. Select Use Identity Features.
9. Click Save.
10. From Setup, enter Users in the Quick Find box, then select Users.
740
Set Up and Maintain Your Salesforce Organization Configure File Upload and Download Security Settings
11. Click the name of an existing user to whom you want to give access to the App Launcher.
12. In the Permission Set Assignments related list, click Edit Assignments.
13. Add the new permission set you created for identity features to Enabled Permission Sets.
14. Click Save.
When you log in as the selected user, the App Launcher appears in the drop-down app menu.
Note: Still not seeing the App Launcher? In the profile associated with the user, select Visible for the App Launcher setting.
SEE ALSO:
App Launcher
741
Set Up and Maintain Your Salesforce Organization Certificates and Keys
• After this setting is enabled, previously-uploaded HTML documents and attachments are unaffected. However, when users
attempt to view an HTML attachment or document, their browser first prompts them to open the file in the browser, save
it to their computer, or cancel the action.
5. Click Save.
IN THIS SECTION:
Generate a Self-Signed Certificate
Generate a certificate signed by Salesforce to show that communications purporting to come from your organization are really
coming from there.
Generate a Certificate Signed by a Certificate Authority
A certificate authority-signed (CA-signed) certificate can be a more authoritative way to prove that your org’s data communications
are genuine. You can generate this type of certificate and upload it to Salesforce.
Set Up a Mutual Authentication Certificate
To prevent security from being compromised by simple impersonation, you can require clients and servers to prove their identity
to each other with a mutual authentication certificate.
Configure Your API Client to Use Mutual Authentication
Enforce SSL/TLS mutual authentication.
742
Set Up and Maintain Your Salesforce Organization Certificates and Keys
Note: After you save a Salesforce certificate, you can’t change its type or key size.
6. Click Save.
Downloaded self-signed certificates have .crt extensions.
After you successfully save a Salesforce certificate, the certificate and corresponding keys are automatically generated.
SEE ALSO:
Certificates and Keys
Generate a Certificate Signed by a Certificate Authority
743
Set Up and Maintain Your Salesforce Organization Certificates and Keys
4. Enter a unique name. You can accept the name that’s populated based on the certificate label To create, edit, and manage
certificates:
you enter.
• “Customize Application”
This name can contain only underscores and alphanumeric characters, and must be unique in
your org. It must begin with a letter, not include spaces, not end with an underscore, and not
contain two consecutive underscores. Use the unique name when referring to the certificate using the Force.com web services API
or Apex.
Note: After you save a Salesforce certificate, you can’t change its type or key size.
Field Description
Common Name The fully qualified domain name of the company requesting the signed certificate, generally of the
form http://www.mycompany.com.
Company Either the legal name of your company or your legal name.
Department The branch of your company using the certificate, such as marketing or accounting.
Country Code A two-letter code indicating the country where the company resides. For the United States, the value
is US.
7. Click Save.
After you save a Salesforce certificate, the certificate and corresponding keys are automatically generated.
8. Find your new certificate from the certificates list, then click Download Certificate Signing Request.
Downloaded certificate signing requests have .csr extensions.
744
Set Up and Maintain Your Salesforce Organization Certificates and Keys
Tip: If you need to edit a certificate that you’ve uploaded, upload it again; Published site domains are republished if they have at
least one Force.com site or community. The expiration date of the certificate record is updated to the expiration date of the newly
uploaded certificate.
You can have up to 50 certificates.
If you are using a certificate chain, the client certificate must include any intermediate certificates To create, edit, and manage
certificates:
in the chain when contacting port 8443.
• “Customize Application”
A certificate chain is a hierarchical order of certificates where one certificate issues and signs another
certificate lower in the hierarchy. Upload a certificate chain as a single PEM-encoded CA-signed
certificate representing the concatenated chain of certificates. The uploaded certificate chain must include the intermediate certificates
in the following order.
• Start with the server or client certificate and then add its signing certificate.
• If more than one intermediate certificate exists between the server or client certificate and the root, add each certificate as the one
that signed the previous certificate.
• The root certificate is optional, and generally should not be included.
SEE ALSO:
Configure Your API Client to Use Mutual Authentication
745
Set Up and Maintain Your Salesforce Organization Certificates and Keys
USER PERMISSIONS
2. Once a session ID is returned from your call, you can perform other actions, such as queries. For example:
curl -k https://yourInstance.salesforce.com:8443/services/Soap/u/31.0 -H "Content-Type:
text/xml; charset=UTF-8" -H "SOAPAction: example" -d @accountQuery.xml -v -E
fullcert.pem:xxxxxx
where @accountQuery.xml is the file name containing the query Soap message with session ID from the login response.
SEE ALSO:
Certificates and Keys
Set Up a Mutual Authentication Certificate
746
Set Up and Maintain Your Salesforce Organization Certificates and Keys
• Archive the existing key and create a new key. Available in all editions
• Export an existing key after it's been archived.
• Delete an existing key. USER PERMISSIONS
• Import an existing key after it's been deleted. To create, edit, and manage
certificates:
• “Customize Application”
Archiving and Creating New Keys
To archive your current key and create a new key , click Archive Current Key and Create New
Key on the Certificate and Key Management Setup page. A new key is generated, assigned the next sequential number,
and activated. All new data is encrypted using the new key.
Existing data continues to use the archived key until the data is modified and saved. Then data is encrypted using the new key.
After you archive a key, you can export or delete it.
Exporting Keys
You can export your keys to a back-up location for safe keeping. It’s a good idea to export a copy of any key before deleting it.
Exporting creates a text file with the encrypted key, so you can import the key back into your organization later.
Deleting Keys
Don't delete a key unless you're absolutely certain no data is currently encrypted using the key. After you delete a key, any data encrypted
with that key can no longer be accessed.
Important: Export and delete keys with care. If your key is destroyed, you must reimport it to access your data. You are solely
responsible for making sure your data and keys are backed up and stored in a safe place. Salesforce cannot help you with deleted,
destroyed or misplaced keys.
Importing Keys
If you have data associated with a deleted key, you can import an exported key back into your organization. Any data that was not
accessible becomes accessible again.
Click Import next to the key you want to import.
Note: This page is about Classic Encryption, not Shield Platform Encryption. What's the difference? on page 547
SEE ALSO:
Certificates and Keys
747
Set Up and Maintain Your Salesforce Organization Monitor Your Organization
IN THIS SECTION:
The System Overview Page
The system overview page shows usage data and limits for your organization, and displays messages when you reach 95% of your
limit (75% of portal roles).
Monitor Data and Storage Resources
View your Salesforce org’s storage limits and usage from the Storage Usage page in Setup.
Monitor Login History
Admins can monitor all login attempts for their org and enabled portals or communities. The login history page displays the most
recent 20,000 attempts. To see more records, download the information to a CSV or GZIP file.
Identity Verification History
As an admin, use Identity Verification History to monitor and audit up to 20,000 records of your org users’ identity verification attempts
from the past six months. For example, suppose that two-factor authentication is enabled when a user logs in. When the user
successfully provides a time-based, one-time password as proof of identity, that information is recorded in Identity Verification
History.
Monitor Login Activity with Login Forensics
Login forensics helps administrators better determine which user behavior is legitimate to prevent identity fraud in Salesforce.
Monitor Training History
As an administrator, you want to know that your team is learning how to use Salesforce effectively. The Training Class History shows
you all of the Salesforce training classes your users have taken.
Monitor Setup Changes
Setup Audit Trail tracks the recent setup changes that you and other admins have made to your org. Audit history is especially useful
in orgs with multiple admins.
Field History Tracking
You can select certain fields to track and display the field history in the History related list of an object. The field history data is retained
for up to 18 months.
Monitor Debug Logs
Set trace flags to trigger logging for users, Apex classes, and Apex triggers in the Developer Console or in Setup. Monitor the resulting
logs to diagnose problems in your org.
Monitoring Scheduled Jobs
The All Scheduled Jobs page lists all reporting snapshots, scheduled Apex jobs, and dashboards scheduled to refresh.
Monitoring Background Jobs
You can monitor background jobs in your organization, such as when parallel sharing recalculation is running.
748
Set Up and Maintain Your Salesforce Organization The System Overview Page
Note: The system overview page shows only the items enabled for your organization. For Available in: both Salesforce
example, your system overview page shows workflow rules only if workflow is enabled for Classic and Lightning
Experience
your organization.
Click the numbers under each metric to get more details about your usage. If it’s available, use Available in: All Editions
Checkout to increase usage limits for your organization. For example, if your organization reaches except Personal Edition
the limit for custom objects, the system overview page notifies you with a message link. Click the
link to clean up any unused objects, or visit Checkout to increase your limit for objects. USER PERMISSIONS
To access the system overview page, from Setup, enter System Overview in the Quick
To access the system
Find box, then select System Overview.
overview page:
The system overview page displays usage for: • “Customize Application”
• Schema
• API usage
• Business logic
• User interface
• Most used licenses
• Portal roles
Note: The object limit percentages are truncated, not rounded. For example, if your org uses 95.55% of the limit for a particular
customization, the object limit displays 95%.
IN THIS SECTION:
System Overview: Schema
System Overview: API Usage
System Overview: Business Logic
System Overview: User Interface
System Overview: Most Used Licenses
System Overview: Portal Roles
749
Set Up and Maintain Your Salesforce Organization The System Overview Page
750
Set Up and Maintain Your Salesforce Organization Monitor Data and Storage Resources
751
Set Up and Maintain Your Salesforce Organization Monitor Data and Storage Resources
Storage Capacity
Data Storage
For data storage, Contact Manager, Group, Professional, Enterprise, Performance, and Unlimited Editions are allocated the greater of 1
GB or a per-user limit. For example, a Professional Edition org with 10 users receives 1 GB, because 10 users multiplied by 20 MB per user
is 200 MB, which is less than the 1 GB minimum. A Professional Edition org with 100 users receives more than the 1 GB minimum, because
100 users multiplied by 20 MB per user is 2,000 MB.
File Storage
Contact Manager, Group, Professional, Enterprise, Performance, and Unlimited Editions are allocated 10 GB of file storage per org.
Orgs are allocated more file storage based on the number of standard user licenses. In Enterprise, Performance, and Unlimited Editions,
orgs are allocated 2 GB of file storage per user license. Contact Manager, Group, Professional Edition orgs are allocated 612 MB per
standard user license, which includes 100 MB per user license plus 512 MB per license for the Salesforce CRM Content feature license.
Note: Each Salesforce CRM Content feature license provides an extra 512 MB of file storage, whether Salesforce CRM Content is
enabled or not.
The values in the File Storage Allocation Per User License column apply to Salesforce and Salesforce Platform user licenses.
Salesforce Edition Data Storage Data Storage File Storage File Storage
Minimum per Org Allocation per User Allocation per Org Allocation per User
License License
Contact Manager
Group 612 MB
20 MB
Professional
1 GB 10 GB
Enterprise
Performance 2 GB
120 MB
Unlimited
Developer 5 MB
If your org uses custom user licenses, contact Salesforce to determine if these licenses provide more storage. For a description of user
licenses, see User Licenses.
752
Set Up and Maintain Your Salesforce Organization Monitor Login History
1. From Setup, enter Users in the Quick Find box, then select Users.
2. Click the name of any user.
3. Click View next to the Used Data Space or Used File Space fields to view that user’s storage usage by record type.
Data storage and file storage are calculated asynchronously and your org’s storage usage isn’t updated immediately. Keep this in mind
if importing or adding many records or files.
Individual users can view their own storage usage in their personal information.
Increasing Storage
When you need more storage, increase your storage limit or reduce your storage usage.
• Purchase more storage space, or add user licenses in Professional, Enterprise, Unlimited, and Performance Editions.
• Delete outdated leads or contacts.
• Remove any unnecessary attachments.
• Delete files in Salesforce CRM Content.
Storage Considerations
When planning your storage needs, keep in mind:
• Person accounts count against both account and contact storage because each person account consists of one account as well as
one contact.
• Archived activities count against storage.
• Active or archived products, price books, price book entries, and assets don’t count against storage.
• Excel csv file—Download a CSV file of all user logins for the past six months or the first
20,000 user login attempts. This report includes logins through the API. USER PERMISSIONS
• gzipped Excel csv file—Download a CSV file of all user logins for the past six months or To monitor logins:
the first 20,000 user login attempts. This report includes logins through the API. Because • “Manage Users”
the file is compressed, it’s the preferred option for quickest download time.
3. Select the file contents. The All Logins option includes API access logins.
4. Click Download Now.
753
Set Up and Maintain Your Salesforce Organization Monitor Login History
Note: Older versions of Microsoft Excel can’t open files with more than 65,536 rows. If you can’t open a large file in Excel, see the
Microsoft Help and Support article about handling large files.
Note: Due to the nature of geolocation technology, the accuracy of geolocation fields (for example, country, city, postal code)
can vary.
Note: For security purposes, Salesforce can require users to pass a CAPTCHA user verification test to export data from their org.
This simple text-entry test prevents malicious programs from accessing your org’s data. To pass the test, users must correctly type
the two words displayed in the overlay’s text box. The words entered in the text box must be separated by a space.
My Domain
If you are using My Domain, you can identify which users are logging in with the new login URL and when. From Setup, enter Login
History in the Quick Find box, then select Login History and view the Username and Login URL columns.
SEE ALSO:
Identity Verification History
754
Set Up and Maintain Your Salesforce Organization Identity Verification History
Field Description
Time The time of the identity verification attempt. The time zone is based
on GMT.
Activity Message The text the user sees on the screen or in Salesforce Authenticator
when prompted to verify identity. For example, if identity
verification is required for a user’s login, the user sees “You’re trying
to Log In to Salesforce”. In this instance, the Activity Message is
“Log In to Salesforce”. The exception is when the User Activity is
“Apex-defined activity.” In this instance, the Activity Message can
be a custom description passed by the Apex method. If the user
is verifying identity using version 2 or later of the Salesforce
Authenticator app, the custom description displays in the app as
well as in Verification History. If the custom description isn’t
specified, the name of the Apex method is shown in Verification
History.
755
Set Up and Maintain Your Salesforce Organization Identity Verification History
Field Description
• Device activation—Identity verification required for users
logging in from an unrecognized device or new IP address.
This verification is part of Salesforce’s risk-based authentication.
• Lightning Login enrollment—Identity verification required for
users enrolling in Lightning Login. This verification is triggered
when the user attempts to enroll. Users are eligible to enroll if
they have the “Lightning Login User” user permission and the
org has enabled “Allow Lightning Login” in Session Settings.
• High assurance session required—High assurance session
required for resource access. This verification is triggered when
the user tries to access a resource, such as a connected app,
report, or dashboard that requires a high-assurance session
level.
• Lightning Login login—Identity verification required for users
logging in via Lightning Login. This verification is triggered
when the enrolled user attempts to log in. Users are eligible
to log in if they have the “Lightning Login User” user
permission, have successfully enrolled in Lightning Login, and
the org has enabled “Allow Lightning Login” in Session Settings.
• Profile session level policy—Session security level required at
login. This verification is triggered by the “Session security level
required at login” setting on the user’s profile.
• Two-factor authentication required—Two-factor authentication
required at login. This verification is triggered by the
“Two-Factor Authentication for User Interface Logins” user
permission assigned to a custom profile. Or, the user permission
is included in a permission set that is assigned to a user.
Method The method by which the user attempted to verify identity in the
verification event.
• Email message—Salesforce sent an email with a verification
code to the address associated with the user’s account.
• Lightning Login enrollment—Salesforce Authenticator sent a
notification to the user’s mobile device to enroll in Lightning
Login.
• One-time password—An authenticator app generated a
time-based, one-time password (TOTP) on the user’s mobile
device.
• Lightning Login login—Salesforce Authenticator sent a
notification to the user’s mobile device to approve login via
Lightning Login.
• Salesforce Authenticator—Salesforce Authenticator sent a
notification to the user’s mobile device to verify account
activity.
756
Set Up and Maintain Your Salesforce Organization Identity Verification History
Field Description
• Temporary verification code—A Salesforce admin or a user
with the “Manage Two-Factor Authentication in User Interface”
permission generated a temporary verification code for the
user.
• Text message—Salesforce sent a text message with a
verification code to the user’s mobile device.
• U2F security key—A U2F security key generated required
credentials for the user.
Source IP The IP address of the machine from which the user attempted the
action that requires identity verification. For example, the IP address
of the machine from where the user tried to log in or access reports.
If it’s a non-login action that required verification, the IP address
757
Set Up and Maintain Your Salesforce Organization Identity Verification History
Field Description
can be different from the address from where the user logged in.
This address can be an IPv4 or IPv6 address.
Location The country where the user’s IP address is physically located. This
value is not localized. Due to the nature of geolocation technology,
the accuracy of geolocation fields (for example, country, city, postal
code) can vary.
You can display the following fields by creating a custom view. In the description, the IP address is the address of the machine from
which the user attempted the action that requires identity verification. Due to the nature of geolocation technology, the accuracy of
geolocation fields (for example, country, city, postal code) can vary.
Field Description
City The city where the user’s IP address is physically located. This value
is not localized.
Connected App The name and link to the connected app the user attempted to
access. If the connected app was renamed since the user’s
verification attempt, it shows the new name. If the connected app
was deleted since the user’s verification attempt, it shows
“Unavailable.”
Country The country where the user’s IP address is physically located. This
value is not localized.
CountryIso The ISO 3166 code for the country where the user’s IP address is
physically located. For more information, see Country Codes - ISO
3166
Login Type The type of login, for example, Application, OAuth, or SAML.
Postal Code The postal code where the user’s IP address is physically located.
This value is not localized.
Subdivision The name of the subdivision where the user’s IP address is physically
located. In the U.S., this value is usually the state name (for example,
Pennsylvania). This value is not localized.
User Activity The action the user attempted that requires identity verification.
• Access a connected app—The user attempted to access a
connected app.
• Access reports—The user attempted to access reports or
dashboards.
• Apex-defined activity—The user attempted to access a
Salesforce resource with a verification Apex method.
758
Set Up and Maintain Your Salesforce Organization Monitor Login Activity with Login Forensics
Field Description
• Export and print reports—The user attempted to export or
print reports or dashboards.
• Log in to Salesforce—The user attempted to log in.
SEE ALSO:
Monitor Login History
Delegate Two-Factor Authentication Management Tasks
Login forensics helps you identify suspicious login activity. It provides you key user access data,
including:
• The average number of logins per user per a specified time period
• Who logged in more than the average number of times
• Who logged in during non-business hours
• Who logged in using suspicious IP ranges
There’s some basic terminology to master before using this feature.
Event
An event refers to anything that happens in Salesforce, including user clicks, record state changes, and taking measurements of
various values. Events are immutable and timestamped.
Login Event
A single instance of a user logging in to an organization. Login events are similar to login history in Salesforce. However, you can
add HTTP header information to login events, which makes them extensible.
Login History
The login history that administrators can obtain by downloading the information to .cvs or .gzip file and that’s available
through Setup and the API. This data has indexing and history limitations.
Administrators can track events using the LoginEvent object. There’s no user interface for login forensics. Use the Force.com IDE,
Workbench, or other development tools to interact with this feature.
IN THIS SECTION:
Considerations for Using Login Forensics
Before you get started with Login Forensics, keep in mind some considerations for use.
759
Set Up and Maintain Your Salesforce Organization Monitor Training History
USER PERMISSIONS
760
Set Up and Maintain Your Salesforce Organization Monitor Setup Changes
The history shows the 20 most recent setup changes made to your org. It lists the date of the change, Available in: Contact
who made it, and what the change was. If a delegate (like an admin or customer support Manager, Group,
representative) makes a setup change on behalf of an end user, the Delegate User column shows Professional, Enterprise,
the delegate’s username. For example, if a user grants login access to an admin and the admin Performance, Unlimited,
makes a setup change, the admin’s username is listed. Developer, and
Database.com Editions
Setup Audit Trail tracks these changes.
Customization • User interface settings like collapsible sections, Quick Create, hover details,
or related list hover links
• Page layout, action layout, and search layouts
• Compact layouts
• Salesforce1 navigation menu
• Inline edits
• Custom fields and field-level security, including formulas, picklist values, and
field attributes like the auto-number field format, field manageability, or
masking of encrypted fields
• Lead settings, lead assignment rules, and lead queues
• Activity settings
• Support settings, business hours, case assignment and escalation rules, and
case queues
761
Set Up and Maintain Your Salesforce Organization Monitor Setup Changes
Security and Sharing • Public groups, sharing rules, and org-wide sharing, including the Grant Access Using Hierarchies option
• Password policies
• Password resets
• Session settings, like session timeout (excluding Session times out after and Session security level
required at login profile settings)
• Delegated administration groups and the items delegated admins can manage (setup changes made by
delegated administrators are also tracked)
• Lightning Login, enabling or disabling, enrollments, and cancellations
• How many records a user emptied from their Recycle Bin and from the org’s Recycle Bin
• SAML (Security Assertion Markup Language) configuration settings
• Salesforce certificates
• Identity providers, enabling or disabling
• Named credentials
• Service providers
• Shield Platform Encryption setup
762
Set Up and Maintain Your Salesforce Organization Monitor Setup Changes
Using the application • Account team and opportunity team selling settings
763
Set Up and Maintain Your Salesforce Organization Field History Tracking
SEE ALSO:
Security Health Check
Note: Field history increases beyond your current limits require purchasing the Field Audit Trail add-on following the Spring ’15
release. When the add-on subscription is enabled, your field history storage is changed to reflect the retention policy associated
with the offering. If your org was created prior to June 2011 and your field history limits remain static, Salesforce commits to retain
your field history without a limit. If your org was created after June 2011 and you decide not to purchase the add-on, field history
is retained for a maximum of 18 months.
Consider the following when working with field history tracking.
• Changes to fields with more than 255 characters are tracked as edited, and their old and new values are not recorded.
• Tracked field values are not automatically translated; they display in the language in which they were made. For example, if a field
is changed from Green to Verde, Verde is displayed no matter what a user’s language is, unless the field value has been
translated into other languages via the Translation Workbench. This also applies to record types and picklist values.
764
Set Up and Maintain Your Salesforce Organization Field History Tracking
• Changes to custom field labels that have been translated via the Translation Workbench are shown in the locale of the user viewing
the History related list. For example, if a custom field label is Red and translated into Spanish as Rojo, then a user with a Spanish
locale sees the custom field label as Rojo. Otherwise, the user sees the custom field label as Red.
• Changes to date fields, number fields, and standard fields are shown in the locale of the user viewing the History related list. For
example, a date change to August 5, 2012 shows as 8/5/2012 for a user with the English (United States) locale, and as
5/8/2012 for a user with the English (United Kingdom) locale.
• If a trigger causes a change on an object the current user doesn’t have permission to edit, that change is not tracked because field
history honors the permissions of the current user.
IN THIS SECTION:
Track Field History for Standard Objects
You can enable field history tracking for standard objects in the object’s management settings.
Track Field History for Custom Objects
You can enable field history tracking for custom objects in the object’s management settings.
Disable Field History Tracking
You can turn off field history tracking from the object’s management settings.
Field Audit Trail
Field Audit Trail lets you define a policy to retain archived field history data up to ten years, independent of field history tracking.
This feature helps you comply with industry regulations related to audit capability and data retention.
SEE ALSO:
Track Field History for Standard Objects
Track Field History for Custom Objects
Field Audit Trail
Disable Field History Tracking
765
Set Up and Maintain Your Salesforce Organization Field History Tracking
3. For accounts, contacts, leads, and opportunities, select the Enable Account History, USER PERMISSIONS
Enable Contact History, Enable Lead History, or Enable
Opportunity History checkbox. To set up which fields are
tracked:
4. Choose the fields you want tracked.
• “Customize Application”
You can select a combination of up to 20 standard and custom fields per object. This limit
includes fields on business accounts and person accounts.
Certain changes, such as case escalations, are always tracked.
You can’t track the following fields:
• Formula, roll-up summary, or auto-number fields
• Created By and Last Modified By
• Expected Revenue field on opportunities
• Master Solution Title or the Master Solution Details fields on solutions; these fields display only for
translated solutions in organizations with multilingual solutions enabled.
5. Click Save.
Salesforce tracks history from this date and time forward. Changes made prior to this date and time are not included.
SEE ALSO:
Field History Tracking
766
Set Up and Maintain Your Salesforce Organization Field History Tracking
5. Choose the fields you want tracked. Standard Objects are not
available in Database.com
You can select up to 20 standard and custom fields per object. You can’t track:
• Formula, roll-up summary, or auto-number fields
• Created By and Last Modified By USER PERMISSIONS
SEE ALSO:
Field History Tracking
767
Set Up and Maintain Your Salesforce Organization Field History Tracking
• Accounts
• Cases
• Contacts
• Leads
• Opportunities
• Assets
• Entitlements
• Service Contracts
• Contract Line Items
• Solutions
• Products
• Price Books
• Custom objects with field history tracking enabled
Note: The HistoryRetentionPolicy is automatically set on the above objects, once Field Audit Trail is enabled. By
default, data is archived after 18 months in a production organization, after one month in a sandbox organization, and all archived
data is stored for 10 years.
You can include field history retention policies in managed and unmanaged packages.
The following fields can't be tracked.
• Formula, roll-up summary, or auto-number fields
• Created By and Last Modified By
• Expected Revenue field on opportunities
• Master Solution Title or the Master Solution Details fields on solutions
• Long text fields
• Multi-select fields
After you define and deploy a Field Audit Trail policy, production data is migrated from related history lists such as Account History into
the FieldHistoryArchive object. The first copy writes the field history that’s defined by your policy to archive storage and
768
Set Up and Maintain Your Salesforce Organization Field History Tracking
sometimes takes a long time. Subsequent copies transfer only the changes since the last copy and are much faster. A bounded set of
SOQL is available to query your archived data.
Note: For some time after the initial GA release, data might not be automatically deleted from the History related list and may
reside in both the FieldHistoryArchive object and in the History related list. Salesforce reserves the right to delete
archived data from the History related list in accordance with the customer-defined policy in future releases.
Note: If your organization has Field Audit Trail enabled, previously archived data isn't encrypted if you subsequently turn on
Platform Encryption. For example, your organization uses Field Audit Trail to define a data history retention policy for an account
field, such as the phone number field. After enabling Platform Encryption, you turn on encryption for that field, and phone number
data in the account is encrypted. New phone number records are encrypted as they are created, and previous updates to the
phone number field that are stored in the Account History related list are also encrypted. However, phone number history data
that is already archived in the FieldHistoryArchive object continues to be stored without encryption. If your organization
needs to encrypt previously archived data, contact Salesforce. We will encrypt and rearchive the stored field history data, then
delete the unencrypted archive.
IN THIS SECTION:
Examples
SEE ALSO:
SOAP API Developer Guide: FieldHistoryArchive
Metadata API Developer Guide: HistoryRetentionPolicy
ISVforce Guide: Overview of Packages
Force.com SOQL and SOSL Reference: SOQL with Archived Data
Examples
Note: The first copy writes the entire field history that’s defined by your policy to archive storage and might take a long time.
Subsequent copies transfer only the changes since the last copy, and will be much faster.
1. Define a field history data retention policy for each object. The policy specifies the number of months that you want to maintain
field history in Salesforce, and the number of years that you want to retain field history in the archive. The following sample file
defines a policy of archiving the object after six months, and keeping the archives for five years.
<?xml version="1.0" encoding="UTF-8"?>
<CustomObject xmlns="http://soap.sforce.com/2006/04/metadata">
<historyRetentionPolicy>
<archiveAfterMonths>6</archiveAfterMonths>
<archiveRetentionYears>5</archiveRetentionYears>
<description>My field history retention</description>
</historyRetentionPolicy>
<fields>
<fullName>AccountSource</fullName>
769
Set Up and Maintain Your Salesforce Organization Field History Tracking
...
</CustomObject>
The file name determines the object to which the policy is applied. For example, to apply the above policy to the Account object,
save the file as Account.object. For existing custom objects, this works the same way, with the file named after the custom
object. For example: myObject__c.object.
2. Create the project manifest, which is an XML file that’s called package.xml. The following sample file lists several objects for
which data retention policy is to be applied. With this manifest file, you expect the objects folder to contain five files:
Account.object, Case.object, and so on.
3. Create the .zip file and use the deploy() function to deploy your changes to your production environment. For more
information, see the Metadata API Guide.
Note: This pilot doesn’t support deployment from sandbox to production environments.
That’s it! Your field history retention policy will go into effect according to the time periods that you set.
Create a Custom Object and Set Field History Retention Policy at the Same Time
You can use Metadata API to create a custom object and set retention policy at the same time. You must specify the minimum required
fields when creating a new custom object. Here’s sample XML that creates an object and sets field history retention policy:
<?xml version="1.0" encoding="UTF-8"?>
<CustomObject xmlns="http://soap.sforce.com/2006/04/metadata">
<deploymentStatus>Deployed</deploymentStatus>
<enableHistory>true</enableHistory>
<description>just a test object with one field for eclipse ide testing</description>
<historyRetentionPolicy>
<archiveAfterMonths>3</archiveAfterMonths>
<archiveRetentionYears>10</archiveRetentionYears>
<gracePeriodDays>1</gracePeriodDays>
<description>Transaction Line History</description>
</historyRetentionPolicy>
<fields>
<fullName>Comments__c</fullName>
<description>add your comments about this object here</description>
<inlineHelpText>This field contains comments made about this object</inlineHelpText>
<label>Comments</label>
<length>32000</length>
<trackHistory>true</trackHistory>
770
Set Up and Maintain Your Salesforce Organization Field History Tracking
<type>LongTextArea</type>
<visibleLines>30</visibleLines>
</fields>
<label>MyFirstObject</label>
<nameField>
<label>MyFirstObject Name</label>
<type>Text</type>
</nameField>
<pluralLabel>MyFirstObjects</pluralLabel>
<sharingModel>ReadWrite</sharingModel>
</CustomObject>
Set trackHistory to true on the fields that you want to track and false on the other fields.
Note: To check the current data retention policy for any object, retrieve its metadata using Metadata API and look up the value
of HistoryRetentionPolicy.
SEE ALSO:
Metadata API Developer Guide: deploy()
Metadata API Developer Guide: CustomObject
Force.com SOQL and SOSL Reference: SOQL with Archived Data
771
Set Up and Maintain Your Salesforce Organization Monitor Debug Logs
• Each debug log must be 2 MB or smaller. Debug logs that are larger than 2 MB are reduced in
size by removing older log lines, such as log lines for earlier System.debug statements. USER PERMISSIONS
The log lines can be removed from any location, not just the start of the debug log.
To view, retain, and delete
• Each org can retain up to 50 MB of debug logs. Once your org has reached 50 MB of debug debug logs:
logs, the oldest debug logs start being overwritten. • “Manage Users”
772
Set Up and Maintain Your Salesforce Organization Monitor Debug Logs
773
Set Up and Maintain Your Salesforce Organization Monitor Debug Logs
– If you use a custom domain (for example, yourCustomDomain.com), use this code.
– If you use a custom domain (for example, yourCustomDomain.com), use this command.
document.cookie="debug_logs=debug_logs;domain=yourCustomDomain.com";
774
Set Up and Maintain Your Salesforce Organization Monitor Debug Logs
Tip: Debug logs are for live troubleshooting. To record all site traffic, use event monitoring. For details, see the Sites section of
SOAP API Developer Guide: EventLogFile.
SEE ALSO:
Monitor Debug Logs
To use the Developer Console: “View All Data” Available in: Salesforce
Classic and Lightning
To execute anonymous Apex: “Author Apex”
Experience
To use code search and run SOQL or SOSL “API Enabled”
Available in: Enterprise,
on the query tab:
Performance, Unlimited,
To save changes to Apex classes and “Author Apex” Developer, and
triggers: Database.com Editions
The debug log contains information about each transaction, such as whether it was successful and how long it took. Depending on the
filters set by your trace flags, the log can contain varying levels of detail about the transaction.
775
Set Up and Maintain Your Salesforce Organization Monitoring Scheduled Jobs
To view a debug log, from Setup, enter Debug Logs in the Quick Find box, then select Debug Logs. Then click View next to
the debug log that you want to examine. Click Download to download the log as an XML file.
SEE ALSO:
Monitor Debug Logs
• Click Del to permanently delete all instances of a scheduled job. Available in: Professional,
• View the details of a scheduled job, such as the: Enterprise, Performance,
Unlimited, Developer, and
– Name of the scheduled job Database.com Editions
– Name of the user who submitted the scheduled job Reporting Snapshots and
– Date and time at which the scheduled job was originally submitted Dashboards are not
– Date and time at which the scheduled job started available in Database.com
– Next date and time at which the scheduled job will run
– Type of scheduled job USER PERMISSIONS
The Background Jobs page shows the details of background jobs, including a percentage estimate
of the recalculation progress. The Job Type column shows the background job that’s running, such USER PERMISSIONS
as Organization-Wide Default Update. The Job Sub Type column shows the affected
object, such as Account or Opportunity. To monitor background jobs:
• “View Setup and
Configuration”
776
Set Up and Maintain Your Salesforce Organization Enable Your Users to Work on Mobile Devices
Note: You can only monitor background jobs on this page. Contact Salesforce to abort a background job.
SEE ALSO:
Recalculate Sharing Rules
Asynchronous Parallel Recalculation of Sharing Rules
IN THIS SECTION:
Put Salesforce1 In Your Users' Hands
The Salesforce1 mobile app enables your users to stay productive on the go.
Help Users From Anywhere With SalesforceA
SalesforceA is a mobile app for Salesforce administrators. When you’re away from your desk, you can use your phone or tablet to
perform essential administration tasks like resetting passwords, freezing users, and viewing current system status.
Support On-the-Go Productivity with Salesforce Mobile Classic
Salesforce Mobile Classic helps your teams succeed by allowing users to access their latest Salesforce data, whenever and wherever
they need it, directly from Android™ and iPhone® devices.
View a Mobile User’s Push Registration Information
With the Mobile Push Registrations Page, you can view any user's push registration information for general troubleshooting.
IN THIS SECTION:
Salesforce1 Mobile App Setup Options
See the many options for customizing the Salesforce1 mobile app, to make it an effective on-the-go tool for your users’ business
needs.
Set Up the Salesforce1 Mobile App with the Salesforce1 Wizard
The Salesforce1 Wizard provides an easy way to complete the essential setup tasks for Salesforce1. After you’ve set up Salesforce1
with this wizard, your sales reps can use Salesforce1 to run their business from their mobile devices.
Control Access to the Salesforce1 Mobile App
You can control your organization’s access to the Salesforce1 downloadable apps and the Salesforce1 mobile browser app.
Salesforce1 and Password Manager Apps
Good security practices require long, complex passwords. But typing long, complex passwords on small mobile keyboards is error
prone and frustrating. Effectively, your users are penalized for being secure. Well, if your org uses password management, your
Salesforce1 for iOS users are free to leave the penalty box. With version 11.0 or later of the Salesforce1 downloadable app for iOS,
users can use a password manager app to simplify the login process down to a few taps.
777
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
778
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
– For the mobile browser app, from the Salesforce1 Quick Start page, click Mobile Browser Option.
• Customize how data appears in Salesforce1. Unless otherwise specified, you can access these customizations from the management
settings for the object whose data you want to customize.
– Optimize your page layouts so they display well on mobile devices. You can modify existing page layouts or create new,
mobile-friendly page layouts. From the appropriate object management settings, go to Page Layouts.
– Add expanded lookups, components (including the Twitter component), or Visualforce pages to the Mobile Cards section of a
page layout to have them display as mobile cards in Salesforce1. From the appropriate object management settings, go to Page
Layouts.
– Make sure that Visualforce pages are enabled for use in Salesforce1, so they’ll display in the app. From Setup, enter
Visualforce Pages in the Quick Find box, then select Visualforce Pages. Click Edit next to the name of a page,
and select Available for Salesforce mobile apps.
– Define the fields that show up in an object’s record highlight area and in related list preview cards by creating custom compact
layouts. From the appropriate object management settings, go to Compact Layouts.
– Verify that your existing search layouts populate Salesforce1 search results with the desired fields. From the appropriate object
management settings, go to Search Layouts.
• Make it easy and efficient to work in the field by creating actions that are tailored to your specific business activities and use cases.
– Enable actions in the publisher for your organization. From Setup, enter Chatter Settings in the Quick Find box,
then select Chatter Settings. Select the Enable Actions in the Publisher checkbox. (This option assumes that
your organization has Chatter enabled and that you want the actions you create to display in the Chatter publisher. If your
organization doesn’t have Chatter enabled, you can still use actions but they only display in Salesforce1 and not in the full
Salesforce site.)
Note: If actions in the publisher aren’t enabled, only standard Chatter actions (Post, File, Link, Poll, and Thanks) appear in
the Chatter publisher in the full Salesforce site. When Chatter is enabled but actions in the publisher aren’t, standard Chatter
actions and nonstandard actions appear in the Salesforce1 action bar and in third-party apps that use action lists.
Nonstandard actions include Create, Update, Log a Call, custom actions, and Mobile Smart Actions.
– Create global actions that allow users to add new object records with no automatic relationship to other records. From Setup,
enter Global Actions in the Quick Find box, then select Global Actions. To customize the fields that are used by
global actions, click Layout on the Global Actions page.
Then add the new actions to the Salesforce1 and Lightning Experience Actions section of the global publisher layout so that
they appear in Salesforce1. From Setup, enter Publisher Layouts in the Quick Find box, then select Publisher
Layouts.
– Create object-specific actions that allow users to add new records or update data in existing records. From the management
settings for the object that you want to add an action to, go to Buttons, Links, and Actions. To customize the fields used by an
object-specific action, click Layout on the Buttons, Links, and Actions page.
Then add the new actions to the Salesforce1 and Lightning Experience Actions section on the appropriate object page layout.
• Customize the options that are available in the Salesforce1 navigation menu, and the order in which items appear. From the Salesforce1
Quick Start page, click Navigation Menu.
• Help keep Salesforce1 users aware of important Salesforce activities by enabling in-app and push notifications. From the Salesforce1
Quick Start page, click Notification Options.
• Integrate third-party apps into the Salesforce1 navigation menu by adding Lightning Page tabs for the Lightning Pages deployed
to your organization. From Setup, enter Tabs in the Quick Find box, select Tabs, and then click New on the Lightning Page
Tabs related list.
779
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
• Customize Salesforce1 to match the look and feel of your company’s branding. From the Salesforce1 Quick Start page, click Salesforce1
Branding.
• Allow the Salesforce1 downloadable apps to automatically cache frequently accessed Salesforce data to secure, persistent storage,
so users can view data when their devices are offline. (This option is turned on by default.) From the Salesforce1 Quick Start page,
click Offline Cache.
You can also check out the Salesforce1 Mobile App Admin Guide, which walks you through using the Salesforce1 declarative tools in Setup
to get your organization ready for the Salesforce1 mobile experience.
SEE ALSO:
Put Salesforce1 In Your Users' Hands
780
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
Available in Salesforce
Classic in: All editions except
Database.com
User Access and Security Policies for the Salesforce1 Downloadable Apps
The Salesforce1 downloadable apps are connected apps. As a result, you can control the users who
EDITIONS
have access to the apps, as well as other security policies. By default, all users in your organization
can log in to the Salesforce1 downloadable apps. Setup for Salesforce1
You can control security and access policies for each of the Salesforce1 downloadable apps, using available in: both Salesforce
settings components that are installed from the managed Salesforce1 connected apps package. Classic and Lightning
These components need to be installed in Salesforce: Experience
781
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
Offline access is enabled by default when one of the Salesforce1 downloadable apps is installed. To manage these settings, from Setup,
enter Offline in the Quick Find box, then select Salesforce1 Offline.
SEE ALSO:
Salesforce1 Connected App Attributes
Enable Salesforce1 Mobile App Notifications
Available in Salesforce
Attribute Key Attribute Value Platform Description Classic in: All editions except
CALL_HISTORY Android Database.com
• DISABLED • If set to
• ADMIN_DEFINED DISABLED,
removes call logging USER PERMISSIONS
• SIMPLE
from the navigation
To edit your Salesforce1
menu. downloadable app settings:
• If set to • “Customize Application”
ADMIN_DEFINED, To view your Salesforce1
enables native downloadable app settings:
Android call logging. • “View Setup and
• If set to SIMPLE, Configuration”
enables Aura call
logging.
782
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
FORCE_EMAIL_CLIENT_TO The email app’s URI scheme. Android, iOS If a user taps on an email action in
Can differ by platform. For example, here's Salesforce1, the user is directed to
an Android URI scheme example for Blue the email app specified in the
Mail, and an iOS URI scheme example for attribute value.
Gmail. You can specify one email app
Android: only.
783
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
Tip: Connected app attribute changes take effect when users force quit Salesforce1 or when they log in to a new session. To
ensure that new or modified settings take effect for all users, we recommend that you revoke access to Salesforce1 so everyone
is required to log in again.
We also recommend that you warn users about the changes you intend to make, especially if you’re going to restrict activities
that were previously available. Salesforce1 doesn’t display messages or indicators that connected app settings have changed.
SEE ALSO:
User Access and Security Policies for the Salesforce1 Downloadable Apps
3. Click Save.
When this option is turned on, users who log in to Salesforce from a supported mobile browser are USER PERMISSIONS
automatically directed to the Salesforce1 interface. Logging in from an unsupported mobile browser To view Salesforce1 mobile
loads the Salesforce Classic full site, even when this option is selected. browser app settings:
In most cases, logging in from an unsupported mobile browser loads the Salesforce Classic full site, • “View Setup and
even if the Enable the Salesforce1 mobile browser app option is enabled. Configuration”
There are two exceptions for iPhone and iPad users, however. Users can access the mobile browser To modify Salesforce1 mobile
app from Google Chrome for iOS or the Gmail for iOS app’s webview, but using Salesforce1 in these browser app settings:
environments isn’t supported. • “Customize Application”
“Modify All Data”
784
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
Available in Lightning
Experience in: Group,
Professional, Enterprise,
Performance, Unlimited,
and Developer Editions
Available in Salesforce
Classic in: All editions except
Database.com
785
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
If the default navigation menu doesn’t meet your users’ needs, you can easily customize it. From Setup, enter Navigation in the
Quick Find box, then select Salesforce1 Navigation.
Depending on your organization’s settings, the menu can contain:
Canvas apps Appears for organizations that have enabled a canvas app to appear in the Salesforce1 navigation
menu.
Chatter The user’s main feed. Appears for organizations that have Chatter enabled.
Dashboards Availability depends on edition and user permissions. If you don’t add this item to the navigation
menu, dashboards are automatically included in the set of Smart Search Items instead and the
Dashboards item is available from the Recent section.
Events Lists events owned by the user, that the user created for him- or herself, and that the user or a user’s
groups are invited to. If you don’t add this item to the navigation menu, events are automatically
included in the set of Smart Search Items instead and the Events item is available from the Recent
section.
786
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
Note: Your org must have Collaborative Forecasts enabled. If your org uses Customizable
Forecasts, the Forecasts item isn’t available to add to the navigation menu.
Groups Appears for organizations that have Chatter enabled. If you don’t add this item to the navigation
menu, groups are automatically included in the set of Smart Search Items instead and the Groups
item is available from the Recent section.
Lightning component tabs Only custom Lightning components that have a Lightning component tab associated with them
can appear in the Salesforce1 navigation menu.
News Displays the News app, a one-stop place for news and other insights about the user’s accounts,
contacts, leads, and opportunities.
Notes Displays the Notes app. If you don’t add this item to the navigation menu, notes are automatically
included in the set of Smart Search Items instead and the Notes item is available from the Recent
section.
Paused Flow Interviews Displays a list of flow interviews that the user paused. An interview is a running instance of a flow.
Users can tap an interview and resume or delete it from within Salesforce1. Available in the Salesforce1
mobile browser app only.
People Appears for organizations that have Chatter enabled. If you don’t add this item to the navigation
menu, profiles are automatically included in the set of Smart Search Items instead and the People
item is available from the Recent section.
Reports Availability depends on edition and user permissions. If you don’t add this item to the navigation
menu, reports are automatically included in the set of Smart Search Items instead and the Reports
item is available from the Recent section.
Smart Search Items Adds standard and custom Salesforce objects to the Recent section in the menu. This item also adds
a set of the user’s recently accessed objects to the Recent section and adds the More item so users
can access all the objects they have permission to use and that are supported in Salesforce1. If you
don’t include this item in the navigation menu, users can’t access any objects on the navigation
menu.
Note: Smart Search Items is required for users to get search results in the Salesforce1
downloadable app for Android. Users of the Salesforce1 downloadable app for iOS and the
Salesforce1 mobile browser app are able to search for records if this option is omitted from
the navigation menu.
If your users don’t yet have a history of recent objects, they initially see a set of default objects in the
Recent section. It can take up to 15 days for the objects that users work with regularly in both
Salesforce1 and the full Salesforce site to appear in the Recent section. To make objects appear under
Recent sooner, users can pin them from the search results screen in the full site.
787
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
Today An app that helps users plan for and manage their day by integrating mobile calendar events with
associated Salesforce tasks, accounts, and contacts. The app also allows users to instantly join
conference calls, quickly log notes about events, and more. Available in the Salesforce1 downloadable
apps only.
Visualforce page tabs Only Visualforce pages with the Available for Salesforce mobile apps and
Lightning Pages checkbox selected will display in Salesforce1.
SEE ALSO:
Customize the Salesforce1 Navigation Menu
Notes About the Salesforce1 Navigation Menu
Enable Visualforce Pages for the Salesforce1 Mobile App
788
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
Note: Before you can include Visualforce pages, Lightning Pages, or Lightning components Setup for Salesforce1
in the Salesforce1 navigation menu, create tabs for them. From Setup, enter Tabs in the available in: both Salesforce
Classic and Lightning
Quick Find box, then select Tabs.
Experience
Available in Lightning
Walk Through It: Customize the Salesforce1 Navigation Menu
Experience in: Group,
1. From Setup, enter Navigation in the Quick Find box, then select Salesforce1 Professional, Enterprise,
Navigation Performance, Unlimited,
2. Select items in the Available list and click Add. and Developer Editions
Available in Salesforce
Classic in: All editions except
Database.com
USER PERMISSIONS
Note: The first item in the Selected list becomes your users’ Salesforce1 landing page.
4. Click Save.
Once saved, the navigation menu items and their order should be reflected in Salesforce1. You may need to refresh to see the changes.
Tip: When organizing the menu items, put the items that users will use most at the top. The Smart Search Items element can
expand into a set of eight or more menu items and it might end up pushing other elements below the scroll point if you put it
789
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
near the top of the menu. Anything you put below the Smart Search Items element appears in the Apps section of the navigation
menu.
SEE ALSO:
Salesforce1 Mobile App Navigation Menu
Notes About the Salesforce1 Navigation Menu
Enable Visualforce Pages for the Salesforce1 Mobile App
790
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
• The Salesforce1 downloadable app for Android requires Smart Search Items for global search to work. If Smart Search Items is omitted
from the navigation menu, Android users can’t locate records using global search.
SEE ALSO:
Salesforce1 Mobile App Navigation Menu
Customize the Salesforce1 Navigation Menu
• Push notifications are alerts that appear on a mobile device when a user has installed the Salesforce1 downloadable app but isn’t
using it. These alerts can consist of text, icons, and sounds, depending on the device type. If an administrator enables push notifications
for your organization, users can choose individually whether to receive push notifications on their devices.
SEE ALSO:
Enable Salesforce1 Mobile App Notifications
791
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
IN THIS SECTION:
Access Data in Salesforce1 While Offline
With caching in Salesforce1 enabled, your Salesforce1 downloadable app users can see important data when working offline or
when the mobile app can’t connect to Salesforce. Salesforce1 caches a set of a user’s recently accessed records so they're available
for viewing without a connection. And much of the data that a user accesses throughout a Salesforce1 session is also added to the
cache. Cached data is encrypted and stored in a secure, persistent data store.
Create, Edit, and Delete Records in Salesforce1 While Online or Offline (Beta)
Whether online or offline, Salesforce1 downloadable app users can create, edit and delete records and keep track of all of the changes
from the Pending Changes page. Salesforce1 automatically syncs those pending changes to Salesforce and warns the user if there
are conflicts that need to be resolved. The beta version of Offline Edit requires version 10.0 of Salesforce1 for Android or Salesforce1
for iOS.
Data and UI Elements That Are Available When Salesforce1 is Offline
With Salesforce1 caching and Offline Edit, Salesforce1 downloadable app users can work with many of their frequently accessed
objects and records while offline. Here’s the list of data and Salesforce1 user interface elements that are available offline.
792
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
SEE ALSO:
Offline Access: What’s Different or Not Available in Salesforce1
Note: A Salesforce1 session is the time between logging in to and out of the app. Putting the app in the background by switching
away to a different app doesn't end a session.
• When a user logs in to Salesforce1, the cache is empty. If the user’s device goes offline with an empty cache, no Salesforce data is
available.
• Users can quickly populate the cache with a default set of most recently accessed records in two ways. Users can put Salesforce1 in
the background by switching away to a different app or navigating to the device home screen to populate their cache. Or users can
go to the Salesforce1 navigation menu, select Settings > Offline Cache > Cache Now.
Tip: We recommend that your users populate their cache each time they log in to Salesforce1 so they’re guaranteed to have
a meaningful set of available data when offline.
Depending on the size and complexity of a user’s records, caching can take a few seconds to a couple of minutes. If the user
goes offline before the cache is fully updated, some of the expected records won’t be available.
793
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
Populating the cache collects recently accessed records for the first five objects listed in the Recent section of the user’s Salesforce1
navigation menu, plus the user’s recent tasks and dashboards. For the first five objects listed in the Recent section of the Salesforce1
navigation menu, up to 30 most recently accessed records are cached per object. For tasks and dashboards, the tasks listed under
My Tasks and the five most recently accessed dashboards are cached. Recently accessed records are determined by a user's activities
in both Salesforce1 and the full Salesforce site, including Salesforce Classic and Lightning Experience.
After users initially populate their cache, users can refresh their cache in two ways. If the last cache refresh is more than one hour
old, users can put Salesforce1 in the background by switching away to a different app or navigating to the device home screen to
refresh the cache. Or users can manually refresh the cache by going to the Salesforce1 navigation menu, select Settings > Offline
Cache > Cache Now.
• Throughout a Salesforce1 session, many of the other records that the user accesses are also added to the cache. (Not all Salesforce
data is available offline—see Data and UI Elements That Are Available When Salesforce1 is Offline.)
• A record remains in the user’s cache for 30 days. Each time the same record is accessed, the clock resets. But if the record isn’t touched
within 30 days, it’s automatically removed from the cache and won’t be available offline until the user accesses the record again.
• Logging out of Salesforce1 removes all data from the cache. The next time the user logs in, the process of generating the cache
starts over.
SEE ALSO:
Data and UI Elements That Are Available When Salesforce1 is Offline
Enable Offline Access and Edit for Salesforce1
Create, Edit, and Delete Records in Salesforce1 While Online or Offline (Beta)
Offline Access: What’s Different or Not Available in Salesforce1
Create, Edit, and Delete Records in Salesforce1 While Online or Offline (Beta)
Whether online or offline, Salesforce1 downloadable app users can create, edit and delete records and keep track of all of the changes
from the Pending Changes page. Salesforce1 automatically syncs those pending changes to Salesforce and warns the user if there are
conflicts that need to be resolved. The beta version of Offline Edit requires version 10.0 of Salesforce1 for Android or Salesforce1 for iOS.
Note: This release contains a beta version of Offline Edit, which means it’s a high-quality feature with known limitations. To enable
this feature in your org, see Enable Offline Access and Edit for Salesforce1. Offline Edit isn’t generally available unless or until
Salesforce announces its general availability in documentation or in press releases or public statements. We can’t guarantee general
availability within any particular time frame or at all. Make your purchase decisions only based on generally available products and
features. You can provide feedback and suggestions for Offline Edit in the IdeaExchange in the Success Community.
794
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
When users tap on a record where appears, they are taken to a Conflict Resolution page to resolve the issue. After the conflict
is resolved, the record disappears from the Pending Changes page after successfully syncing to Salesforce.
795
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
•
: Indicates that an error has occurred.
–
If the changes are made while online, the appears immediately to indicate an error.
–
If the changes are made while offline, the appears when network connectivity is restored to indicate an error.
When users tap on a record where appears, they are taken to the edit page of that record to fix the error.
While rare in occurrence, sometimes an error is irreconcilable. For example, if an edit is made to a record while offline and someone
else deleted that record from Salesforce, the that appears on that change is irreconcilable. In this scenario, users can only dismiss
the irreconcilable change from the Pending Changes page.
See Data and UI Elements That Are Available When Salesforce1 is Offline for the full list of data that can be updated with Offline Edit.
SEE ALSO:
Data and UI Elements That Are Available When Salesforce1 is Offline
Enable Offline Access and Edit for Salesforce1
Offline Access: What’s Different or Not Available in Salesforce1
796
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
Salesforce Data / Salesforce1 Available for Offline Viewing Available to Create, Edit, or Delete
Element Offline (Beta)
Navigation Menu Yes n/a
Records for Recent Objects Yes, recently accessed records for the first Yes, recently accessed records for the first
five objects (excluding Files) in the Recent five objects (excluding Files) in the Recent
section of the Salesforce1 navigation menu section of the Salesforce1 navigation menu
Records for Other Objects If viewed in current session If viewed in current session
Tasks Most recently accessed tasks from the first Most recently accessed tasks from the first
page of My Tasks list only page of My Tasks list only
(The simplified New Task form must be
disabled)
Visualforce pages No No
Canvas Apps No No
Lightning Pages No No
797
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
A Salesforce1 session is the time between logging in and logging out of the app. Switching away from Salesforce1 doesn’t end the
session as long as the user doesn’t log out.
SEE ALSO:
Offline Access: What’s Different or Not Available in Salesforce1
798
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
SEE ALSO:
Customize the Salesforce1 Navigation Menu
799
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
Loading Page Color The background color on the loading page that appears after a mobile
user logs in.
Loading Page Logo The image on the loading page that appears after a mobile user logs
in.
We recommend using an image with the largest dimensions allowable
for best results. Maximum image size is 460 pixels by 560 pixels.
Consider the following tips when customizing the branding of the Salesforce1 app:
• When creating your logo image, be sure to compress it. In many image editing programs, this process is identified as “use compression,”
“optimize image,” “save for web,” or “shrink for the web.”
• Verify that your logo appears correctly in Salesforce1, using the same devices as your user base, not just a desktop monitor. Your
image can render at different scales or proportions depending on the screen size and pixel density of each device.
• Salesforce1 supports .png, .gif, and .jpg image formats for custom branding elements, but we recommend using .png for
the best results.
• These interface elements can’t be customized:
– The Salesforce1 app icon that appears on the mobile device’s home screen.
800
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
– The initial loading screen when launching the Salesforce1 downloadable app for iOS. This loading screen appears before the
user is prompted by the login page.
• Your mobile users must close the app and then log in again to see any custom branding changes.
You can also customize the branding for the Salesforce1 app login page. My Domain must be enabled to modify the login page. To
customize your company’s Salesforce1 login page, see Customize Your Login Page with Your Brand on page 734.
SEE ALSO:
Customize Branding of the Salesforce1 Mobile App
Note: Images that you upload to customize the Salesforce1 app are stored in a Documents Setup for Salesforce1
folder named Salesforce1 Branding Resources. For this reason, the Documents object must available in: both Salesforce
Classic and Lightning
be enabled for your organization before administrators can view and modify the Salesforce1
Experience
Branding page. (The Documents tab doesn’t need to be visible, however.)
For users of the Salesforce1 mobile browser app to see custom branding, Documents must Available in Lightning
be enabled for your organization. For the Salesforce1 downloadable apps, users must also Experience in: Group,
have “Read” user permissions on Documents. Professional, Enterprise,
Performance, Unlimited,
1. From Setup, enter Branding in the Quick Find box, then select Salesforce1 Branding, and Developer Editions
then click Edit. Available in Salesforce
2. Classic in: All editions except
To customize brand color for key user interface elements, including the header, click or
Database.com
enter a valid hexadecimal color code.
3.
To customize the background color of the loading page, click or enter a valid hexadecimal USER PERMISSIONS
color code.
To view Salesforce1
4. To customize the loading page logo, click Choose File to upload an image. Images can be .jpg, branding settings:
.gif, or .png files up to 200 KB in size. The maximum image size is 460 pixels by 560 pixels. • “View Setup and
5. Click Save. Configuration”
To modify Salesforce1
branding settings:
SEE ALSO:
• “Customize Application”
Your Org’s Branding in the Salesforce1 Mobile App
“Modify All Data”
801
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
Download Speed How long it takes the app to get data from Salesforce. In general, higher download speeds are better than
lower ones.
Results are reported in bits per second.
Upload Speed How long it takes the app to send data to Salesforce. In general, higher upload speeds are better than lower
ones.
Results are reported in bits per second.
If a test doesn’t return a result, or an error is displayed, your user may be experiencing network connectivity issues that are affecting
Salesforce1. Ask the user to verify his Internet connection, and then run the test again. If the user continues to experience issues, ask him
to try connecting to another network.
802
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
Note: To be available in Salesforce1, an object must have a tab that you can access. This is true for supported standard objects
and your org’s custom and external objects.
Salesforce1 doesn’t support the User object or provide access to user record detail pages. However, user fields are supported and
appear on user profiles, in related lists, and so forth. See “Fields” for some issues with user fields in Salesforce1.
803
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
Fields
Unsupported Fields
• division fields
• territory management fields
Combo Boxes
• Combo boxes, which combine a picklist with a text field, aren’t available. Typically the text field is available but the picklist is not.
Lookup Fields
• Administrator-defined dependent lookup filters aren’t supported.
• User-defined lookup filter fields aren't supported.
• You can’t create a record from a lookup field like you can in Lightning Experience.
• Lookup fields in Salesforce Classic show record names regardless of sharing permissions, so it's possible for users to see the
names of records that they can't access. In Lightning Experience and the Salesforce1 mobile app, lookup fields respect sharing
permissions and only show the name of records that the user can access. The one exception is owner lookup fields, which always
display the name of the record's owner, regardless of sharing permissions.
Picklist Fields
• Controlling and dependent picklists are supported, but Salesforce1 doesn’t display indicators on create and edit pages for these
fields. To determine if a picklist field is dependent, and which picklist field controls it, switch to the full site.
• Disabled picklists aren’t grayed out like they are in the full site.
Phone Number Fields
• The keypad that displays in phone number fields doesn’t include parentheses, hyphens, or periods, and Salesforce1 doesn’t
apply any phone number formatting when you save the record. To apply a specific phone number format, edit the record in the
full site.
Rich Text Area Fields
Support for rich text area fields varies by the version of Salesforce1 and the type of device.
Device Salesforce1 Version View Rich Text Area Fields Edit Rich Text Area Fields
Android Downloadable App Yes Yes
Mobile Browser App The rich text editor isn’t
available. But you can manually
add HTML tags.
804
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
User Fields
• While user detail pages aren’t available in the Salesforce1 mobile app, user fields are supported and appear on user profiles, in
related lists, and so forth.
• There are some issues when these user fields appear in related lists or mobile cards.
– The Company Name field is blank if an internal user is viewing a mobile card or related list entry related to another internal
user. If the referenced user is an external user, the company name appears correctly.
– The Active field is blank unless the user is inactive.
List Views
• You can create new list views in Salesforce1 but you can’t edit existing list views.
• Editing a record’s field in a list view isn’t available. Instead, users can open the record then tap the Edit action.
• Selecting multiple records in list views isn’t supported in Salesforce1.
• Mass actions, which allow you to apply an action to multiple records at the same time, aren’t available.
Related Lists
• Related lists in Salesforce1 display the first four fields that are defined in the Related List section on an object’s page layout. The
number of fields shown can’t be increased.
• Some related lists aren’t available in the mobile app, including:
– Content Deliveries
– External Sharing
– Related Content
And see Sales Features in Salesforce1, Productivity Features in Salesforce1, and Customer Service Features in Salesforce1 for related
lists that aren’t available for specific objects.
• The Notes and Attachments related list isn’t fully supported in Salesforce1. There are several issues, including:
– Attachments added in the full Salesforce site aren’t guaranteed to open in Salesforce1, even if they appear in the related list. We
recommend using Files instead. Documents that are uploaded to the Files tab in the full site are then viewable in Salesforce1.
– You can’t add or delete notes or attachments from the related list. (But you can create a note and relate it to a record, using the
Note ( ) action in the Salesforce1 action bar. Depending on how your administrator has configured Notes in Salesforce1,
this action may not be available for all objects.)
– Notes and attachments on child records don’t display on the parent record’s related list.
• If a related list is sorted by a text area field, it doesn’t display any records.
805
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
Accounts
• Automated Account Fields isn’t available, so when creating a new account, you won’t see suggested companies in the Account
Name field.
• Social Accounts:
– You can’t access social accounts features for Facebook, Klout, or YouTube in Salesforce1.
– If an account has been linked to a social network profile, the profile image selected for the account may display when viewing
the account in Salesforce1 even when you aren’t logged in to the social network. Profile images from Facebook or Twitter may
appear even if you aren’t currently logged in to those networks. You can’t switch to a different profile image in Salesforce1.
– You can view Tweets, retweets, replies, or favorites for an associated Twitter user if you’re using a Salesforce1 downloadable
app. With the Salesforce1 mobile browser app, tap the Twitter profile to see Tweets and so forth directly in Twitter. Also, in the
Salesforce1 mobile browser app, you can’t see who is following a Twitter user, or who the Twitter user is following.
– Salesforce1 lists common connections you and your account share on Twitter. You can’t view common connections in the full
Salesforce site.
– To view the Twitter card on accounts in Salesforce1, you must add Twitter to the page layout. Access the full Salesforce site to
edit page layouts. If your organization uses person accounts, the card must be added separately for business account layouts
and person account layouts.
Account Teams
• You can add, edit, or delete only one account team member at a time.
• When the account owner is changed, the account team is retained.
• Any user with edit access to an account can edit the account’s team members, but only changes to the Team Role field are saved.
• The Display Access button isn’t available.
Campaigns
• The Manage Members and Advanced Setup buttons aren’t available.
806
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
• Campaign Hierarchy is available only as a related list. The option to View Hierarchy from a link on the campaign detail page isn’t
available. When viewing a parent campaign, the Campaign Hierarchy related list shows only the child campaigns, while the full site
displays both the parent and child campaigns.
• When viewing the Campaign Members related list, only the members’ Status appears. You can, however, tap members to see more
details about them.
Contacts
• Contacts to Multiple Accounts:
– Only the list item actions that are specific to the Account Contact Relationship object are available on the Related Accounts and
Related Contacts related lists. Therefore, you see actions to view or remove the account-contact relationship, but not to edit or
delete the contact or account record as you do in Salesforce Classic.
– From the Related Contacts related list, you can navigate to a contact record, but not an account record.
– When navigating to a person account from the Related Contacts related list, you're taken to the Contact page layout, not the
Person Account layout. Therefore, you might not see all the fields, related lists, and actions you expect. To navigate to the Person
Account layout, tap the account name.
• Social Contacts:
– You can’t access social contacts features for Facebook, Klout, or YouTube in Salesforce1.
– If a contact has been linked to a social network profile, the profile image selected for the contact may display when viewing the
contact in Salesforce1 even when you aren’t logged in to the social network. Profile images from Facebook or Twitter may appear
even if you aren’t currently logged in to those networks. You can’t switch to a different profile image in Salesforce1.
– You can view Tweets, retweets, replies, or favorites for an associated Twitter user if you’re using a Salesforce1 downloadable
app. With the Salesforce1 mobile browser app, tap the Twitter profile to see Tweets and so forth directly in Twitter. Also, in the
Salesforce1 mobile browser app, you can’t see who is following a Twitter user, or who the Twitter user is following.
– Salesforce1 lists common connections you and your contact share on Twitter. You can’t view common connections in the full
Salesforce site.
– To view the Twitter card on a contact in Salesforce1, you must add Twitter to the page layout for contacts. Access the full
Salesforce site to edit page layouts.
• Activity logs aren’t created when you use the icon to send emails from the Salesforce1 app.
• The Request Update, Manage External User, and Enable Customer User buttons aren’t available.
• You can’t add opportunities or account users on a contact, and you can’t add a contact to a campaign.
• You can’t merge contacts.
• You can’t add contacts from Data.com or clean contact records with Data.com Clean.
Contracts
• The Deactivate button isn’t available.
• These contracts related lists aren’t available.
– Contract History
– Items to Approve
807
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
• When creating an order from the Orders related list on a contract, the Contract Number field isn’t pre-populated with the
default contract number.
• Data.com Prospector:
– Data.com Prospector isn’t supported in Salesforce1.
You can’t search for or add accounts, contacts, or leads. Nor can you see Prospecting Insights or Company Hierarchy.
• Data Integration:
– You can see fields that were updated by data integration rules, but you can’t use Data Integration to manually update records.
Einstein
• With the exception of lead scores appearing in lead list views in Salesforce1, all other Sales Cloud Einstein features are unavailable
in the mobile app.
Forecasts
• The Forecasts app is available in the Salesforce1 downloadable app for iOS, version 11.0 or later only.
• The Forecasts app requires Collaborative Forecasts. The app isn’t available for orgs using Customizable Forecasts.
• Forecast data in Salesforce1 is read-only.
• Only Opportunities - Revenue forecasts are available. These forecast types are not supported:
– Opportunities - Quantity
– Product Families - Revenue
– Product Families - Quantity
– Opportunity Splits - Revenue
– Overlay Splits - Revenue
– Custom Opportunity Currency Field - Revenue
– Expected Revenue - Revenue
Leads
• Social leads:
– You can’t access social leads features for Facebook, Klout, or YouTube in Salesforce1.
– If a lead has been linked to a social network profile, the profile image selected for the lead may display when viewing the lead
in Salesforce1 even when you aren’t logged in to the social network. Profile images from Facebook or Twitter may appear even
if you aren’t currently logged in to those networks. You can’t switch to a different profile image in Salesforce1.
808
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
– You can view Tweets, retweets, replies, or favorites for an associated Twitter user if you’re using a Salesforce1 downloadable
app. With the Salesforce1 mobile browser app, tap the Twitter profile to see Tweets and so forth directly in Twitter. Also, in the
Salesforce1 mobile browser app, you can’t see who is following a Twitter user, or who the Twitter user is following.
– Salesforce1 lists common connections you and your lead share on Twitter. You can’t view common connections in the full
Salesforce site.
– To view the Twitter card on a lead in Salesforce1, you must add Twitter to the page layout for leads. Access the full Salesforce
site to edit page layouts.
• Lead conversion:
– You can select accounts but can’t create them.
– You can create opportunities but can’t select existing ones.
– You can’t select lead sources across duplicate records. The lead source defaults to the duplicate contact.
– You can’t create related tasks during the conversion, but you can create tasks from the contact record.
– You can’t automatically notify owners of converted leads.
News
• When accessing news from Salesforce1 running on a smartphone, only one news item is displayed at a time.
• When accessing news from Salesforce1 running on a tablet, you can’t scroll through the available news items. Instead, the device’s
screen size determines the number of news items that are displayed.
• When navigating to other records, more news items can become available. It takes longer for those news items to appear in the
News app.
• On account records, we don’t include news cards for executives, which let you see a list of news items related to a single person.
Instead, each news item that’s related to an executive is shown on a separate news card.
Opportunities
• The Competitors button isn’t available.
• These fields aren’t available: Opportunity Splits amount field, Products subtotal field, and Stage History
connection field.
• Records in the Contact Roles related list are read only.
The Roles field on the Contact Roles related list isn’t available.
• The Campaign Influence and Similar Opportunities related lists aren’t available.
• These related lists are available but the lists display record preview cards only; you can’t tap to open any of the list records.
– Competitors
– Opportunity Splits
– Stage History
809
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
• The opportunity owner can’t edit the Forecast Category field. Forecast Category is automatically populated based
on the value of the Stage Opportunities field when you save the record. The opportunity owner can manually edit the
value for Forecast Category in Salesforce Classic (but not from Lightning Experience).
• You can associate a price book with an opportunity that doesn’t already have one, but you have to switch back to the full Salesforce
site to change the association.
• You can’t view product details, even for products that appear on the opportunity.
• You can add products with quantity or revenue schedules to an opportunity, but you can only edit product schedule in Salesforce
Classic.
Opportunity Teams
• You can add, edit, or delete only one opportunity team member at a time.
• When the opportunity owner is changed, the opportunity team is retained.
• The Clone and Display Access buttons aren’t available.
Orders
• The Create and Reduce Order buttons aren’t available.
• The Order History and Order Product History related lists aren’t available.
• When creating a new task or event or logging a call from an order in Salesforce1, the Related To field isn’t pre-populated with
the order number.
• When creating an order from the Orders related list on a contract, the Contract Number field isn’t pre-populated with the
default contract number.
Quotes
• Quote PDFs appear in the related list but aren’t viewable.
• You can’t add or edit multiple quote line items at the same time.
• You can’t perform these actions.
– Email quotes
– Create or delete PDFs
– Start sync or stop sync
– Create quotes from the Quotes home page. You create quotes from opportunities.
Salesforce Today
The Salesforce Today app is available in the Salesforce1 downloadable apps for Android phones and iPhone and iPad devices. It’s not
available in the Salesforce1 mobile browser app, nor in the full Salesforce site.
There are some issues when using Today.
• You see local events from selected calendars on your mobile device but Salesforce events aren’t available in this release of Today.
• If some or all of your calendar servers don’t automatically push data to your device, you need to update your calendars before you
can see the most current information in Today.
810
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
811
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
Tasks
• Only the My Tasks, Completed Within Last 7 Days, Delegated, and Today lists are available in Salesforce1. No other task lists,
such as Overdue, This Month, or All Open, are available in Salesforce1.
• In task lists, the order of the fields in the priority picklist determines the order in which tasks are sorted.
• The more tasks that you have, and the more relationships that your tasks have to other records, the longer it can take to view tasks
or use other features in the Salesforce1 app.
• When more than 1,000 overdue tasks exist, task lists in Salesforce1 don’t display any overdue tasks at all. Use reports to view your
overdue tasks and close them, postpone them, or delete their due dates.
• Group (multiuser) tasks aren’t available.
• The Create Recurring Series of Tasks field isn’t supported on quick action layouts. Only a portion of the recurring
task interface appears in new task quick actions, making it impossible for users to save any recurring tasks they attempt to create.
• You can’t create recurring tasks with a frequency of every weekday in Salesforce1. And we don’t recommend editing tasks with this
frequency in Salesforce1 because the edit page doesn’t show the task’s recurrence settings. To create or edit tasks that repeat every
weekday, use Salesforce Classic.
• If a task doesn’t include a subject, it appears in feeds in Salesforce1 as [No Subject].
• Task layouts contain a few unique elements that make tasks easier to work with. These elements don’t appear in a compact layout
because you can’t change them, but users always see them:
– The and icons represent the status of the IsClosed field to users with the Edit Task permission.
– The icon represents a task marked high priority (including custom high priority).
– If the due date exists and a user has permission to view it, all tasks show the due date.
– Tasks include the primary contact and the related account or other record, when they exist.
The fields in each list can vary depending on the settings in your Salesforce org.
You control the layout of task records and tasks in the task list using compact layouts. You control related lists, as always, using the
page layout editor. Adding the due date field to either layout doesn’t change the appearance of tasks—that field never appears
twice.
Below the built-in task elements, Salesforce1 displays up to three other fields.
– The default compact layout for tasks includes two fields: the name of a lead or contact, and an opportunity, account, or other
record the task is related to.
– In an Activities related list, a task’s fields depend on what record you’re viewing and how you’ve defined the layout for that
object.
For more information, see Compact Layouts.
Notes
• When using Salesforce1, you can access all of your notes from the Notes item in the Salesforce1 navigation menu. The Salesforce
Classic version of the full site doesn’t include a Notes tab. Instead, Salesforce Classic users access notes from the Files tab.
• You can’t share notes with other users or groups.
• In the Salesforce1 downloadable app for Android and the Salesforce1 mobile browser app, you can’t add images to notes, but you
can view images that were added from the full site. You can, however, add images to notes using the Salesforce1 downloadable
app for iOS, version 10.0 or later.
• Some rich text options that are available in the full site, such as applying a bold or italic font or indenting a paragraph, aren’t available
in Salesforce1. But you can view formatting that was added from the full site.
• You can’t revert to previous versions of notes, but you can view previous versions.
812
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
Email
• Salesforce1 doesn’t display emails in the improved layout that’s available in Lightning Experience.
• Inbox isn’t available in Salesforce1.
Voice
• The telephony features in Lightning Experience aren’t available in Salesforce1.
• Skype for Salesforce isn’t available.
Work.com
When using Work.com features in Salesforce1, you can’t:
• Share goals and metrics
• Link metrics to reports
• Refresh metrics that are linked to reports
• Link parent goals and subgoals
• Add goal images
• Create custom badges
• Offer or request feedback
• View custom metric fields
• Create, fill out, or dismiss performance summaries
• Manage performance summary cycles
• There are some differences in behavior when using case Send Email actions in Salesforce1.
813
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
– The CC and BCC fields on the Send Email publisher aren’t collapsible.
– HTML isn’t supported in Send Email actions on cases in Salesforce1. If a Send Email action includes an HTML Body field, html
markup tags don’t appear in the Send Email publisher or in emails created from the action.
– It’s not possible to include email attachments when using a case Send Email action in Salesforce1.
– If a default email template is assigned to a case Send Email action, any attachments included in the template are ignored in
Salesforce1. The attachments don’t appear in the Send Email publisher and aren’t included in emails created from the action.
• You can’t create, edit, or delete case comments from Salesforce1. Also, the Case Comments related list doesn’t display the full text
of comments that were added in the full site.
• These case related lists aren’t available:
– Business Hours on Holiday List
– Case Contact Role
– Milestone List
– Solution List
– Team Member List
– Team Member on Team List
– Team Template Member List
Articles can't be linked to cases. (But links that are set up from the full site can
be viewed in Salesforce1 on the Related tab.)
814
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
Compact layouts display the article type API name instead of the article type
name. So users see the article type API name in the highlights area when
viewing an article.
When searching from the Articles home page, only articles in the user’s language
are returned and only if that language is an active Knowledge language (from
Setup, Customize > Knowledge > Knowledge Settings). To see articles in
another language, users can change to an active Knowledge language. From
My Settings, use the Quick Find search box to locate the Language & Time
Zone page.
In global search, search results show articles in the language specified for the
device, regardless of the active Knowledge language.
815
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
Reports
Considerations When Using Reports in Salesforce1
Groupings When you view a report with groupings, the groupings are
displayed as columns at the end of the report.
Report Formats Summary reports, matrix reports, and tabular reports are available
in Salesforce1, but matrix and summary reports are shown in
tabular format. Joined reports aren’t available.
Conditional Highlighting You can’t view reports that show conditional highlighting in
Salesforce1.
Filters When you open a report from the Reports tab, you can't filter
the report.
When you tap a dashboard component to open the source
report, you can filter the report by tapping a value on the chart.
If the source report is a tabular or joined report, then you can’t
filter it.
816
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
• When you view a report with more than 16 summary fields in Salesforce1, you receive an error message.
• Salesforce1 can’t render reports via URLs that use dynamic parameter values. If you modify a URL to pass parameters into reports,
Salesforce1 shows a blank screen (a report record with no returned results).
Dashboards
Considerations When Using Dashboards in Salesforce1
View As In Salesforce1, as in the full Salesforce site, you can only run
dashboards as a user in your role hierarchy. However, in
Salesforce1 you can choose from all users in your organization.
If you select a user outside your role hierarchy, you get an error.
Charts
Other Notes about Using Charts in Salesforce1
• Unless you turn on Enable Enhanced Charts in Salesforce1, legacy Salesforce Classic Charts display instead of the new
Lightning Experience Charts. After turning on Enable Enhanced Charts in Salesforce1, all users see Enhanced Charts regardless
of whether they switch to Lightning Experience on the full Salesforce site.
817
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
Enhanced Charts are similar to Legacy Charts, but there are a few differences:
– Enhanced Charts show only the first 200 groupings.
– On tablets, dashboards always have two columns. On phones, dashboards always have one column.
– On mobile dashboards, Enhanced Chart components don't show footers, but titles and subtitles still display. If there is
important information in a component footer, consider moving it to the title or subtitle.
Note: If your org was created during or after the Summer ’16 release, then Enhanced Charts are turned on by default and
Legacy Charts aren't available. In Summer ’17, in all orgs, Salesforce1 will feature Enhanced Charts only.
• Report Charts are only available after drilling into a dashboard component’s report. Report charts aren’t available from the Reports
tab.
818
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
• Content search options like filtering by file type, author, or library name aren’t available. But users can use global search to find files
in libraries.
• Interacting with content packs in Salesforce1 is limited. Users can see the content packs that exist and share them with Salesforce
colleagues or groups. But it’s not possible to preview or download the files included in a content pack. Nor can mobile users create
or modify content packs.
• Creating or managing content deliveries isn’t available. This includes generating an encrypted URL for sharing files and content
packs with customers.
Feeds
When viewing feed items in the Salesforce1 mobile app, you can’t see:
• Live feed or live comment updates.
• Rich text formatting or code snippets in the main feed. (downloadable apps only)
• Inline images in the main feed—you see a placeholder with the name of the image instead. (downloadable apps only)
• Multiple attachments on an item in the main feed—only the first attachment is displayed. (downloadable apps only)
• Previews of links in the main feed. (downloadable apps only)
• The list of people who liked a post. (mobile browser app only)
• Bundled posts in the What I Follow feed. (downloadable apps only)
• Social feed posts. (downloadable apps only)
• The full content of posts shared from Lightning Experience when viewed in the main Chatter feed (downloadable apps only) or in
feeds on profiles (Salesforce1 for iOS downloadable app only). Tap the View Post link in the shared feed item to see the shared content.
When posting, commenting, or doing other work in feeds from Salesforce1, you can’t:
• Apply rich text formatting or include code snippets in feed items.
• Use Chatter emoticons (but you can use iOS and Android emoji keyboards to add emoticons to feeds).
• Add inline images to feed items.
• Add more than one attachment to feed items.
• Edit feed posts or comments.
• Mute a feed item. (downloadable apps only)
• Use action links in the main feed. (downloadable apps only)
• Share posts. (mobile browser app only)
• Search in feeds on user profiles and records.
There are some other features that aren’t available from the Chatter item in Salesforce1. You can’t:
• Switch the main feed to show only muted posts.
• Filter the main feed to show all updates, fewer updates, questions, or only posts related to a specific object.
• Send or view Chatter messages.
• See recommendations.
• Add or view Chatter favorites.
• See Chatter activity statistics or Chatter influence status.
• Invite coworkers to sign up for Chatter.
819
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
Topics
Topics are available in the Salesforce1 mobile browser app only. In the mobile browser app, you can’t:
• See trending topics.
• Edit topic details (name and description).
• Tag favorite topics.
• Assign topics to records.
• View records assigned to a topic.
• See these related lists: Related Topics, Related Groups, Knowledgeable on Topics, Recent Files.
• See topics in auto-complete options when searching.
• Delete topics.
Chatter Questions
When using Chatter Questions in Salesforce1, you can’t:
• See similar questions and knowledge articles when you ask questions.
• Select best answers.
Note: Chatter Questions isn’t fully supported in the Salesforce1 downloadable apps. When coworkers ask questions, you can see
who posted but the text of the question isn’t displayed. You can see any answers to the question, however.
Groups
When using groups in Salesforce1, you can’t:
• See live feed updates.
• Use the group creation wizard to set up a new group.
• See recommendations of groups to join.
• Invite customers to join private customer groups.
• Add records to Chatter groups with customers using the Add Record action.
• Withdraw requests to join private groups.
• Change email and in-app notification settings for groups in communities.
• See or customize group member engagement data.
Group owners and managers can’t remove files from the group files list.
820
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
Chatter Messenger
Chatter Messenger isn’t available in Salesforce1.
821
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
• Communities aren’t available from Salesforce1 when the mobile device is offline.
• The App Launcher isn’t available. You can’t switch between standard or custom apps in Salesforce1. The navigation menu gives you
access to all of the objects and apps that are available to you in the mobile app.
• The Lightning Experience utility bar isn’t available in Salesforce1.
• The top-down tab-key order, which allows users viewing a record detail page to move through a column of fields from top to bottom
before moving focus to the top of the next column of fields, isn’t supported in Salesforce1. Even if a page layout is configured for a
top-down tab-key order, Salesforce1 moves from left-to-right through field columns.
Actions
• Most actions, including quick actions, productivity actions, and standard and custom buttons, are displayed in the action bar or list
item actions in Salesforce1.
• The Save & New button isn’t available in Salesforce1.
• If you use URL custom buttons to pass parameters to standard pages in Salesforce Classic—such as pre-populating fields when
creating a record—this behavior doesn’t work in Salesforce1.
• There are a few differences between the Send Email quick action in Salesforce and the standard Email action in Case Feed:
– Users can’t switch between the rich text editor and the plain text editor in a Send Email action.
– Templates aren’t supported in the Send Email action.
– Quick Text isn’t available in the Send Email action.
– The Send Email action doesn’t support attachments.
– Users can’t save messages as drafts when using the Send Email action.
– Users can’t edit or view the From field in the Send Email action.
• In the Salesforce1 mobile browser app, use the search scope bar beneath the global search box to see results for the selected
object.
822
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
The objects available in the search scope bar are the same as the items that appear in the Recent section of the Salesforce1
navigation menu. The search scope bar displays objects in the same order as in the navigation menu.
The Salesforce1 downloadable apps for Android and iOS don’t have a search scope bar. These apps display search results on a
single page, grouped by object.
• To find records for an object that doesn’t appear in global search results (that is, any of the objects you see when you tap More
to expand the Recent section in the navigation menu), use the search box on the object’s home page.
• You can’t pin frequently used items.
• You can't search by divisions.
Instant Results
Note: Instant results are shown as a drop-down in the search box and include recent items or auto-suggested records, which
are shown after you type at least three characters. If you don’t see a record in instant results, perform a full search.
• The Salesforce1 mobile browser app shows more recent items and auto-suggested records than in Lightning Experience.
• In the Salesforce1 mobile browser app, instant results are displayed for the selected object only, not for multiple objects.
Search Results
• Top Results, which lists search results for the objects you use most frequently, isn’t available.
• List views aren’t included in full search results. To find list views in instant results, open the record search page for an object and
type your search terms. As you type, the list of matching items expands to show the list views you’ve most recently accessed in
the full Salesforce site.
• You can't filter search results.
• In the Salesforce1 downloadable apps for Android and iOS, global search returns up to 50 of the most relevant records. There’s
no limit in the Salesforce1 mobile browser app.
Lookup Searches
• Instant results are based on recent items only instead of all records that match the search term.
• A wildcard is automatically appended to all lookup searches.
• Lookup search returns up to 25 of the most relevant records in the results.
• There’s no secondary field displayed under the primary record name to provide more contextual information.
• To add records for multiple types of objects within a single lookup, use the drop-down above the search results.
Creating Editing
Category Issue Records Records
Any Record Third-party keyboards aren’t supported.
Changing a record’s owner is available for accounts, campaigns, cases, contacts, leads,
opportunities, work orders, and custom objects only.
Combo boxes, which combine a picklist with a text field, aren’t available. Typically the
text field is available but the picklist is not.
823
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
Creating Editing
Category Issue Records Records
If territory management is enabled, you can’t assign or modify a record’s territory rules.
Accounts and The Copy Billing Address to Shipping Address and Copy Mailing Address to Other
Contacts Address links aren’t available.
If territory management is enabled, the Evaluate this account against territory rules
on save option isn’t available when editing account records.
Events An event owner can’t change, add, or remove an event’s invitees. If two or more contacts
are related to an event, the owner can’t edit them; if the event has just one related lead
or contact, the owner can edit it but not add more.
The Related To field remains editable when the Name field is set to Lead, but
you’ll receive an error if the Related To field contains data when you save the record.
You can’t create recurring events or change the details of a recurring event series. (You
can change the details of individual occurrences in an event series.)
The Email and Phone fields for an associated contact aren’t displayed.
Leads When you add a new lead, the Campaign field and the Assign using active
assignment rule” checkbox aren’t available. You can add values to these
fields in the full site.
Opportunities You can’t edit the Forecast Category field. The field is automatically populated,
based on the value of the Stage Opportunities field, when you save the record.
You can manually edit the value of this field in Salesforce Classic (but not from Lightning
Experience).
Tasks The Subject field doesn’t include a picklist of previously defined subjects.
The Related To field remains editable when the Name field is set to Lead, but
you’ll receive an error if the Related To field contains data when you save the record.
The Email and Phone fields for an associated contact aren’t displayed.
824
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
Creating Editing
Category Issue Records Records
You can’t create recurring tasks using a New Task quick action, but you can via the New
Task button on task lists.
You can’t edit the recurrence details of a recurring task series.
Phone Number The keypad that displays in phone number fields doesn’t include parentheses, hyphens,
Fields or periods, and Salesforce1 doesn’t apply any phone number formatting when you save
the record. To apply a specific phone number format, edit the record in the full site.
Success Message After creating a record from a related list in Salesforce1, the resulting success message
doesn’t include a link to the new record (like in Lightning Experience).
825
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
Approval Comments
• Salesforce1 prompts you for comments after you tap Approve or Reject.
• The approval detail page doesn’t display comments. The Approval History related list displays truncated comments. To see all
approval comments for a record, use the full Salesforce site.
Approval History Related List
• The Approval History related list doesn’t include the Submit for Approval button.
• When working with approvals in communities, role-based external users can see and take action from the Approval History
related list, but they can’t submit requests for approval.
826
Set Up and Maintain Your Salesforce Organization Put Salesforce1 In Your Users' Hands
Notes
• Notes that include images aren’t available offline.
• Images can’t be added to notes when working offline.
• Users can't relate notes to records when working offline.
Tasks
• Users can only create tasks offline if the simplified New Task form for Salesforce1 is disabled.
1. From Setup, enter Activity Settings in the Quick Find box, then select Activity Settings.
2. Deselect Show simpler New Task form in Salesforce1.
3. Click Submit.
• Using URL custom buttons to pass parameters to standard pages in Salesforce Classic—such as pre-populating fields when creating
a record—doesn’t work in Salesforce1 or Lightning Experience.
• Custom images used for action icons must be less than 1 MB in size.
Lightning Pages
• You can’t add more than 25 components to a Lightning Page region.
Visualforce Pages
• Standard tabs, custom object tabs, and list views that are overridden with a Visualforce page aren’t supported in Salesforce1. The
Visualforce page is shown for full site users but Salesforce1 users will see the default Salesforce1 page for the object instead. This
restriction exists to maintain the Salesforce1 experience for objects.
• Salesforce1 imposes additional resrictions and constraints on Visualforce pages. See Visualforce Guidelines and Best Practices in the
Salesforce1 Mobile App Developer guide for details.
Programmatic Customizations
• These programmatic customizations to the UI aren’t supported: Web tabs and S-controls.
827
Set Up and Maintain Your Salesforce Organization Help Users From Anywhere With SalesforceA
SalesforceA Options
Manage users and view information for Salesforce organizations from your mobile device.
EDITIONS
Overview of Your Organization
The Overview screen shows: Available in: both Salesforce
Classic and Lightning
• Number of frozen and locked out users
Experience
• Trust status
Available in: Contact
• Recently viewed users
Manager, Group,
Professional, Enterprise,
Performance, Unlimited,
and Developer Editions.
USER PERMISSIONS
To use SalesforceA:
• “Manage Users”
828
Set Up and Maintain Your Salesforce Organization Help Users From Anywhere With SalesforceA
For Android users, the navigation icon is in the top left. Tap it to go to the navigation menu.
For iOS users, navigation is done through the action bar at the bottom of the screen.
User Management
From the navigation menu, tap Users to see a list of users or search for a user. Tap a name to:
• View or edit user details
• Freeze, deactivate, or reactivate the user
• Reset a user password
• Assign permission sets (iOS only)
• Create a new user (iOS only)
829
Set Up and Maintain Your Salesforce Organization Help Users From Anywhere With SalesforceA
830
Set Up and Maintain Your Salesforce Organization Help Users From Anywhere With SalesforceA
Log In to SalesforceA
Log in to the SalesforceA mobile app to perform essential administrative tasks for your Salesforce
EDITIONS
organization.
As a Salesforce administrator, you can use SalesforceA to log in to your production organization Available in: both Salesforce
(default), sandbox environment, or a custom host. Choose the environment or host with the host Classic and Lightning
menu. Experience
• For iOS users: open the host menu from the gear icon in the upper right corner of the login Available in: Contact
screen. Manager, Group,
• For Android users: open the host menu from the action overflow button in the upper right Professional, Enterprise,
corner of the login screen. Performance, Unlimited,
and Developer Editions.
If prompted, enter a passcode as an extra layer of security for your mobile device. Manage this
security setting in the Salesforce desktop browser application from Setup in the Connected Apps
entry for SalesforceA. USER PERMISSIONS
Once you log in, you see the Overview screen. To use SalesforceA:
• “Manage Users”
831
Set Up and Maintain Your Salesforce Organization Help Users From Anywhere With SalesforceA
SEE ALSO:
Log In to Multiple Organizations with SalesforceA
832
Set Up and Maintain Your Salesforce Organization Help Users From Anywhere With SalesforceA
833
Set Up and Maintain Your Salesforce Organization Help Users From Anywhere With SalesforceA
You can create a new user even if you don't have enough user licenses to accommodate one. SalesforceA saves all the fields of your
new user, but the user is in an inactive state. To change the state of an inactive user to active, you need to reassign a license from an
existing user to your newly created user. For guidelines about creating a new user, see Guidelines for Adding Users in the Salesforce
Help for more information.
USER PERMISSIONS
To use SalesforceA:
• “Manage Users”
834
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
835
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
SEE ALSO:
Setting Up Salesforce Mobile Classic
Salesforce Classic Implementation Guide
Salesforce Classic User Guide for iPhone
Note:
• Not all objects available in the Salesforce Mobile Classic app are mobilized with the default configuration.
• Assets aren’t available as a tab in the Salesforce Mobile Classic app but display as a related list for accounts, cases, and contacts.
The default configuration automatically synchronizes records the user recently accessed in Salesforce on the Salesforce Mobile Classic
app. Users can search for records that aren’t automatically synchronized; once the user downloads a record, the record becomes a
permanent part of the data set. In addition to recently accessed records, the default configuration synchronizes activities closed in the
past five days and open activities due in the next 30 days.
836
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
• Another way to build lean data sets is to mobilize the Salesforce recent items list, add the data To create, change, or delete
Salesforce Mobile Classic
sets, and set the record ownership filters in your data sets to None (Search Only). The user's
configurations:
data set is populated with records recently accessed in Salesforce, and those records in turn
• “Manage Mobile
synchronize additional data based on the data set hierarchy. For example, let's say you create Configurations”
a data set with the account object at the root level and add the contact, task, and event objects
as child data sets. When the Salesforce Mobile Classic app synchronizes an account from the
Salesforce recent items list, it also synchronizes the contacts, tasks, and events related to that account.
• If you're not sure which fields to use as filters for your data sets or mobile views, consider using the Last Activity Date field. For
example, set up a filter that synchronizes contacts with an activity logged this week or this month. The Last Activity Date field is a
better indicator of a record's relevance than the Last Modified Date field—often the main detail of a record remains unchanged
even though users frequently log related tasks and events.
837
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
many tasks and events not owned by the user. Generally, there are more task and event records in an organization than any other
type of record, so it's easy to bloat data sets with too many activities.
• If your sales representatives frequently take orders in the field and need a comprehensive inventory list, add the product object at
the root level of the data set hierarchy. Nesting the opportunity product object below the opportunity object won't mobilize all
products.
• If your users need to assign tasks to other users or change the record owner, mobilize the user object so that the names of other
users will be available on the device. Avoid mobilizing all user records—instead, set up filters based on the role or profile.
• Be sure that users assigned to a mobile configuration have field-level access to all the fields used in the configuration's filter criteria.
If a user doesn't have access to a field in a data set's filter criteria, the Salesforce Mobile Classic app won't synchronize the records
for that data set or its child data sets.
• You can sometimes use cross-object formula fields to work around limitations of the Salesforce Mobile Classic app. For example,
Salesforce Mobile Classic doesn't support campaigns, so you can't add the campaign object as a data set and add the opportunity
object as its child data set to get the related records. However, you can create a text formula field on the opportunity object equal
to the name of the parent campaign. The field needs to be visible, but it doesn't need to be included on your page layouts. Then
add the opportunity object to the data set and use the new formula field to filter opportunities related to a specific campaign.
• Although a mobile configuration might include an object at multiple levels in the data set hierarchy, users won't see duplicate tabs
in the Salesforce Mobile Classic app. Only one Task tab appears on the device even if you mobilize the task object at the root level
and as a child data set of three objects.
838
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
– After the initial download of data, incremental update requests are initiated by the client app every 20 minutes. Each of these
requests and the corresponding server response are approximately 200 bytes.
– If any new data is downloaded to the client app as a result of the update request, only the new or changed values are sent. For
example, the Salesforce Mobile Classic app only downloads the new phone number in a contact record, not the entire contact
record. The amount of data transmitted differs for every organization and every user.
Generally, the volume of data transmitted by the Salesforce Mobile Classic app is low compared to moderate email usage.
Best Practices
• Use the zero-administration deployment option to experiment with the Salesforce Mobile Classic app before you set up mobile
configurations. You'll create better blueprints for your mobile configurations if you've tried using the Salesforce Mobile Classic app.
• Talk to users about their favorite reports, views, and dashboards to get ideas for what filter criteria to use in mobile configurations.
• After setting up mobile configurations, deploy the Salesforce Mobile Classic app on a limited basis with a select group of users. Adjust
the mobile setup based on their feedback, then deploy to all of your users.
839
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
13. Notify users that Salesforce Mobile Classic is available for download Mobile app not available for
orgs created in Winter ’17 or
When users download the Salesforce Mobile Classic app and activate their accounts, you can manage later
their devices in the Salesforce Mobile Classic Administration Console.
840
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
SEE ALSO:
Salesforce Classic Implementation Guide USER PERMISSIONS
Salesforce Classic User Guide for iPhone To view Salesforce Mobile
Setting Up Salesforce Mobile Classic Classic settings:
• “View Setup and
Configuration”
To change Salesforce Mobile
Classic settings:
• “Manage Mobile
Configurations”
841
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
7. If you select the Mobilize Recent Items checkbox, select a value from the Maximum Number of Recent Items
drop-down list. Set a low number if your users have minimal free space on their mobile devices.
8. Optionally, select the Mobilize Followed Records checkbox to automatically synchronize records users are following in
Chatter to their mobile device. The device only synchronizes followed records for objects included in the mobile configuration's data
set.
The Mobilize Followed Records checkbox is only available if Chatter is enabled for your organization.
842
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
Tip: For ease of administration, we recommend that you assign mobile configurations to profiles; however, you may have situations
in which you need to assign a configuration directly to individual users.
To assign users and profiles to a mobile configuration:
1. In the Search drop-down list, select the type of member to add: users or profiles. This drop-down list is not available if you have not
enabled the Mobile User checkbox on any user records, or if all users are already assigned to a mobile configuration; in that
case, you can only assign profiles to this mobile configuration.
2. If you do not immediately see the member you want to add, enter keywords in the search box and click Find.
3. Select users and profiles from the Available Members box, and click the Add arrow to add them to the mobile configuration.
You can assign each user and profile to only one mobile configuration.
The Available Members box only displays users who have the Mobile User checkbox enabled.
4. If there are users or profiles in the Assigned Members box you do not want to assign to this mobile configuration, select those
users and click the Remove arrow.
Warning: Removing a user from an active mobile configuration deletes the Salesforce-related data on the user's mobile
device but does not delete the client application.
Tip: To reduce the size of your data, do one or more of the following:
• Delete a data set.
• Reduce the scope of your data sets.
• Refine the filter criteria of your data sets.
SEE ALSO:
Manage Salesforce Mobile Classic Configurations
Define Data Sets
Setting Up Salesforce Mobile Classic
843
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
3. From the Data Sets page, you can: To create, change, or delete
mobile data sets:
• Add a data set. • “Manage Mobile
• Remove a data set by selecting the data set you want to remove and clicking Remove. Configurations”
• Edit a data set by selecting the data set you want to edit in the hierarchy. The right pane
displays the filters for that data set.
• Test your mobile configuration.
As you define and modify the data sets, Salesforce automatically saves your changes.
844
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
• Assets
• Attachments
• Cases
• Contacts
• Content
• Events
• Leads
• Notes
• Opportunities
• Price Books
• Products
• Solutions
• Tasks
• Users
Note:
• Although attachments are available as a data set, they're only supported in Salesforce Mobile Classic for Android.
• Salesforce Mobile Classic supports default field values only for picklists and multiselect picklists. Default field values for
other types of fields, such as checkboxes and numeric fields, do not appear in Salesforce Mobile Classic.
When adding to an existing data set, the popup window displays any object with a relationship to the selected object. This includes
child objects, and also parent objects with a master-detail or lookup relationship to the selected object.
For example, assume you created an account field called Primary Contact with a lookup relationship to the contact object. If you
add Account as a top-level data set in a mobile configuration, you see two sets of contacts when you add Contact below Account:
• Contact: Represents the standard relationship between the account and contact objects.
• Contact (Referenced by Account): Represents any object that is the parent in a lookup or master-detail relationship for the
selected object. In this case, the contact object is referenced by the Primary Contact field on the account object.
Because Salesforce distinguishes between these two types of relationships, you could, for example, mobilize just the contacts
referenced by a custom account field without sending any child contact records to the device.
4. Click OK. The data set you created appears in the hierarchy.
5. Optionally, use filters to restrict the records that a parent or child data set includes:
a. Use the Filter by Record Ownership options to configure Salesforce to automatically synchronize records based on the owner
of the record. The possible options are:
• All Records: Salesforce automatically synchronizes all records the user can access. The All Records option is not
available for tasks and events when they are parent data sets in a mobile configuration. This helps prevent failed data
synchronization due to activity filter queries that take too long to run.
• User's Records: Salesforce automatically synchronizes all records the user owns.
• User's Team's Records: Salesforce automatically synchronizes all records owned by the user and the user's
subordinates in the role hierarchy.
• User's Account Team's Records: Salesforce automatically synchronizes accounts for which the user is an
account team member, but does not include accounts owned by the user.
845
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
• User's Opportunity Team's Records: Salesforce automatically synchronizes opportunities for which the user
is an opportunity team member, but does not include opportunities owned by the user.
• None (Search Only): Salesforce does not automatically synchronize any records for this data set; however, users can
use their mobile devices to search all of the records they can access.
Salesforce only displays options that relate to the selected data set. For example, selecting an account data set displays the
User's Account Team's Records option, while selecting an opportunity data set displays the User's
Opportunity Team's Records option.
If your mobile needs for an object require a combination of the available record ownership filters, you can add the same object
data set up to four times on the same hierarchy level. For example, a sales manager might want to synchronize his opportunities,
opportunities owned by his subordinates, and opportunities for which he is an opportunity team member. In this case, you
would add an opportunity data set and select User's Team's Records, then add a second opportunity data set at the
same level in the hierarchy and select User's Opportunity Team's Records. Note that objects with only one
ownership filter option, such as Case Comment, cannot be added multiple times at the same level of the hierarchy.
b. Set the filter criteria to automatically synchronize only records that meet specific criteria in addition to the Filter by Record
Ownership option you selected. For example, you can set the filter to only include opportunity records with amounts greater
than $50,000, or contact records with the title “Buyer.”
c. To prevent a single data set from consuming all the memory on a mobile device, select the second radio button under Set Max
Record Limit and enter the maximum number of records this data set can transfer to mobile devices. Use the Order By and Sort
drop-down lists to specify which records are synchronized if the data size limit is exceeded.
If the limit is reached, Salesforce updates the records currently on the mobile device approximately every 20 minutes, and replaces
the records approximately every 24 hours in accordance with the Order By and Sort settings. For example, if the settings are Last
Modified Date and Descending, Salesforce transfers the most recently modified records to mobile devices and removes the same
number of records that were least recently modified.
If you selected the None (Search Only) Filter by Record Ownership option, the limit you set does not apply because no
records are automatically synchronized.
Tip: Do not use Set Max Record Limit in place of filters. Only use Set Max Record Limit as a safety mechanism, and use
filters as the primary means of limiting the number of records on a mobile device. This ensures that your mobile users
receive the correct records on their devices.
Because of the memory restrictions of mobile devices, Salesforce prevents a single query from returning more than 2,500 records.
6. Be sure to test your mobile configuration to make sure the data does not exceed the total data size limit.
7. Click Done.
SEE ALSO:
Support On-the-Go Productivity with Salesforce Mobile Classic
Manage Salesforce Mobile Classic Configurations
Setting Up Salesforce Mobile Classic
846
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
$User.Username References the username of the current user. Mobile app not available for
This merge field can be applied to any text or orgs created in Winter ’17 or
lookup field, except picklists. The valid operators later
for this merge field are Equals, Not Equal To,
Greater Than or Equal, Less Than or Equal,
Contains, Does Not Contain, and Starts With.
847
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
SEE ALSO:
Manage Salesforce Mobile Classic Configurations
Support On-the-Go Productivity with Salesforce Mobile Classic
Define Data Sets
Sales Manager
Sales managers usually need to see records they own and also the records of their subordinates. They also tend to closely monitor large
deals in the pipeline.
This mobile configuration allows sales managers to see:
• The opportunities they own.
• The opportunities owned by users who report to them in the role hierarchy.
• All opportunities scheduled to close in the current quarter with an amount greater than $100,000.
• All accounts related to the opportunities.
• A subset of their contact and activity records.
Sales Engineer
The sales engineer mobile configuration retrieves opportunities owned by the other members of the user's opportunity team, but does
not include the user's records. The configuration is opportunity-based because all accounts and contacts sent to the device are related
to the opportunities. The sales engineers would see activity history related to the opportunities on the device and also their own activities.
848
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
Account Executive
This account executive mobile configuration is account-based, which means the device pulls down the user's accounts and opportunities
related to those accounts. The opportunities are filtered so that only open opportunities scheduled to close in the current quarter appear
on the device. The Task and Event child data sets retrieve all activities related to those opportunities, not just the user's activities. Only
open tasks and events from a two-month window are sent to the device. The Task and Event parent data sets pull down just the user's
activities and restrict the activities to open tasks and events scheduled for the next 30 days. The Contact data set delivers the user's
contact records, but limits the record count to the 500 most recently active contacts.
849
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
SEE ALSO:
Support On-the-Go Productivity with Salesforce Mobile Classic
Manage Salesforce Mobile Classic Configurations
Define Data Sets
850
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
4. Select the Include metadata checkbox to include metadata in the estimate. Metadata consists Mobile app not available for
of page layout and schema information, and the amount of metadata sent to a device can be orgs created in Winter ’17 or
very high depending on the size of your organization and the complexity of its setup. later
Warning: It might take a while for Salesforce to calculate the metadata size in addition
to the data size. Even if you choose to hide the metadata in your test results, the metadata USER PERMISSIONS
is still factored into the total data size when the mobile device synchronizes with Salesforce.
To view Salesforce Mobile
5. Click Estimate Data Size. Classic data sets:
• “View Setup and
The size of each data set is calculated. Results display in the hierarchy tree, which is the left Configuration”
pane of the data set region at the top of the page. Additional results appear in the Test Data
To test Salesforce Mobile
Size section below the hierarchy.
Classic configurations:
• In the hierarchy tree, two numbers appear next to each data set. The first represents the • “Manage Mobile
number of records generated by the data set, and the second represents the total size of Configurations”
the data set in bytes or kilobytes. This breakdown is useful for identifying which data sets
might require additional filtering criteria to reduce the size.
• The Test Data Size section provides an estimate of the data that the current mobile configuration would deliver to the selected
user's device, including:
– The size and number of records in each object's data set.
– The total size and number of records, which includes records in the data set and marked records. A marked record is a record
that is not part of a user's mobile configuration. There are two ways marked records can become part of the data set:
• The user downloads records to his or her device through online searches, and the records are flagged so that they get
sent to the user's device every time the device synchronizes with Salesforce.
• Records in the user's data set contain lookup fields to records that do not match the mobile configuration's filter criteria.
Salesforce synchronizes the records referenced in the lookup fields so that users do not encounter broken links in the
mobile app.
851
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
Tip: For an accurate count of the marked records, synchronize the data in the mobile app before estimating the
data size. To synchronize the data:
– On an Android device, tap Application Info > Sync Now > Refresh All Data.
– On an iPhone device, tap More, then tap App Info. Tap Sync Now, then tap Refresh All Data.
– The size of the metadata that would be sent to the device for the user, if you selected the Include metadata checkbox.
– The total mobilized data set, which is the sum of all the records.
6. Compare the test results to the total data size limit that was set for the configuration; the limit is located in the top of the Test Data
Size section. Click the size limit to increase or decrease the value on the Edit Mobile Configuration page.
• If the total data size is below the limit, the selected user can safely be assigned to the mobile configuration. However, keep in
mind that the test results are an estimate because different devices have different storage algorithms.
• If the total data size exceeds the limit, reduce the size of the data by reducing the scope of your data set, refining the filter criteria
of your data sets, deleting a data set, or removing fields from the mobile page layout. Repeat the testing process until the data
is below the total limit.
Note: The data size estimate in the Test Data Size section does not automatically refresh if you edit the data sets. Click
Refresh Data Size to update the test results.
SEE ALSO:
Support On-the-Go Productivity with Salesforce Mobile Classic
Manage Salesforce Mobile Classic Configurations
Manage Salesforce Mobile Classic Devices
Setting Up Salesforce Mobile Classic
852
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
In the Permissions section, select which permissions to remove from mobile users for this object.
Use the Deny Create, Deny Edit, or Deny Delete checkboxes to prevent users from creating,
editing, or deleting records in Salesforce Mobile Classic.
Note: Currently, you can't block mobile permissions for the content object.
853
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
• Certain fields are required in order for Salesforce Mobile Classic to communicate with Salesforce. Those fields don’t display in the
Available Fields box because they are mandatory and can’t be excluded from mobile page layouts.
• Fields used in custom mobile views can’t be excluded from mobile page layouts.
• If you mobilize the content object, all of the content object's fields display in the Available Fields box; however, the layout of the
content detail page in the Salesforce Mobile Classic app is hard-coded to show only a few fields. Excluding fields for the content
object doesn't affect the page layout in the app.
SEE ALSO:
Support On-the-Go Productivity with Salesforce Mobile Classic
Manage Salesforce Mobile Classic Configurations
Manage Salesforce Mobile Classic Tabs
Create Links to Web and Visualforce Mobile Pages for Salesforce Mobile Classic
Setting Up Salesforce Mobile Classic
854
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
3. Select tabs from the Available Tabs list, and click the Add arrow to add them to the mobile configuration.
4. In the Selected Tabs list, choose tabs and click the Up and Down arrows to arrange the tabs in the order they should appear
in the Salesforce Mobile Classic app.
5. Click Save.
Note: iPhone users can customize the order of their tabs in the Salesforce Mobile Classic app. If the user customizes their tab
order, any administrator changes to the tab order in the mobile configuration are ignored by the app, and any newly mobilized
tabs are added below the user's existing tabs.
SEE ALSO:
Manage Salesforce Mobile Classic Tabs
Enabling Web and Visualforce Tabs for Salesforce Mobile Classic
Support On-the-Go Productivity with Salesforce Mobile Classic
Manage Salesforce Mobile Classic Configurations
855
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
• Because the display size is limited on mobile browsers, we recommend redesigning the Visualforce page to optimize it for mobile
users:
– Set the sidebar and showHeader attributes on the <apex:page> tag to false. Phones have small screens and
limited processing power, so it is essential that the page suppresses the tab header and sidebar.
– Set the standardStylesheets attribute on the <apex:page> tag to false. The standard Salesforce style sheet
causes pages to load slowly on the device. The best approach to adding a style sheet to your page is to include a <style>
section just below the <apex:page> component.
– Set the columns attribute on the <apex:pageBlockSection> component to 1. There is not enough room on a
mobile device’s screen to display two columns, so specifying a one-column layout prevents fields from wrapping awkwardly on
the page.
SEE ALSO:
Manage Salesforce Mobile Classic Tabs
Manage Salesforce Mobile Classic Configurations
Create Links to Web and Visualforce Mobile Pages for Salesforce Mobile Classic
Assign Tabs to a Salesforce Mobile Classic Configuration
856
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
• Users can sort mobile views in ascending or descending order by up to two fields. Mobile app available for an
extra cost in: Professional
For each mobile configuration, you can define up to 10 custom views per object. These views are
and Enterprise Editions for
then pushed to the devices of users assigned to the affected configurations. To create a custom orgs created prior to May 1,
view for Salesforce Mobile Classic: 2016
1. From Setup, enter Salesforce Classic Configurations in the Quick Find Mobile app not available for
box, then select Salesforce Classic Configurations. Then click the name of a mobile orgs created in Winter ’17 or
configuration. You might need to create a mobile configuration if you haven't already. later
2. Scroll down to the Mobile Views related list.
3. Choose an object type from the Select an object drop-down list, and then click New Mobile USER PERMISSIONS
View. Only objects included in the mobile configuration's data set appear in the drop-down
list. You can’t create mobile views for the user object. To view Salesforce Mobile
Classic devices and users:
4. Enter the view name.
• “View Setup and
Because display space on mobile devices is limited, the maximum length of a mobile view Configuration”
name is 30 characters. To manage Salesforce
Mobile Classic custom
5. In the Specify Filter Criteria section, enter conditions that the selected items must match; for views:
example, Amount is greater than $100,000. • “Manage Mobile
a. Choose a field from the first drop-down list. Configurations”
Note: You can’t create views based on fields you excluded from mobile page layouts
or fields that are hidden for all profiles and permission sets.
Warning: Note the following about filter criteria values for mobile views:
• You can use the $User.ID merge field as a value in your filter criteria to reference the current user. You can't enter
user names in your filter criteria.
• You can only enter special date values in your filter criteria, not actual dates.
• You can't use FISCAL special date values in the filter criteria.
d. Select Match All if items in the mobile view should match all the criteria you entered. Select Match Any if items in the mobile
view should match any of the criteria you entered. Mobile custom views do not support advanced filtering options.
857
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
6. In the Select Fields to Display section, select the fields to use as display columns.
The default fields are automatically selected. You can choose up to two different columns of data fields to display in your mobile
custom view.
7. In the Define Sort Order section, optionally set a primary and secondary sort order for the view.
a. Select a field in the Order By drop-down list. You can sort by fields that have been excluded from the object's mobile page layout.
b. Set the sort order to Ascending or Descending.
8. Click Save.
SEE ALSO:
Manage Salesforce Mobile Classic Views
Manage Salesforce Mobile Classic Configurations
Manage Salesforce Mobile Classic Devices
Setting Up Salesforce Mobile Classic
858
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
8. Add the Reports tab to your mobile configurations. From Setup, enter Salesforce
Classic Configurations in the Quick Find box, then select Salesforce Classic Configurations. Then click the name
of a mobile configuration.
9. In the Mobile Tabs related list, click Customize Tabs to define mobile tabs for the first time. If you’ve already set up the mobile tabs,
click Edit.
10. Select Reports from the Available Tabs list, then click the Add arrow to add it to the mobile configuration. The Available Tabs list
includes standard object tabs and custom object tabs. It can also include web and Visualforce tabs.
Warning: If you have not yet customized tabs in the mobile configuration, you must select all the tabs that should appear
in the Salesforce Mobile Classic, not just the Reports tab.
11. In the Selected Tabs list, choose the Reports tab and click the Up and Down arrows to define where the Reports tab should appear
in the Salesforce Mobile Classic app.
12. Click Save.
859
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
Note: Currently, reports in Salesforce Mobile Classic aren’t available on Android or iPhone devices.
SEE ALSO:
Setting Up Salesforce Mobile Classic
860
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
• Custom Fields: If you created custom content fields that help you categorize your content, filter on the custom fields. For
example, if you built a Functional Use field with picklist values, you could set up a filter condition where Functional
Use equals Sales.
6. Optionally, prevent content records from consuming all the memory on a mobile device by selecting the second radio button under
Set Max Record Limit and entering the maximum number of content records this configuration can transfer to mobile devices. Use
the Order By and Sort drop-down lists to specify which records are synchronized if the data size limit for your mobile configuration
is exceeded.
7. Click Done.
SEE ALSO:
Setting Up Salesforce Mobile Classic
861
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
You can allow partner users to access partner portal data on mobile devices using the Salesforce Mobile app available in:
Mobile Classic app. Performance, Unlimited,
and Developer Editions for
Tips for setting up Salesforce Mobile Classic access for partner users: orgs created prior to Winter
• Before setting up Salesforce Mobile Classic for partner users, you must configure partner user ’17
accounts and purchase mobile licenses for each partner portal user that will be using Salesforce Mobile app available for an
Mobile Classic. Partner user profiles must be assigned to at least one active partner portal before extra cost in: Professional
partner users can use Salesforce Mobile Classic. If a user profile is assigned to multiple partner and Enterprise Editions for
portals, only the first assigned partner portal will be accessible using Salesforce Mobile Classic. orgs created prior to May 1,
• Custom mobile list views don’t affect list views in the partner portal. 2016
• If you make User data sets available in the Salesforce Mobile Classic app, partners can assign Mobile app not available for
objects to their partner account users and all internal users. If you don’t make User data sets orgs created in Winter ’17 or
available, partners can only assign objects to internal or partner account users who are associated later
with records that you’ve made available on the mobile device.
USER PERMISSIONS
SEE ALSO:
To view Salesforce Mobile
Setting Up Salesforce Mobile Classic
Classic configurations, data
sets, mobile devices, and
users:
• “View Setup and
Configuration”
To create, change, or delete
Salesforce Mobile Classic
configurations and data
sets, test mobile
configurations, edit mobile
object properties, and
manage mobile custom
views:
• “Manage Mobile
Configurations”
862
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
Create Links to Web and Visualforce Mobile Pages for Salesforce Mobile Classic
To improve the integration between the Salesforce Mobile Classic app, Visualforce Mobile, and
EDITIONS
external websites, you can optionally create links from native Salesforce records to Visualforce
Mobile pages or external websites. To create the links, build text formula fields on a standard or Salesforce Mobile Classic
custom object. The field must be visible on the page layout to appear in the Salesforce Mobile setup available in: both
Classic app. The best practice is to include all embedded links in a separate section labeled “Mobile Salesforce Classic and
Links” at the bottom of the page layout. There is currently no way to hide these links in Salesforce, Lightning Experience
but users can collapse the section to keep the links out of the way.
1. Navigate to the fields area of the appropriate object. Mobile app available in:
Performance, Unlimited,
2. Click New in the fields section of the page. and Developer Editions for
3. Select Formula, and then click Next. orgs created prior to Winter
’17
4. Enter the field label.
Mobile app available for an
The field name is automatically populated based on the field label you enter. extra cost in: Professional
and Enterprise Editions for
5. Select Text, then click Next.
orgs created prior to May 1,
6. In the formula editor, create the link to the custom Visualforce page or external website: 2016
• To create a Visualforce link, type "visualforce:///apex/PageName", and replace Mobile app not available for
PageName with the name of your Visualforce page. You can append parameters to the orgs created in Winter ’17 or
string, such as ?contactid=" & Id", in order to pass information from the record later
in the client application to the Visualforce page.
• To create a Web link, type "weblink:", followed by the URL to which you want the link
USER PERMISSIONS
to point, such as "weblink:http://www.salesforce.com". You can append
parameters to the string in order to pass information from the record in the client application To create or change custom
to the Web page. For example, the following Web link launches a social networking site buttons or links:
from a contact record and performs a search for the contact: • “Customize Application”
Note: The client application passes the Visualforce or Web link with all parameters to the embedded browser. It is up to
the website or Visualforce Mobile page to interpret any parameters. Be sure to construct your Visualforce Mobile page to
consume any parameters passed in the link.
7. Click Next.
8. Set the field-level security to determine whether the field should be visible or read only for specific profiles, and click Next.
9. Choose the page layouts that should display the field. In the next step, you will customize the layout to change the location of the
field on the page.
10. Save your changes.
11. Edit the object’s page layout. From the management settings for the object whose page layout you want to change, go to Page
Layouts.
12. Drag a Section element from the palette to the page layout and drop it below the existing sections.
13. In the Section Name field, type Mobile Links.
14. Deselect the Edit Page option.
863
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
SEE ALSO:
Setting Up Salesforce Mobile Classic
864
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
865
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
USER PERMISSIONS
SEE ALSO:
Support On-the-Go Productivity with Salesforce Mobile Classic To view Salesforce Mobile
Classic configurations:
• “View Setup and
Configuration”
To create, change, or delete
Salesforce Mobile Classic
configurations:
• “Manage Mobile
Configurations”
866
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
Note: The Mobile User checkbox is disabled by default for new Performance Edition Mobile app available in:
users. Performance, Unlimited,
and Developer Editions for
To prevent users from activating Salesforce Mobile Classic on their mobile devices before you’re
orgs created prior to Winter
ready to deploy the app, disable the Mobile User checkbox for all your users.
’17
Mobile app available for an
SEE ALSO: extra cost in: Professional
Support On-the-Go Productivity with Salesforce Mobile Classic and Enterprise Editions for
orgs created prior to May 1,
2016
Mobile app not available for
orgs created in Winter ’17 or
later
USER PERMISSIONS
867
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
• To change the tab setup, click Edit. Mobile app available in:
• To delete the mobile tab setup and use the default tab behavior instead, click Reset to Default. Performance, Unlimited,
If you haven’t customized the configuration’s tabs, the related list indicates that the default tab and Developer Editions for
orgs created prior to Winter
behavior is used for the configuration. To customize the tabs used by the configuration and define
’17
their order, click Customize Tabs.
Mobile app available for an
extra cost in: Professional
SEE ALSO: and Enterprise Editions for
Support On-the-Go Productivity with Salesforce Mobile Classic orgs created prior to May 1,
Manage Salesforce Mobile Classic Configurations 2016
Mobile app not available for
orgs created in Winter ’17 or
later
USER PERMISSIONS
868
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
• To view details about a mobile custom view, click its name. Mobile app available for an
extra cost in: Professional
and Enterprise Editions for
SEE ALSO: orgs created prior to May 1,
Support On-the-Go Productivity with Salesforce Mobile Classic 2016
Manage Salesforce Mobile Classic Configurations Mobile app not available for
Manage Salesforce Mobile Classic Devices orgs created in Winter ’17 or
later
USER PERMISSIONS
869
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
Note:
• Mobile sessions are similar to Web-based sessions in login history reports; however, mobile sessions have a fixed timeout value
of 20 minutes. Salesforce creates a new Mobile Session when a user logs into or launches Salesforce Mobile Classic after 20
minutes of inactivity in the app or on the device in general.
• Mobile session reports only have usage data for the Salesforce Mobile Classic app and not other Salesforce mobile apps, such
as the Salesforce1 apps.
• Some devices do not provide every physical attribute. For example, Apple devices do not provide brand.
870
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
From the All Mobile Users and Devices page, you can: Mobile app available in:
• View the list of users in your organization who have been enabled to use Salesforce Mobile Performance, Unlimited,
Classic. and Developer Editions for
orgs created prior to Winter
• Create custom list views to see different subsets of your mobile users. For example, create a
’17
view that shows the users who have never logged in to Salesforce from theSalesforce Mobile
Classic app to evaluate the effectiveness of your organization's Salesforce Mobile Classic Mobile app available for an
deployment efforts. extra cost in: Professional
and Enterprise Editions for
• View details about a mobile device by clicking the device address.
orgs created prior to May 1,
• View details about a specific user by clicking the username. 2016
• View details about a mobile configuration by clicking the mobile configuration name. Mobile app not available for
• Perform these actions on multiple users at the same time: orgs created in Winter ’17 or
later
– Adjust the mobile session timeout value
– Erase the Salesforce data from a user's mobile device
– Delete a mobile device from a user's record USER PERMISSIONS
• Find out why a user's device isn’t synchronizing by hovering your mouse over the red error icon To view Salesforce Mobile
in the Status column. Additional information about the synchronization errors appears on the Classic devices and users:
device's detail page. • “View Setup and
Configuration”
Note: You can also manage mobile users from the Assigned Mobile Devices related list on
To manage Salesforce
the user detail page. Mobile Classic devices:
• “Manage Mobile
SEE ALSO: Configurations”
Support On-the-Go Productivity with Salesforce Mobile Classic
Manage Salesforce Mobile Classic Configurations
871
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
872
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
Connected Since The date and time the device established a USER PERMISSIONS
connection to the mobile server. The device
To view Salesforce Mobile
loses a connection when the battery dies or
Classic devices and users:
when the session is closed because the server
• “View Setup and
has not received data from the device for a long Configuration”
period of time.
To manage Salesforce
Connection Status The state of the device connection. Possible Mobile Classic devices:
values for this field are Connected, Not • “Manage Mobile
Connected, and Not Available. Configurations”
873
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
Field Description
software application that emulates the behavior of a mobile device.
Last Activated The last time a full data set was downloaded to the mobile device.
If a user's data set exceeds the limit defined in the assigned mobile
configuration, the device can be registered but not activated.
Last Data Received The last time data was received from the device. This information
is helpful for troubleshooting connection issues.
Last Registration The last time a user registered the mobile device. The registration
process creates the device record in Salesforce and associates it
with the user who registered it.
Last Status Date The last time the mobile device notified Salesforce that the device
is no longer synchronizing data due to an error. The Last
Status Date field is only visible when an error is present.
Metadata Size The size of the Salesforce metadata currently stored on the user's
mobile device. Metadata consists of page layout and schema
information, and the amount of metadata sent to a device can be
very high depending on the size of your organization and the
complexity of its setup.
Modified By The name of the last user who registered the mobile device and
the time and date the registration occurred.
Number of Pending Outgoing Messages The number of messages queued on the mobile server waiting to
be sent to the device.
Operating System The type of operating system installed on the mobile device:
Android or iPhone.
Operating System Version The version number of the operating system installed on the mobile
device.
Phone Number The phone number associated with the mobile device.
Salesforce Mobile Classic Version The version number and build number of the mobile client
application installed on the device.
Size of Pending Outgoing Messages (Bytes) The total data size of the messages queued on the device waiting
to be sent to the mobile server. Because the server processes
messages almost instantaneously, this value is usually 0.
Size of Outgoing Messages (Bytes) The total data size of the outbound message queue on the mobile
server.
874
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
Field Description
Username The Salesforce username of the user who is associated with the
mobile device.
Note: If Salesforce detects the selected device was registered by a user in another organization, an error displays on the device
detail page. This can happen when a device was registered to a user in your sandbox organization and then later activated by a
user in your production organization. To remove the old device record from your organization, simply delete the device.
5. A confirmation page summarizes the results for each mobile device you selected. USER PERMISSIONS
Result Description
Message successfully queued The Salesforce Mobile Classic server has sent the
message to the device. Salesforce can’t detect
if the message was received by the device.
875
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
Result Description
server prevented the message from being sent. Try again later.
User has no mobile device The selected mobile user never registered a device, so therefore
the message could not be sent.
876
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
Result Description
User has no mobile device The selected mobile user never registered a device, so therefore
the message could not be sent.
SEE ALSO:
Manage Salesforce Mobile Classic Devices
Deleting Mobile Devices
4. A confirmation page summarizes the results for each mobile device you selected. USER PERMISSIONS
Device cannot be deleted at this time. Please A temporary communication problem between
try again later. Salesforce and the mobile server prevented the
device from being deleted. Try again later.
877
Set Up and Maintain Your Salesforce Organization Support On-the-Go Productivity with Salesforce Mobile Classic
Result Description
User has no mobile device. The selected mobile user never registered a device, so therefore
the message could not be sent.
SEE ALSO:
Erasing Data in Salesforce Mobile Classic
Apple iPhone and iPod Touch devices • Third parties (including, but not limited to, Apple Inc. and your
network connectivity provider) may at any time restrict,
interrupt or prevent use of Salesforce Mobile Classic for the
iPhone and iPod touch devices, or delete the Salesforce Mobile
Classic app from iPhone or iPod touch devices, or require
Salesforce to do any of the foregoing, without entitling the
customer to any refund, credit or other compensation from
such third-party or Salesforce.
• Service level agreements don’t apply to the Salesforce Mobile
Classic for iPhone product. Additional limitations are described
in the Order Form Supplement for Salesforce Mobile Classic
for iPhone, which users are required to accept upon download
or installation of the Salesforce Mobile Classic for iPhone
product.
Dashboards Limits
When working with dashboards in Salesforce Mobile Classic, these limitations exist:
• You can’t create or edit dashboards.
• Links to custom report details are disabled.
878
Set Up and Maintain Your Salesforce Organization View a Mobile User’s Push Registration Information
3. On the user detail page next to Mobile Push Registrations, click View.
USER PERMISSIONS
Installed Packages
You can install packages into your Salesforce organization, and then configure and manage them.
EDITIONS
To view the packages you’ve installed, from Setup, enter “Installed” in the Quick Find box, and then
select Installed Packages. Available in: both Salesforce
Classic and Lightning
Experience
Install a Package
Install a managed or unmanaged package in your Salesforce org to add new functionality to your
EDITIONS
org. Choose a custom installation to modify the default package settings, including limiting access
to the package. Before you install a package, verify on the AppExchange listing that the offering is Available in: both Salesforce
compatible with your Salesforce edition. Classic and Lightning
Experience
Pre-Installation Steps Available in: Group,
Professional, Enterprise,
1. In a browser, go to the installation URL provided by the package developer, or, if you’re installing
Performance, Unlimited,
a package from the AppExchange, click Get It Now from the application information page.
and Developer Editions
Note: If you’re installing into a sandbox, replace the www.salesforce.com portion of the
installation link with test.salesforce.com. The package is removed from your sandbox USER PERMISSIONS
organization whenever you create a new sandbox copy.
To install packages:
2. Enter your username and password for the Salesforce organization in which you want to install • “Download
the package, and then click the login button. AppExchange
3. If the package is password-protected, enter the password you received from the publisher. Packages”
879
Set Up and Maintain Your Salesforce Organization Install a Package
4. Optionally, if you’re installing an unmanaged package, select Rename conflicting components in package. When you select this
option, Salesforce changes the name of a component in the package if its name conflicts with an existing component name.
Default Installation
Click Install. You’ll see a message that describes the progress and a confirmation message after the installation is complete.
Custom Installation
Follow these steps if you need to modify the default settings as an administrator.
1. Choose one or more of these options, as appropriate.
• Click View Components. You’ll see an overlay with a list of components in the package. For managed packages, the screen
also contains a list of connected apps (trusted applications that are granted access to a user's Salesforce data after the user and
the application are verified). Review the list to confirm that the components and any connected apps shown are acceptable,
and then close the overlay.
Note: Some package items, such as validation rules, record types, or custom settings might not appear in the Package
Components list but are included in the package and installed with the other items. If there are no items in the Package
Components list, the package might contain only minor changes.
• If the package contains a remote site setting, you must approve access to websites outside of Salesforce. The dialog box lists all
the websites that the package communicates with. We recommend that a website uses SSL (secure sockets layer) for transmitting
data. After you verify that the websites are safe, select Yes, grant access to these third-party websites and click Continue,
or click Cancel to cancel the installation of the package.
Warning: By installing remote site settings, you’re allowing the package to transmit data to and from a third-party website.
Before using the package, contact the publisher to understand what data is transmitted and how it's used. If you have an
internal security contact, ask the contact to review the application so that you understand its impact before use.
• Click API Access. You’ll see an overlay with a list of the API access settings that package components have been granted. Review
the settings to verify they’re acceptable, and then close the overlay to return to the installer screen.
• In Enterprise, Performance, Unlimited, and Developer Editions, choose one of the following security options.
Note: Depending on the type of installation, you might not see this option. For example, in Group and Professional
Editions, or if the package doesn’t contain a custom object, Salesforce skips this option, which gives all users full access.
Install for Admins Only
Specifies the following settings on the installing administrator’s profile and any profile with the "Customize Application"
permission.
– Object permissions—“Read,” “Create,” “Edit,” “Delete,” “View All,” and “Modify All” enabled
– Field-level security—set to visible and editable for all fields
– Apex classes—enabled
– Visualforce pages—enabled
– App settings—enabled
– Tab settings—determined by the package creator
– Page layout settings—determined by the package creator
– Record Type settings—determined by the package creator
After installation, if you have Enterprise, Performance, Unlimited, or Developer Edition, set the appropriate user and object
permissions on custom profiles as needed.
880
Set Up and Maintain Your Salesforce Organization Install a Package
Note: The Customer Portal User, Customer Portal Manager, High Volume Customer Portal, Authenticated Website,
Partner User, and standard profiles receive no access.
Install for Specific Profiles...
Enables you to choose the usage access for all custom profiles in your organization. You can set each profile to have full
access or no access for the new package and all its components.
– Full Access—Specifies the following settings for each profile.
• Object permissions—“Read,” “Create,” “Edit,” “Delete,” “View All,” and “Modify All” enabled
• Field-level security—set to visible and editable for all fields
• Apex classes—enabled
• Visualforce pages—enabled
• App settings—enabled
• Tab settings—determined by the package creator
• Page layout settings—determined by the package creator
• Record Type settings—determined by the package creator
– No Access—Specifies the same settings as Full Access, except all object permissions are disabled.
You might see other options if the publisher has included settings for custom profiles. You can incorporate the settings of
the publisher’s custom profiles into your profiles without affecting your settings. Choose the name of the profile settings in
the drop-down list next to the profile that you need to apply them to. The current settings in that profile remain intact.
Alternatively, click Set All next to an access level to give this setting to all user profiles.
2. Click Install. You’ll see a message that describes the progress and a confirmation message after the installation is complete.
• During installation, Salesforce checks and verifies dependencies. An installer’s organization must meet all dependency requirements
listed on the Show Dependencies page or else the installation will fail. For example, the installer's organization must have divisions
enabled to install a package that references divisions.
• When you install a component that contains Apex, all unit tests for your organization are run, including the unit tests contained
in the new package. If a unit test relies on a component that is initially installed as inactive, such as a workflow rule, this unit test
might fail. You can select to install regardless of unit test failures.
• If your installation fails, see Why did my installation or upgrade fail? on page 897.
881
Set Up and Maintain Your Salesforce Organization Configuring Installed Packages
Post-Installation Steps
If the package includes post-installation instructions, they’re displayed after the installation is completed. Review and follow the instructions
provided. In addition, before you deploy the package to your users, make any necessary changes for your implementation. Depending
on the contents of the package, you might need to perform some of the following customization steps.
• If the package includes permission sets, assign the included permission sets to your users who need them. In managed packages,
you can't make changes to permission sets that are included in the package, but subsequent upgrades happen automatically. If you
clone a permission set that comes with a managed package or create your own, you can make changes to the permission set, but
subsequent upgrades won't affect it.
• If you’re re-installing a package and need to re-import the package data by using the export file that you received after uninstalling,
see Importing Package Data on page 890.
• If you installed a managed package, click Manage Licenses to assign licenses to users.
Note: You can’t assign licenses in Lightning Experience. If you need to assign a license, switch to Salesforce Classic.
• Configure components in the package as required. For more information, see Configuring Installed Packages on page 882.
SEE ALSO:
Upgrading Packages
Installation Guide: Installing Apps from Force.com AppExchange
Installed Packages
882
Set Up and Maintain Your Salesforce Organization Configuring Installed Packages
Folders
When apps contain documents, email templates, reports, or dashboards, Salesforce creates new folders in the installer’s organization
using the publisher’s folder names. Make sure these folder names are unique in your organization.
All users can see new folders. Configure folder settings before you deploy if you want them to have limited visibility.
Home Page Layouts
Custom home page layouts included in the package are not assigned to any users. To make them available to your users, assign
them to the appropriate profiles.
List Views
List views included in apps are visible to all users. Change the visibility of these list views if necessary.
Page Layouts
All users are assigned the default page layout for any custom objects included in the package. Administrators of Enterprise, Unlimited,
Performance, and Developer Edition organizations can configure the page layout for the appropriate users.
If a custom object in the package includes any relationships to standard objects, add them as related lists on the appropriate page
layouts.
If the package includes any custom links, add them to the appropriate page layouts.
If your organization has advanced currency management enabled, currency roll-up summary fields are invalid if they are on accounts
and summarizing opportunity values, or on opportunities and summarizing custom object values. Remove these fields from any
page layouts.
Permission Sets
Assign permission sets included in a package to the users who need access to the package.
You can't edit permission sets that are included in a managed package. If you clone a permission set that comes with the package
or create your own, you can make changes to the permission set, but subsequent upgrades won't affect it.
Translation Workbench
Translated values for installed package components are also installed for any language that the developer has included. Any package
components the developer has customized within setup, such as a custom field or record type, display in the installer’s setup pages
in the developer’s language (the language used when defining these components). Users in the installer’s organization automatically
see translated values if their personal language is included in the package. Additionally, installers can activate additional languages
as long as the Translation Workbench is enabled.
Workflow Alerts
If the recipient of a workflow alert is a user, Salesforce replaces that user with the user installing the package. You can change the
recipients of any installed workflow alerts.
Workflow Field Updates
If a field update is designed to change a record owner field to a specific user, Salesforce replaces that user with the user installing
the package. You can change the field value of any installed field updates.
Workflow Outbound Messages
Salesforce replaces the user in the User to send as field of an outbound message with the user installing the package. You
can change this value after installation.
Workflow Rules
Workflow rules are installed without any time-based triggers that the developer might have created. Set up time-based triggers as
necessary.
Workflow Tasks
Salesforce replaces the user in the Assigned To field with the user installing the package. You can change this value after
installation.
883
Set Up and Maintain Your Salesforce Organization Uninstalling a Package
Make any more customizations that are necessary for your implementation.
Note: Anything you add to a custom app after installation will be removed with the custom app if you ever uninstall it.
SEE ALSO:
Installed Packages
Tradeoffs and Limitations of Shield Platform Encryption
Uninstalling a Package
You can remove any installed package, including all of its components and all data in the package.
EDITIONS
Additionally, any custom fields, links, or anything else you added to the custom app after installation
are also removed. Available in: both Salesforce
To remove a package: Classic and Lightning
Experience
1. From Setup, enter Installed in the Quick Find box, then select Installed Packages.
2. Click Uninstall next to the package that you want to remove. Available in: Group,
Professional, Enterprise,
3. Select Yes, I want to uninstall... and click Uninstall. Performance, Unlimited,
4. After an uninstall, Salesforce automatically creates an export file containing the package data, and Developer Editions
as well as any associated notes and attachments. When the uninstall is complete, Salesforce
sends an email containing a link to the export file to the user performing the uninstall. The USER PERMISSIONS
export file and related notes and attachments are listed below the list of installed packages.
We recommend storing the file elsewhere because it’s only available for a limited period of To uninstall packages:
time after the uninstall completes. • “Download
AppExchange
Tip: If you reinstall the package later and want to reimport the package data, see Packages”
Importing Package Data on page 890.
884
Set Up and Maintain Your Salesforce Organization Manage Installed Packages
• You can’t uninstall a package if a field added by the package is being updated by a background job, such as an update to a roll-up
summary field. Wait until the background job finishes, and try again.
• Uninstall export files contain custom app data for your package, excluding some components, such as documents and formula field
values.
Note: Salesforce only lists license information for managed packages. For unmanaged Available in: both Salesforce
packages, the license-related fields, such as Allowed Licenses, Used Licenses, and Expiration Classic and Lightning
Experience
Date, displays the value “N/A.”
Using this list, you can: Available in: Group,
Professional, Enterprise,
• Click Uninstall to remove the package and all its components from your Salesforce organization. Performance, Unlimited,
• Click Manage Licenses to assign available licenses to users in your organization. You can’t and Developer Editions
assign licenses in Lightning Experience. If you need to assign a license, switch to Salesforce
Classic.
USER PERMISSIONS
Note: If you purchased a site license or if the managed package is not licensed, Salesforce
assigns licenses to all your users and you can’t manage licenses. Your users can use the To uninstall packages:
package as long as they have the appropriate permissions. • “Download
AppExchange
• Click Configure if the publisher has included a link to an external website with information Packages”
about configuring the package. To assign licenses for a
• Click the package name to view details about this package. managed package:
• “Manage Package
• View the publisher of the package. Licenses”
• View the status of the licenses for this package. Available values include: To download or delete the
– Trial export file for an uninstalled
package:
– Active
• “Download
– Suspended AppExchange
– Expired Packages”
– Free
This field is only displayed if the package is managed and licensed.
• Track the number of licenses available (Allowed Licenses) and the number of licenses that are assigned to users (Used
Licenses).
• View the date your licenses for this package are scheduled to expire.
• View the date your licenses were installed.
• View the number of custom apps, tabs, and objects this package contains.
• See whether the custom apps, tabs, and objects count toward your organization’s limits. If they do, the box in the Limits column
is checked.
Note: If you have not installed a licensed managed package, the Publisher, Status, Allowed Licenses, Used
Licenses, and Expiration Date fields do not appear.
885
Set Up and Maintain Your Salesforce Organization Manage Installed Packages
After an uninstall, Salesforce automatically creates an export file containing the package data, as well as any associated notes and
attachments. When the uninstall is complete, Salesforce sends an email containing a link to the export file to the user performing the
uninstall. The export file and related notes and attachments are listed below the list of installed packages. We recommend storing the
file elsewhere because it’s only available for a limited period of time after the uninstall completes. Using this list, you can:
• Click Download to open or store the export file.
• Click Del to delete the export file.
Expired Managed Packages and Sharing Rules
If a criteria-based sharing rule references a field from a licensed managed package whose license has expired, (expired) is
appended to the label of the field. The field label is displayed in the field drop-down list on the rule’s definition page in Setup.
Criteria-based sharing rules that reference expired fields aren't recalculated, and new records aren't shared based on those rules.
However, the sharing of existing records prior to the package's expiration is preserved.
SEE ALSO:
View Installed Package Details
Importing Package Data
Note: If you purchased a site license or if the managed package is not licensed, Salesforce To uninstall packages:
assigns licenses to all your users and you can’t manage licenses. Your users can use the • “Download
package as long as they have the appropriate permissions. AppExchange
Packages”
• Optionally, click View Dependencies and review a list of components that rely on other To manage user licenses for
components, permissions, or preferences within the package. an AppExchange package:
• “Manage Package
Licenses”
Viewing Installed Packages
The installed package page lists the following package attributes (in alphabetical order):
Attribute Description
Action Can be one of two options:
• Uninstall
• Manage Licenses
886
Set Up and Maintain Your Salesforce Organization Manage Installed Packages
Attribute Description
Allowed Licenses The total number of licenses you purchased for this package. The
value is “Unlimited” if you have a site license for this package. This
field is only displayed if the package is managed and licensed.
Connected Apps A list of the connected apps that can have access to a user's
Salesforce data after the user and the application have been
verified.
Expiration Date The date that this license expires, based on your terms and
conditions. The expiration date is “Does Not Expire” if the package
never expires.This field is only displayed if the package is managed
and licensed.
Limits If checked, the package’s custom apps, tabs, and objects count
toward your organization’s limits.
Used Licenses The total number of licenses that are already assigned to users.
This field is only displayed if the package is managed and licensed.
Version Name The version name for this package version. The version name is
the marketing name for a specific release of a package. It is more
descriptive than the Version Number.
887
Set Up and Maintain Your Salesforce Organization Manage Installed Packages
Attribute Description
Apps The number of custom apps in the package.
First Installed Version Number The first installed version of the package in your organization. This
field is only displayed for managed packages. You can reference
this version and any subsequent package versions that you have
installed. If you ever report an issue with a managed package,
include the version number in this field when communicating with
the publisher.
Installed By The name of the user that installed this package in your
organization.
Limits If checked, the package’s custom apps, tabs, and objects count
toward your organization’s limits.
Modified By The name of the last user to modify this package, including the
date and time.
Post Install Instructions A link to information on configuring the package after it’s installed.
As a best practice, the link points to an external URL, so you can
update the information independently of the package.
Release Notes A link to release notes for the package. As a best practice, link to
an external URL, so you can make the information available before
the release and update it independently of the package.
Version Name The version name for this package version. The version name is
the marketing name for a specific release of a package. It is more
descriptive than the Version Number.
Version Number The version number for the latest installed package version. The
format is majorNumber.minorNumber.patchNumber,
888
Set Up and Maintain Your Salesforce Organization Manage Installed Packages
Attribute Description
such as 2.1.3. The version number represents a release of a package.
The Version Name is a more descriptive name for the release.
The patchNumber is generated only when you create a patch.
If there is no patchNumber, it is assumed to be zero (0).
Unused Components
You can see a list of components deleted by the developer in the current version of the package. If this field is part of a managed package,
it’s no longer in use and is safe to delete unless you’ve used it in custom integrations. Before deleting a custom field, you can keep a
record of the data from Setup by entering Data Export in the Quick Find box, then selecting Data Export. After you've
deleted an unused component, it appears in this list for 15 days. During that time, you can either undelete it to restore the field and all
data stored in it, or delete the field permanently. When you undelete a field, some properties on the field are lost or changed. After 15
days, the field and its data are permanently deleted.
The following component information is displayed (in alphabetical order):
Attribute Description
Action Can be one of two options:
• Undelete
• Delete
Parent Object Displays the name of the parent object a component is associated
with. For example, a custom object is the parent of a custom field.
Package Components
You can see a list of the components included in the installed package. The following component information is displayed (in alphabetical
order):
Attribute Description
Action Can be one of two options:
• Undelete
• Delete
Parent Object Displays the name of the parent object a component is associated
with. For example, a custom object is the parent of a custom field.
889
Set Up and Maintain Your Salesforce Organization Manage Installed Packages
Attribute Description
Type Displays the type of the component.
SEE ALSO:
Importing Package Data
Manage Installed Packages
• For Group Edition, use the appropriate import wizard. Available in: Group,
• For Professional Edition, use the appropriate import wizard or any compatible Salesforce ISV Professional, Enterprise,
Partner integration tool. Performance, Unlimited,
and Developer Editions
• For Enterprise, Developer, Performance, and Unlimited Edition, use the Data Loader.
USER PERMISSIONS
Notes on Importing AppExchange Package Data
• Salesforce converts date fields into date/time fields upon export. Convert the appropriate fields To import Force.com
AppExchange package
into date fields before you import.
data:
• Salesforce exports all date/time fields in Greenwich Mean Time (GMT). Before importing these • The permissions
fields, convert them to the appropriate time zone. required to use the
• The value of auto number fields may be different when you import. To retain the old values, import tool you choose,
such as the import
create a new custom auto number field on a custom object before importing the data.
wizard or Data Loader.
• Salesforce updates system fields such as Created Date and Last Modified Date
when you import. To retain the old values for these fields, contact Salesforce support.
• Relationships are not included in the export file. Recreate any master-detail or lookup relationships after importing your data.
• Record type IDs are exported but not the record type name.
• Field history is not exported.
• Recreate any customizations that you made to the package after installation.
SEE ALSO:
View Installed Package Details
Manage Installed Packages
890
Set Up and Maintain Your Salesforce Organization Managing Licenses for Installed Packages
SEE ALSO:
Assign Licenses for Managed Packages
Assigning Licenses for Installed Packages
Removing Licenses for Installed Packages
Responding to License Manager Requests
891
Set Up and Maintain Your Salesforce Organization Managing Licenses for Installed Packages
Note: If you purchased a site license or if the managed package is not licensed, Salesforce USER PERMISSIONS
assigns licenses to all your users and you can’t manage licenses. Your users can use the package
as long as they have the appropriate permissions. To edit users:
• “Manage Internal Users”
To assign a user to a license for one of the available managed packages:
To manage licenses for an
1. From Setup, enter Users in the Quick Find box, then select Users. AppExchange package:
2. Click Assign Licenses from the Managed Packages list. • “Manage Package
Licenses”
3. Select the package you want to assign to the user. All available managed packages are listed
in the Unassigned Packages list. After selecting a package, Salesforce automatically moves it to
the Selected Packages list.
The Unassigned Packages list displays all packages that this user could access if assigned a license. Packages don’t appear on this
list if they are unmanaged, uninstalled, in use, or not available.
• Click a letter to view the packages that begin with that letter or click All to display all available managed packages.
• Click select shown to select all packages displayed in the Unassigned Packages list on the current page, adding them to the
Selected Packages list below.
• Click deselect shown or deselect all to move packages from the Selected Packages area to the Unassigned Packages area.
4. Click Add.
To revoke a license from this user, click the Remove link next to the appropriate package name.
SEE ALSO:
Managing Licenses for Installed Packages
892
Set Up and Maintain Your Salesforce Organization Managing Licenses for Installed Packages
1. From Setup, enter Installed Packages in the Quick Find box, then select Installed Available in: Group,
Packages to find the installed package that has available licenses. Professional, Enterprise,
Performance, Unlimited,
2. Click the Manage Licenses link next to the package name. and Developer Editions
3. Click Add Users.
4. Choose a view from the drop-down list, or click Create New View to build a new custom view. USER PERMISSIONS
5. Click a letter to filter the users with a last name that corresponds with that letter or click All to
To manage licenses for an
display all users who match the criteria of the current view. AppExchange app:
6. Select users. • “Manage Package
Licenses”
• To select individual users, use the checkboxes. Selected users are listed in the Selected list.
When the list includes all users to which you want to assign licenses, click Add.
• To select all users for the current view, click Add All Users then click OK.
Note: You can also add a single user from the user's detail page.
SEE ALSO:
Managing Licenses for Installed Packages
You can also remove licenses for an AppExchange package from a single user using the following options:
1. From Setup, enter Users in the Quick Find box, then select Users and click Remove next to the package in the managed
packages list.
893
Set Up and Maintain Your Salesforce Organization Managing Licenses for Installed Packages
2. From Setup, enter Installed Packages in the Quick Find box, then select Installed Packages. Then, click Manage
Licenses next to the package name, and click Remove next to the user.
SEE ALSO:
Managing Licenses for Installed Packages
3. Enter the username and password for the Salesforce organization you want to use to manage To respond to registration
licenses for this package. A license manager can be any Salesforce organization that has installed requests:
the free License Management Application (LMA) from Force.com AppExchange. • “Customize Application”
4. Click Confirm.
SEE ALSO:
Managing Licenses for Installed Packages
894
Set Up and Maintain Your Salesforce Organization Upgrading Packages
Upgrading Packages
Salesforce supports upgrades for managed packages only. Publishers can publish an upgrade for
EDITIONS
a managed package and notify installers that the new version is available. Installers of a managed
package can then install the upgrade as follows: Available in: Salesforce
1. Before you install an upgrade, determine if the app you installed was from a managed package. Classic
Look for the Managed - Installed icon on the detail pages for each component and on the
Available in: Group,
list of packages installed. Professional, Enterprise,
If the app you installed is not from a managed package, upgrades for it are not available. Performance, Unlimited,
and Developer Editions
2. Then, install the upgrade in the same way you would install any other package from the
AppExchange. If the publisher provided a link to the new version, follow the link to the package
posting and install it in your organization. The first page of the install wizard lists the current USER PERMISSIONS
version you have installed, the version you’re about to install, and a list of additional components
To upload packages:
included in the new version. • “Upload AppExchange
Packages”
Notes on Upgrading Managed Packages To install and uninstall
packages:
Consider the following when upgrading a managed package: • “Download
• All existing custom objects that were previously deployed will still be deployed. Salesforce AppExchange
prompts you to deploy any new custom objects or previously undeployed custom objects. Packages”
• Profile settings for components in a package are editable by the customer but not upgradeable
by the package developer. If the developer makes changes to any profile settings after releasing the package, those changes won’t
be included in an upgrade. Customers will need to manually update the profile settings after upgrading the package. In contrast,
permission sets in a package are upgradeable by the developer, so any changes the developer makes will be reflected in the customer
organization after upgrading the package.
895
Set Up and Maintain Your Salesforce Organization Installing Packages FAQ
• If the developer chooses to add universally required custom fields, the fields will have default values.
• Translation Workbench values for components that are “editable but not upgradeable” are excluded from upgrades.
• If an installed package has Restricted API access, upgrades will be successful only if the upgraded version does not contain
any s-controls. If s-controls are present in the upgraded version, you must change the currently installed package to Unrestricted
API access.
• When you upgrade a package, changes to the API access are ignored even if the developer specified them. This ensures that the
administrator installing the upgrade has full control. Installers should carefully examine the changes in package access in each
upgrade during installation and note all acceptable changes. Then, because those changes are ignored, the administrator should
manually apply any acceptable changes after installing an upgrade.
SEE ALSO:
Force.com Quick Reference for Developing Packages
SEE ALSO:
Uninstalling a Package
Importing Package Data
896
Set Up and Maintain Your Salesforce Organization Installing Packages FAQ
897
Set Up and Maintain Your Salesforce Organization Learn More About Setting Up Salesforce
SEE ALSO:
Install a Package
Importing Package Data
When I install a package that’s listed on the AppExchange, do custom objects, tabs,
and apps in that package count against the limits of my Salesforce Edition?
No. If you install a package from the AppExchange, its custom objects, tabs, and apps don’t count against the limits of your Salesforce
edition. However, if the package uses other types of custom components, such as custom fields, they count against the relevant limits
of your Salesforce edition.
Note: These rules apply only to managed packages that are listed on the AppExchange. If you install an unmanaged package or
a managed package that’s not publicly listed on the AppExchange, its custom objects, tabs, and apps count against the limits of
your Salesforce edition.
Data Import
For End Users For Admins
Guides and Tip Sheets
Videos
898
Set Up and Maintain Your Salesforce Organization Learn More About Setting Up Salesforce
Data Management
For End Users For Admins
Guides and Tip Sheets
Videos
899
Set Up and Maintain Your Salesforce Organization Learn More About Setting Up Salesforce
Data.com
For End Users For Admins
Guides and Tip Sheets
Videos
Finding Data.com Accounts and Contacts and Adding Them to Salesforce (Salesforce
Classic)
Learn how to find Data.com accounts and contacts and add them to Salesforce.
Managing Users
For End Users For Admins
Videos
900
Set Up and Maintain Your Salesforce Organization Learn More About Setting Up Salesforce
Salesforce Identity
For End Users For Admins
Videos
Single Sign-On and Access Management for Mobile Applications (Salesforce Classic)
901
Set Up and Maintain Your Salesforce Organization Learn More About Setting Up Salesforce
Security
For End Users For Admins
Guides and Tip Sheets
Videos
902
Set Up and Maintain Your Salesforce Organization Learn More About Setting Up Salesforce
Who Sees What: Record Access via the Role Hierarchy (Salesforce Classic)
Learn how you can open up access to records using the role hierarchy.
Who Sees What: Record Access via Sharing Rules (Salesforce Classic)
Learn how you can grant access to records using sharing rules.
903
Set Up and Maintain Your Salesforce Organization Learn More About Setting Up Salesforce
904
INDEX
905
Index
bring your own key 526, 528, 534–535 Company information (continued)
bring your own keys 526–528, 534–535 language setting 5
Bulk API Connect for Office
uploading attachments 406 checking for updates 168
Business account Connect Offline
fields searched 88, 118–119 checking for updates 168
BYOK 526–528, 534–535 Consulting Partner
what is a consulting partner 3
C Contact
Calendar fields searched 93
enabling click-and-create event creation 10 Contacts
enabling drag-and-drop editing 10 creating export file 374
enabling Home tab hover links 10 Content
Calendar event setup for Salesforce Mobile Classic 860
fields searched 87 Contract
Campaign fields searched 95
fields searched 89 Contract line item
Case fields searched 96
fields searched 90 Cookies 568, 578
certificate 526 Corporate currency
certificates 526 See Currency 60–61
Certificates create new user 833
api client 746 create tenant secret 527
creating 743–744 creating 615, 617
mutual authentication 745–746 Creating
uploading 745 groups 306
Chatter mobile configurations 842
license types 197 Salesforce Mobile Classic custom views 857
Chatter feed Criteria-based sharing rules 311
fields searched 91 Critical updates
Chatter group activating 160
fields searched 92 overview 160
Collapsible sections crowding 124
customizing 10 Currency
Command line active 18
configuration file (Data Loader) 430 conversion rates 62
encrypted password (Data Loader) 429 corporate currency 60–61
encryption key (Data Loader) 428 currency locale 60
field mapping file (Data Loader) 430 importing multiple currencies 373
importing data (Data Loader) 432 inactive 18
introduction (Data Loader) 428 multicurrency 18
prerequisites (Data Loader) 428 personal currency 60–61
Communities supported 63
authentication 603 Currency locale
security 603 See Currency 60
community request parameter 699 Custom fiscal year
Company information about 68
editing 5 customizing 71
fields 6 customizing labels 72
906
Index
907
Index
908
Index
909
Index
910
Index
911
Index
Leads Login
creating export file 374 activations 567–568
field mapping for import 387 enabling identity provider 707
mass transferring 451 failures 753
Licenses history 753
Chatter 197 hours, restricting 244, 251, 583–584
Chatter External 197 identity provider 701
Chatter Free 197 identity verification 567
Chatter Only 197 IP address ranges, restricting 245, 252, 581–582
Chatter Plus 197 restricting 570–571, 578
Communities 199 restricting IP addresses organization-wide 564, 584
Database.com 207 service provider 701
feature licenses 194, 219–221 session security 558, 589
for managed packages 892 Login Flow
overview 191 connect 577, 599
permission set licenses 215, 217–219 create 575, 597
Platform 194 overview 574
portal 208, 210, 212–213 login forensics
Salesforce users 194 considerations 760
Site.com 209 Login Forensics
Sites 209 enable 760
user licenses 192, 194 login history 755
users 893, 895 login verification 595–597, 605, 607–608, 610
Lightning Lookups
home setup 18 enabling auto-completion 121–122
Lightning Experience enabling enhanced lookups 120, 122
Home 16–17 fields searched 92, 112
Lightning Experience Home recent items 122
assign page 17 specifying filter fields 121
set default page 17
Lightning Login 595–597, 755 M
Limits Managed packages
Duplicate Management 460 assigning licenses for 892
Salesforce Mobile Classic app 878 managing 620
LinkedIn Manual sharing
authentication provider 684 sharing sets, differences 344
exporting data 375 Marketing User
Links assigning 173–174
Visualforce Mobile 863 mask 541
Locale masking 541
settings, about 18 Mass delete 453–454
supported 25 Mass mail
log in 831 Salesforce Mobile Classic deployment 864
log in to multiple organizations 832 Mass updating
Logging in addresses 455
as another user 230 Master encryption keys 742, 747
SAML start page 642 Match Keys
Logging out custom matching rules 488
SAML 642 standard matching rules 491
912
Index
913
Index
914
Index
915
Index
916
Index
917
Index
918
Index
919
Index
920
Index
921