Page Layouts and Record Types
The organization of fields, custom links, and related lists on an object detail or edit page.
Used to organize UI pages for your users:
– Which fields, related lists, and Custom links a user’s sees.
– Field properties – visible, read-only and required.
– Page section customizations.
NOTE: Establish unique layouts for different business scenarios.
Creating Page Layout:
Following is example to create page layout for case object.
Set Up->Customize->Case->Page Layout->Click on New button
Fill Mandatory details
Drag and drop required to the layout and save page layout.
Record types allow you to associate different business processes and subset of pick list value to different users based on their user profile.
They are used to drive which page layouts users see when viewing records, based on their user profile.
Benefits of record types:
Tailors user interaction experience to specific business needs.
Allows for easier administration as there are fewer fields to maintain.
Creating Record Types:
Example to create record types: In this example I am creating record type for Case object.
Click on New button and fill all mandatory fields and select profiles.
Create a support process before creating record type
Click on NEXT button
Select page layout and click SAVE.
Page Layout Assignment
Go to Record Type or Page Layout and click on Page layout Assignment
assign page layout to record types based on profiles.
Interview Questions on Page Layouts and Record Types in Salesforce
What is Page Layout and Record Types?
– Page section customizations
– Which fields, related lists, and Custom Links a users sees
– Field properties – visible, read-only and required
– Record Types help you implement your custom business processes
Page Layout:- Field can be made mandatory from the page layout when it needs to be made mandatory for a set of users
Field Level Security:- Field can be made mandatory from the FLS when it needs to be made mandatory for all the users in the Organization and even from the API’sValidation Rule:- Field can be made mandatory from the Validation Rule when it needs to be made mandatory for user who is using the same Page layout used by other usersSalesforce.com recommends using the Page Layout option for making the field mandatory.
Check the required check box.
When are the Record types used?
Record Types are used in the following two cases
To assign the different Page layouts to different users based on their profiles.
To enable different sets of Standard/Custom Picklist values for two different users using the same page layout.