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 this tutorial, we will learn about the compact layout in Salesforce, its use, and how to create one. First, let’s understand the compact layout, and then we will understand how to create it.

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.

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.