Optimize your Lightning Page layout

What makes you concerned about Lightning Experience? Is it the Page Performance? No Worries, Optimizer Reports comes up with a lot of useful information so that you can tune and optimize your Lightning Page performance. Let’s go through the recommendations:-

Unnecessary fields clutter your objects and make your implementation difficult to maintain.

fields which were completed less than 10% of the time within the last three months, You can rationalize them.

RECOMMENDATION: Delete custom fields that your users don’t use or need. Use your sandbox to test changes before you deploy them to your users.

RESOURCE: Field Footprint

Excessive fields clutter your page layouts, make your implementation difficult to maintain, and increase page load time.

The number of fields should not exceed more than 150 on a page layout.

  • 0-50 – GREEN 
  • 51-150 – AMBER
  • > 150 – RED

RECOMMENDATION: Delete custom fields that your users don’t use or need. Use your sandbox to test changes before you deploy them to your users

RESOURCE: Field Footprint

Details Tab on Record Pages

The Details tab displays fields and sections from the page layout associated with the object. When you have a high number of fields on this tab, you can increase performance by moving the Details tab so that it’s not shown by default on a Lightning record page.

Capture1

RESOURCE: Customize Tabs on Lightning Experience Record Pages Using the Lightning App Builder

Replacing Related Lists with the Related List Quick Links Component

Scrolling through several related lists to find the right one is time-consuming. With the Related List Quick Links component, users can hover over links to see all the related list columns without opening the View All page. Users see all options at a glance and can find the right one faster. Users can also customize the quick link order in their personal settings.

RECOMMENDATION: Replace all Related Lists components with the Related List Quick Links component. If there’s a related list that should be easily accessible to users, you can add a Related List – Single component. If a page layout includes many related lists, consider moving some to a second tab.

2017-10-04_12-21-03

RESOURCES: 

News and Twitter

Having the News or Twitter component directly on a page can cause the page to load slowly. Your News and Twitter components should be placed behind a tab. This will make sure that they are loaded only when you click on a tab.

Salesforce co-CEO Marc Benioff’s Twitter feed is accessed from his Contact record in Salesforce.

RESOURCE: Customize Tabs on Lightning Experience Record Pages Using the Lightning App Builder

Lightning Components on Record Lightning Pages

Too many components on a page can cause it to load slowly. You should keep below in mind:- 

0-15 – GREEN
16-20 – AMBER
> 20 – RED

Move some Lightning components to the Tabs or Accordion Lightning component.

Image result for accordion and tab lightning component

They will implement LAZY LOADING concept on your page.

RESOURCES: 

Disable Debug Mode

Increase productivity by disabling debug mode for users who aren’t actively debugging JavaScript. Enabling debug mode makes it easier to debug JavaScript code from Lightning components. However, Salesforce is slower for users who have debug mode enabled, so enable only for users who need it.

RECOMMENDATION: Determine which users are actively debugging JavaScript. Disable debug mode for those who aren’t debugging.

RESOURCE: Enable Debug Mode for Lightning Components

 

 

 

Leave a Reply