Resizing the Details and Activity Sections in Salesforce Lightning
In an effort to increase Lightning adoption, I am meeting regularly with the sales reps to get their feedback on Lightning. Last week, they asked me to figure out how to bring the Details tab to the foreground when a Contact record is opened.
This week they wanted me to resize the Details and Activity sections. By default, in a Contact, the Details section takes up 2/3 of the screen and Activities are confined to 1/3 of the screen. They wanted to flip the ratio. They feel that there was too much wasted or white space in the Details section and that the information in the Activity section was too crowded. For example, the Subject Lines of emails were taking up multiple lines of space pushing other emails down and off the visible screen. They wanted more activities to be visible ‘above the fold’, i.e., visible when the Contact opened.
Luckily, Lightning includes tools for formatting Record Page Layouts
However, in this case, the reformatting process is pretty involved.
- Open a Contact and click the SETUP GEAR ICON
- Click PLATFORM TOOLS – – OBJECTS AND FIELDS
- Click OBJECT MANAGER
- Select and click on CONTACT
- Click LIGHTNING RECORD PAGES
- Click the NEW button on the upper right
- LIGHTNING APP BUILDER appears
- Choose RECORD PAGE
- Click NEXT
- Type in LABEL name [for example, Optimized Contact Layout]
- Pick the CONTACT object from the dropdown list
- Click NEXT
- From the CHOOSE PAGE LAYOUT list, choose HEADER AND LEFT SIDEBAR (though later I will probably regret the choice and should have selected Header, Subheader, Left Sidebar)
- Click FINISH
- Drag and drop the HIGHLIGHTS panel from left setup section to the top component
- Drag and drop TABS into the left page section (1/3 of page)
- Change the TAB default to DETAILS in the right setup section by using the drop down
- Drag DETAILS up in the right setup section to make it the forefront default in the TAB section
- Drag and drop RECORD DETAILS into the DETAILS tab>> click on the RELATED tab to bring it to the forefront and the drag and drop on the RELATED LISTS into the RELATED section
- Drag and drop TABS into the right section of the page layout (this part is really confusing) you will see DETAILS and RELATED again (don’t get upset) go to right setup section and click ADD TAB which will add a new DETAILS tab (don’t panic)
- Click on the new DETAILS tab label in the right setup section and it will open a label dropdown and pick the ACTIVITY
- Click DONE and the Details label will have changed to Activity
- Repeated the Labeling steps if you want to add something else like CHATTER
- Then delete the original RELATED and DETAILS tab in the right section of the screen so that you only see ACTIVITY and CHATTER
- Drag and drop ACTIVITIES into the right ACTIVITY tab, you will see it resolve to EMAIL (perhaps TASK if you have already added that button to the ACTIVITIES compact layout – a whole other topic) and ACTIVITY TIMELINE with NEXT STEPS and PAST ACTIVITY
- Drag and drop the EMAIL MESSAGES custom object into the ACTIVITY tab and put it below PAST ACTIVITY if you are a MATCH MY EMAIL user
- Click SAVE in the upper righthand corner of the right setup section
- In the popup menu click ACTIVATE
- In the ACTIVATION page click on ASSIGN AS ORG DEFAULT
- Pick an app(s) from the APP picklist – Lightning and Sales
- Click BACK (that is right BACK once you have highlighted the app(s))
- Click SAVE in the upper righthand corner again.
You are done.
The video below walks you through the steps.