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)

Creating a home page


In this recipe, we will be creating a home page.

How to do it…

  1. In the Lightning App Builder, select the Home Page template and click on Next.
  2. Then, go to CLONE SALESFORCE DEFAULT PAGE:
  1. So, here, we are using the component, List View; select the Object on the right, maybe Account, Contact, or any standard object; select which list view you want, the Filter—All Accounts or My Accounts. Let's pick accounts; we are selecting All Accounts. Then we will click on Save:

Editing the List View component

  1. So, we are not activating means that we are not assigning users now. Let's also use another Rich Text component, drag and drop it, write something, and then save it. Now we have built the home page.