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 an app page


Let's see a demonstration of how to create an app page. We are going to be choosing the template—app page, record page, and the home page. We will also be looking into the standard components, the custom components, and the installed components, in other words, the AppExchange components.

How to do it…

  1. So, go to Setup. In the Quick Find box, search for app builder, you can also get the Lightning App Builder under the User Interface section, and, once you click on it, you'll find yourself in, Lightning App Builder:

All the Lightning pages that are available in our organization are displayed here. Now, let's create a new app; click on New:

  1. In the Create a New Lightning Page, select a template, is it a home page, record page. So we select the App Page:

Selecting the App Page template

  1. Click on Next, provide a name, select how the format has to be 100%, with a header, narrow bar, wide bar, or whatever you want:
  1. Now you will find the standard components, the custom components, and...