Whenever we need to display the different fields on the record detail page or need to display the different picklist values for the same picklist fields to different processes then we always go with Record Types in Salesforce.
Before we talk about what are record types in Salesforce, Let’s talk about what is the business use case where we will be needing the various record types.
Business Use Case: You are working as Salesforce Admin for Xcorp Ltd. Users who are part of the Sales department want to see the different set of fields on the record detail page & Users in the Marketing department wants to see different fields on the detail page for Lead Object.
Note: – Both department users want to see the different picklist values.
Whenever we need to display the different fields on the record detail page or need to display the different picklist values for the same picklist fields to different processes then we always go with Record Types in Salesforce.
Record Type is a special type of object which can be related to almost any standard or custom object.
When you create a record type for any object then a new field becomes available and the API name is RecordTypeId.
Your company is dealing with two types of accounts
And for USA customers the Sales users only want to see the below values for the picklist
And for International Customers, want to see the below values for the Industry picklist
As described in the problem statement, the end users want to see different picklist values so the solution would be record types.
Create two record types for accounts and the name are given below
Follow the below steps to create the record types
Repeat steps 4-7 and then create an International Customer Record Type.
Note: – Please make sure that the record types are active and available for the System Administrator Profile.


Now, we have set up the record types. The time is to configure the picklist values for Industry.
While you are on the account object page, Select Record Types from the left panel and select “USA Customers“.
It will open the record type detail page, where you will see the list of all picklist values.
Select Edit next to Industry picklist.
Make sure you have selected only the required values mentioned in the requirement.
Repeat the same steps for the International Customers Record Type.







So far we have seen how to control the picklist values using record types.
We can also control what fields users see on the record detail page with the help of Page Layouts.
We can create a dedicated page layout for each record type.
You have done a fantastic job and your business is very happy with you. Now they are only seeing the picklist values which are required for them.
Requirement:– Users are complaining that they are seeing unnecessary fields on the detail page and those fields are not needed.
Below are the fields required for the USA Customers
Here is the list of all fields that are required for international Customers
Solution: As a Salesforce Admin, you have identified that page layout is the best solution for this.
Create two-page layouts for USA & International Customers.
Follow the below steps to create the page layout.
Please repeat Step 5 to Step 11 for International Customers Page Layout



Perfect you have done an amazing job by creating the page layouts. Now, the time is to make sure that the correct page layout is assigned to the correct record type.
Follow the below steps to assign the page layout to record types



Congratulations!!!! You have done the setup of page layouts.
Create the account record with the different record types and notice the change.

