Compact Layout in Salesforce

A compact layout is used in Salesforce to show a record’s key fields at a glance, such as email, Date of birth, marital status, etc. It can also be used to manage which fields appear in the header.

In the Salesforce tutorial, I will explain the company layout, the use of compact layouts, and how to create a compact layout in Salesforce. 

What is a compact layout in Salesforce?

In Salesforce, the compact layout is a technique to arrange the fields and information on the record detail page. It permits the administrator to select the fields of the subset to display relatively all the fields available on the records.

This can help us boost the page’s utility, especially when the user is working in areas with limited screen space, or we can say that on a smaller screen, it boosts the utility.

It can be allotted to different profiles and is highly personalizable. The record detail page can also be customized, which helps meet the needs of different users.

Read: How to use schema builder in salesforce

What is the use of a compact layout in Salesforce?

Here we will learn what is the use of a compact layout in Salesforce. The compact layout is used for appearing the field in the header. We can allocate up to ten fields, which include the name field and the email address, which is relatively displaying all the fields available on the records.

See also  How to Add Product to Price Book in Salesforce

Anyway, we suggest using a compact layout for putting the information fields into the record header, which can help the mobile user quickly access the information they want.

Read: Create community in Salesforce Lightning

Read: How to Export a Report in Salesforce

Create Custom Opportunity Compact Layout Salesforce

Suppose there is a company that sells salesforce solutions, and I am the sales representative. I must interact with clients to discuss their needs and give proof of software products. The sales process captures important details about every opportunity.

Here are the following steps:

1. Go to Gear icon –> Click on the Setup option –> Select the Object Manager tab.

How to create a compact layout in salesforce

2. Enter the Opportunity in the Search box –> Select Opportunity object.

Create Custom Opportunity Compact Layout in Salesforce

3. Click on the compact layout of the opportunity object.

Create custom opportunity compact layout in Salesforce

4. Click on the New button to create the new compact layout.

Salesforce Compact Layout

5. For the compact layout information, first, fill in the label as Sales Representative compact Layout and then the name. After that, select the compact layout fields that show the record’s key fields at a glance, then click on the save button.

Compact layout in Salesforce

6. After clicking on the save option, the Sales Representative Compact Layout is created.

Custom Compact layout in Salesforce

7. Click on the compact layout assignment and select the primary compact layout for assigning. Here, we are selecting the Sales Representative Compact layout and then clicking on the save option.

Custom Compact layout Salesforce

You may also like to read the following Salesforce tutorials.

See also  How to Generate Web-to-Case HTML in Salesforce

Conclusion

In this tutorial, we have learned about a compact layout in salesforce. We have also discussed the use of a compact layout in salesforce. In addition, we have covered how to create a compact layout for salesforce lightning as well as salesforce classic.

  • What is a compact layout in Salesforce?
  • What is the use of a compact layout in Salesforce?
  • How to create a compact layout in Salesforce
  • How to create a compact layout in Salesforce lightning
  • How to create a compact layout in Salesforce Classic