Chapter 20
In This Chapter
Modifying standard business processes
Managing multiple business processes
Customizing page and search layouts
Managing record types
Using dependent picklists
Setting workflow processes
If you’re just beginning your implementation, Salesforce comes preconfigured with a number of common fields in simple layouts for each of the tabs. You could buy your licenses, log in, and without any customization, start using it to track your customers. So why is it that as the top cloud-based CRM provider, no two instances of Salesforce are likely to be identical?
The answer is a key ingredient to your success: The more Salesforce is customized to your business, the more likely your company will use it effectively and productively … as long as you lay a strong foundation (using this book will help)!
If you’re an administrator or a user with permission to customize Salesforce, you have a universe of tools to design Salesforce to fit the way you do business. And you don’t need to be a technical wizard to make these changes. With common sense, patience, and a little help from this book, you can customize Salesforce on your own in a way that will allow Salesforce to scale as your business matures.
We could write another book if we tried to address each feature. In this chapter, we show you how to perform all the core customization options, including creating fields, building in your standard processes, adding web links, and rearranging layouts. Then, for companies that have Enterprise or Performance Edition and possess complex needs, we show you how to develop custom page layouts, multiple business processes, and record types that link to custom profiles.
All your customization tools are conveniently accessible from the Customize menu located under the Build heading of Setup in Salesforce. Navigating the Customize menu is simple when you understand some basics. If you have administrative permissions, log in to Salesforce and do this now:
The Customize page of Setup appears, and the sidebar expands to display headings for the various objects that can be customized; see Figure 20-1. Under the Customize heading on the sidebar, you see a few select headings for other areas of Salesforce (such as Call Center and Self-Service), which can also be customized.
The sidebar expands with the different customization features available under each heading. These are all the things you can do when customizing a standard tab. Notice that although certain headings have more features, most of the headings have links to common customization features, such as Fields, Page Layouts, Search Layouts, Buttons and Links, and in certain editions, Record Types and Processes.
A Fields page appears based on the selected tab heading. This easy and consistent navigation will help you through the customization.
When diving into customization, keep these five basic concepts in mind:
Prior to customizing Salesforce, your CRM project team should conduct a series of business process reviews with functional representatives or stakeholders of the teams that will be using Salesforce. In those meetings, not only should you map out current and desired processes, but you should also ask sets of leading questions that will impact the design of fields, records, layouts, and more. Key questions should include
Use the answers to construct a list of standard and custom fields per record that you believe should be in Salesforce. That spreadsheet should include columns for field name, field type, field values, justification, and so on, and you should review it with your project team prior to customization.
When customizing, keep it simple at the beginning. Don’t add or keep a field unless you ultimately believe that you or someone else will use it. You can always build additional fields in the future, especially if you build momentum based on early user adoption success.
When it comes to customizing Salesforce fields, two words describe the experience: It’s easy. The hard part is confirming why you want it, who will be realistically filling out the information that you want to capture, and whether this will be easily reportable when hundreds or thousands of records have this data. The more relevant you make the record fields to your actual business, the better the user adoption batting average and the higher the likelihood of hitting a home run.
All editions of Salesforce allow you to add fields, but some versions allow you to add significantly more fields than others. For example, if you have Group Edition, you can add 100 custom fields per record; with Enterprise Edition, you can create up to 500 per record.
To add a field, click the Setup link in the upper-right corner of Salesforce and follow these steps:
The options under the selected heading appear.
The Fields page for the tab appears, displaying a list of standard fields at the top and a list of custom fields and relationships at the bottom.
Step 1 of the New Custom Field Wizard appears. Data types with descriptions of each of them appear in a list, as shown in Figure 20-3.
Step 2 of the wizard appears, asking you to enter details about the field you want to create. These two fields are required:
Step 3 of the wizard appears. The details page varies based on the field type you selected. For example, the settings for a Text Area field are different than for a Currency field.
If your company’s edition is not Enterprise or Performance Edition, click Save and you’re done. Optionally, click Save & New to immediately save this custom field and begin creating another one.
Step 4 of the wizard appears.
The Fields page for the selected record reappears.
On an ongoing basis, situations come up in which you might need to update the properties of a field. For example, management changes or adds statuses, nomenclature changes so that field labels need to change, and so on.
To view and update your fields, choose Setup⇒Build⇒Customize. Then click the Fields link under a tab heading under the Customize heading on the sidebar. The Fields page for the selected tab appears, displaying lists of standard and custom fields. From this page, you can do the following:
If data already exists in a field and you want to change its data type, you risk losing that data. Also, not all data types can be converted into a different data type. For more details, go to the Help & Training link in the upper-right corner of any Salesforce page and search for “changing custom field types” in the search bar.
The Replace feature is really helpful when you have existing records with old values that need to be switched to new values. Take the Lead Status field, for example: You could use the Replace feature to update leads formerly marked as Unresponsive and replace them all instantly with a new value called Nurture.
On certain standard records in Salesforce, you use a standard drop-down list to map your business processes.
You’ll probably want to put some careful thought into handling each type of record. To define your standard business processes, do the following:
The Fields page appears with Standard Fields and Custom Fields & Relationships related lists.
In each circumstance, a field page appears with a Picklist Values related list, listing all the values within the process.
See the preceding section for details on updating picklist fields.
After you get the hang of adding custom fields, explore some additional cool things you can do with them.
Custom formula fields are a custom field type that automatically calculate their values based on the content of other values or fields. For example, if you charge your customers a shipping and handling fee based on the total quantity of a product listed in an opportunity, create a custom formula field called S&H that multiplies your total quantity amount with a predefined value.
To create a custom formula field, first define the task at hand. What is it you want to calculate? Then follow up to Step 3 of the numbered list in the section “Adding fields,” earlier in this chapter, and choose to add a Formula field. Then continue with these steps:
Depending on your selection, Salesforce may ask you how many decimal places you want your returned value to display.
Salesforce displays two subtabs — Simple Formula and Advanced Formula — to help you with creating your formula, and adding your formula for Salesforce to process:
To use either, simply move your mouse over the tab that you want to use and click it. The body of that tab appears.
If you get an error message, go back and check your formula. Salesforce’s error messages will tell you if it can’t find the fields you’re referencing, if you used an incorrect parameter, and so on.
Because it derives its content automatically, the field will be a read-only field. You just have to confirm who can see it.
The Fields page for the record reappears.
Many sales, marketing, and support teams rely on websites and secure cloud-based applications to perform their jobs. For example, your company might use a research website for market intelligence. By building powerful custom links that connect to important websites, users can use Salesforce more efficiently without having to manually open another browser window.
The Salesforce Force.com platform allows you to create custom buttons to represent your links or to perform actions that would usually take several mouse clicks to complete, such as escalating a case.
To build a custom button or link, click the Setup link in the upper-right corner and then follow these steps:
The selected heading expands.
The Buttons, Links, and Actions page for the selected record appears.
The New Button or Link page appears in Edit mode. Complete the fields as explained, telling Salesforce whether you’re creating a button or a link, and what action should occur when you click it. If you’re creating a button, you can decide whether it goes on the detail page or within a list. You see links to examples, just to make sure.
The Custom Button or Link page reappears.
This book doesn’t go into any technical detail about Visualforce. Here’s what you should know about Visualforce: If your company has specific business processes not addressed by Salesforce, you can use Visualforce to build your own application in Salesforce. Visualforce combines HTML with browser-based styling similar to CSS, so you’ll need to recruit some techie geeks if this sounds foreign. Think, though, how much time your company could save if, for example, your reps could click a custom link on an opportunity page and immediately populate an order form in Salesforce. You could do that. For additional information on Visualforce, go to http://developer.force.com.
To display your custom buttons or links to users, you must add the new buttons or links to the appropriate page layout. See the section “Modifying a page layout,” later in this chapter.
Wouldn’t it be great if you could take the fields on a record and rearrange them like jigsaw puzzle pieces on a page until they fit just right? Sounds too good to be true, but with Salesforce, you can do just that and more.
Use page layouts to modify the position of fields, custom links, and related lists on Record detail pages and Edit pages. While you’re modifying a page layout, you can also edit field properties to determine which fields should be required or read-only.
And with Enterprise and Performance Editions, you can create multiple page layouts and assign them to profiles, record types, or a combination of both. By doing this, you can ensure that different users are viewing just the right information to do their jobs.
If you have permission to customize Salesforce, you can modify page layouts at any time. We typically recommend that you create some or the majority of your proposed custom fields first before rearranging them on the layout.
To edit a page layout, click the Setup link in the upper-right corner of any Salesforce page and follow these steps:
The selected heading expands with links to customization options.
The Page Layout page for the selected tab appears.
A Page Layout editor appears, with the editor at the top and a sample layout below it (see Figure 20-6).
For example, on an account page layout, you might want to build a section named Strategic Account Planning to organize fields for account planning. When you click OK, the window closes.
Select which user perspective you want to view. A window appears with sample data displayed in the layout as it’s currently modified. In the preview window that opens, review the layout and click Close.
The Page Layout page for your selected record reappears.
After you create custom page layouts, you can assign your layouts to profiles. By doing this, users will view detail pages based on their profile and associated page layout.
To assign layouts to profiles, click the Setup link in the upper-right corner of any Salesforce page and follow these steps:
The selected heading expands with a menu of options.
The Page Layouts page for the selected tab appears.
A Page Layout Assignment page appears with a list of current assignments.
The page reappears in Edit mode.
Ctrl-click or Shift-click to select multiple cells.
The Page Layout Assignment page reappears, displaying your changes.
If you’ve ever seen some search results and wished that they showed a few more column headers, you’re in for a treat. Search layouts allow you to determine which standard or custom fields appear as headers in multiple types of search features for your organization:
Additionally, you can choose to show or hide standard and custom buttons in a list view page.
To change a search layout, follow these steps:
The selected heading expands with a menu of options.
The Search Layouts Page for the selected tab appears.
The Edit Search Layout page for the chosen search feature appears.
The Search Layouts page for the selected tab reappears.
Configuring multiple business processes is particularly helpful if you have several groups of users who use a common tab (such as Leads) but whose processes are different. (And maybe the group leaders don’t want to compromise.) For example, if your company has two sales teams that follow different sales methodologies, you can use multiple business processes and keep everyone happy. Multiple business process features are available only in Enterprise and Performance Editions and pertain only to lead, opportunity, case, and solution records.
To set up multiple business processes, click the Setup link in the upper-right corner of any Salesforce page and follow these steps:
The selected tab headings expand.
The Fields page for the selected tab appears, displaying a list of standard fields at the top and a list of custom fields at the bottom.
For example, on the Opportunities Fields page, click the Edit link next to the Stage field.
A Picklist Edit page appears for the selected field.
An Add Picklist Values page appears.
The Picklist Edit page reappears.
The Picklist Edit page appears in Edit mode, where you can reorder the list by using the arrow buttons to change the order of the drop-down list. When you click Save, the Picklist Edit page reappears.
For example, under the Opportunities heading, click the Sales Processes link.
The Processes page for the selected record appears.
A Process Edit page appears.
A Process page appears, and you can select the values for your new business process.
If you select Master as the Existing Process, you can choose from the master list generated from the Status or Stage field of the record.
For example, if your company has a sales team that handles boat orders, you could create a simple sales process, as shown in Figure 20-7.
The Default Value drop-down list appears for lead, case, and solution processes but not for sales processes. The Processes page for your selected record reappears.
If you’re using Enterprise or Performance Edition, you can use record types to make subsets of drop-down lists and those custom business processes that you just read about, which are available to specific sets of users. For example, if you have two sales teams — say, one that sells into healthcare services and another that sells into retail verticals — both teams might share common picklist fields on an account record but with very different values. With record types, you can customize accounts so that the same Industry field displays retail sectors for one group and healthcare services verticals for the other. When you provide record types to your users, the big benefit is that you make common drop-down lists easier to fill out and more relevant.
You can build record types to support all the major records in Salesforce, including leads, accounts, opportunities, and so on. Before users can take advantage of the record type feature, though, you need to first create the record types and then assign them to profiles. The good news is that with the Salesforce Record Type Wizard, you can perform both actions in a series of guided steps.
To create a record type, click the Setup link in the upper-right corner of any Salesforce page and follow these steps:
The selected tab heading expands.
The Record Type page for the selected tab appears.
Step 1 of the New Record Type Wizard appears, as shown in Figure 20-8.
Most are obvious, but here are three important pointers:
If you choose not to clone, the record type automatically includes the master drop-down list values for both custom and standard fields. That’s okay; you can edit the drop-down lists later.
If you ever need to modify the assignment of record types to profiles, you can do this from the Record Type Settings section of a profile page. Simply scroll down the profile page until you see the Record Type Settings section, click the Edit link next to a record type, and follow the easy steps on the page that appears. (See Chapter 19 for details on updating profile settings.)
Step 2 of the wizard appears.
You can apply one layout to all profiles or assign different layouts to different profiles.
The new Record Type page appears with a section called Picklists Available for Editing, which list the drop-down lists on the record type.
A Record Type Edit page appears.
The Record Type page reappears.
If you find your picklist values building up and affecting the user’s experience, you should consider using dependent picklists to show values in one list based on what’s selected in another list. For example, you could create a custom picklist field called Reason for your opportunity record and offer two sets of reasons, depending on whether the opportunity was won or lost.
Creating these lists is a two-step process:
Think about which fields will dictate the drop-down list for what other fields. The field that determines another field’s values is the controlling field and can be a standard or custom picklist, or a check box. The field that’s dependent on the controlling field to determine its displayed values is the dependent field. We cover this step in the “Adding fields” section, earlier in this chapter.
That’s what we cover in this section.
To define field dependencies, follow these steps:
The Fields page appears.
The Field Dependencies page for your record appears.
The New Field Dependency page appears in Edit mode.
A field can be dependent to just one controlling field. However, that dependent field may also act as a controlling field to daisy-chain together several dependencies.
If your controlling field has several items in its drop-down list, you might have to click the Next link to see additional columns. You can also select multiple values at once by Shift-clicking to select a range of adjacent cells or Ctrl-clicking to select cells that aren’t adjacent.
The Field Dependencies page returns with your new dependent picklist listed.
How many times have you lost or delayed business because someone forgot to do something in your sales process? With the workflow feature in Salesforce, you can create a rule and associate it to e-mails, tasks, and alerts that can be assigned to different users. You can also update the value of a field on a record if a certain rule occurs. Enterprise and Performance Edition users can use workflow to automate certain standard processes to make sure that important balls don’t get dropped. For example, if your sales reps create opportunities that sometimes require special pricing paperwork, you can use a workflow rule to automatically send e-mail alerts and tasks to finance and sales managers, and you can set these alerts and tasks to go out a set number of hours later.
Before creating a workflow process, take a moment to understand some basic workflow concepts:
To create a workflow process, first make sure that you can fill in the blanks in this sentence: When X happens, I want A, B, and C to happen. Your X is your workflow rule, and the A, B, and C actions are the field updates, tasks, and e-mail alerts. Choose Setup⇒Build⇒Create⇒Workflow & Approvals to begin.
To create a workflow rule, follow these steps:
If this is your first time, the Understanding Workflow page appears.
The All Workflow Rules page appears.
Step 1 of the Workflow Rule Wizard appears for your new rule.
Step 2 of the Workflow Rule Wizard appears. To configure your rule, do the following steps:
The Specify Workflow Actions screen appears.
An action can happen immediately, or it can happen a specific number of hours or days before or after certain criteria are met. You can create new actions (see the following section for more information) or use existing ones associated with immediate or time-based workflow triggers.
To create a new workflow task, first go to the workflow rule that you want to associate with this task and then follow these steps:
The Workflow Rule page for the rule appears.
The Specify Workflow Actions step appears.
The Workflow Task page for this task appears. Note that the Rules Using This Workflow Task related list shows the associated workflow rule.
To create a new workflow e-mail alert, first go to the workflow rule that you want to associate with this task and then follow these steps:
The Workflow Rule page for the rule appears.
The Specify Workflow Actions step appears.
Note that the recipients may or may not be Salesforce users. And remember that the e-mail template must have already been created.
The Workflow Alert page for this alert appears.
At the Specify Workflow Actions page, you can also click the Add Workflow button to have a new field updated, or an outbound message sent when a certain event occurs.