Book Image

Salesforce Lightning Cookbook

By : Syed Chand Shah
Book Image

Salesforce Lightning Cookbook

By: Syed Chand Shah

Overview of this book

<p><span id="description" class="sugar_field">The new Lightning Experience combines three major components—Lightning Design System, Lightning App Builder, and Lightning Components—to enable anyone to quickly and easily create beautiful, modern enterprise apps. If you wish to meet the challenges that Lightning throws at you head-on, then look no further because this practical book will be your faithful companion and ensure that you make best use of the Lightning platform.</span></p> <p><span class="sugar_field"><span id="description" class="sugar_field"> The book starts by walking you through the three major Lightning Components and helps you enable and configure a Lightning solution. You will explore the art of working with standard components and build a basic layout for the application. Then, you will add more advanced components using the Lightning Framework. Finally, you will also build and migrate reports and dashboards to make your app look more professional. Towards the end of the book, you’ll make use of Design System to work with Salesforce data and lay out the entire page with the components that you’ve built, before integrating Visualforce in your application.</span> </span></p>
Table of Contents (11 chapters)

Record page


In this recipe, let's see how to create a record page and assign it to the user.

How to do it…

  1. So, in Setup, let's launch the Lightning App Builder:
  1. Click on Record Page, and click Next:

Selecting the Record Page template

  1. Select the object for which you are creating the record page, and select Account object:
  1. If you have any customized object, you can create one for the custom object also. Select the format you want, Header and Left Sidebar, and more:
  1. You can select any format that you want, or you can clone the Salesforce default page, Account Record Page Default, which is the default page that is assigned to the organization:
  1. For the record page, you are having 24 standard components. So, you can order it or customize it the way you want. Just for testing purposes, we'll be adding Rich Text, even above the highlights panel. Click Save. You will be asked to Activate, which means assigning it to the users, click on Not Yet, and it will be saved: