Lightning App Builder – Practical Guide


Lightning App Builder – Practical Guide

The Lightning App Builder is one of the most powerful declarative tools in Salesforce.
It allows Administrators to design apps, pages, and user experiences without writing code.

In this guide, we’ll build a real-world example app — Pawfect Care — to learn how to:

  • Create a custom Lightning App.
  • Configure a custom object with fields and record types.
  • Customize page layouts and restrict visibility.
  • Create list views, reports, and a home page dashboard.

Whether you’re preparing for the Salesforce Administrator Certification or building your first Lightning app, this hands-on guide will strengthen your skills.


🧭 Table of Contents

  1. Requirements
  2. Create a New Lightning App
  3. Custom Object Setup
  4. Record Types and Page Layouts
  5. List Views and Reports
  6. Home Page Setup
  7. Restrict Views by Team (Optional)
  8. Summary & Key Takeaways

Requirements

Prerequisites

Before you begin:

  • Access to a Salesforce Playground, Developer Org, or Sandbox.
  • Familiarity with the Setup menu.
  • Logged into Lightning Experience.

Background

Pawfect Care, a company that runs pet grooming and adoption centers, wants to manage their animal data and team operations in Salesforce.
They handle multiple types of pets — Dogs, Cats, and Birds — and want to track information for each, manage adoptions, and analyze grooming activities.

Objectives

As the Salesforce Administrator, you need to:

  1. Build a new Lightning App for the Pawfect Care team.
  2. Configure custom objects, fields, and record types for Pets.
  3. Set up different page layouts and record pages for each type of pet.
  4. Restrict views by team (Bird Team vs. Cat & Dog Team).
  5. Create a Home Page Dashboard that shows summary charts.

1. Create a New Lightning App

Step 1: App Details & Branding

  1. Go to Setup in your Salesforce Playground.
  2. Quick Search → App Manager.
  3. Click New Lightning App.
  4. App Name = Pawfect Care (Developer Name will auto-populate and must be unique).
  5. Add a description, choose an icon and color, or keep defaults.

Locate Option

Step 2: App Options

  1. Select the options best suited for your app.
  2. Disable end-user personalization of navigation items.
  3. Disable temporary tabs for items outside this app.

Step 3: Utility & Navigation Items

  • Add any desired Utility Items, or click Next.
  • Move relevant items to Selected Items under Navigation Items.
  • Assign to specific User Profiles.
  • Click Save & Finish.

Step 4: Launch the App

  1. Locate Pawfect Care in the App Manager.
  2. Use the App Launcher → Search “Pawfect Care” → Click to open.

2. Custom Object

Now, let’s create a Custom Object for Pets so the team can start adding records.

  • Object Name: Pet
  • Plural Label: Pets

Fields for Pet Object

Click here to view field details
Field LabelAPI NameData TypeCommon / Type-SpecificExample ValueDescription
Pet NameNameText(80)CommonBellaPrimary identifier
TypeType__cPicklist (Dog, Cat, Bird)CommonDogPet category
BreedBreed__cPicklistCommonLabradorSub-type or breed
AgeAge__cNumber(16,2)Common3.5Pet age in years
Age CategoryAge_Category__cFormula (Text)CommonAdultDerived from age
GenderGender__cPicklist (Male, Female)CommonFemaleGender of the pet
ColorColor__cText(20)CommonBrownPhysical attribute
WeightWeight__cNumber(16,2)Common15Weight in kilograms
Favorite FoodFavorite_Food__cText(200)CommonChicken TreatsPet’s preferred food
Playtime NotesPlaytime_Notes__cLong Text Area(32768)CommonLoves rope toysFree-text notes
Available For AdoptionAvailable_For_Adoption__cCheckboxCommonTRUEIndicates adoption status
Owner (Account)Owner__cLookup(Account)CommonPaw ShelterBusiness owner or shelter
Owner (User)OwnerIdLookup(User, Group)CommonStaff MemberRecord owner
Cage SizeCage_Size__cNumber(18,0)Bird Only80Cage size (cm)
Can TalkCan_Talk__cCheckboxBird OnlyTRUEIndicates talking ability
Training LevelTraining_Level__cPicklist (Basic, Intermediate, Advanced)Dog OnlyIntermediateDog obedience level
Walk FrequencyWalk_Frequency__cNumber(18,0)Dog Only2Walks per day
Indoor/OutdoorIndoor_Outdoor__cPicklist (Indoor, Outdoor, Both)Cat OnlyIndoorCat lifestyle
Favorite ToyFavorite_Toy__cText(100)Cat OnlyYarn BallCat’s favorite toy

Add Pets Tab to Navigation

If the new Pets tab is not visible in your app:

  1. Go to App Manager → Edit Pawfect Care App.
  2. Select Navigation Items → Add Pets.
  3. Save and refresh the app.

Add Pets to Nav

App Nav

3. Record Types and Page Layouts

On the Pets listing page, you’ll notice many fields are irrelevant to specific pet types.
To fix this, we’ll create Record Types and Page Layouts.

Why Record Types?

  • Support multiple business processes on the same object.
  • Control picklist values for different users.
  • Assign specific page layouts per record type.

Why Page Layouts?

  • Display data in a clear, structured way.
  • Show only relevant fields for each type.
  • Improve readability and user experience.

Setup

Record TypeLayout NamePurpose
DogPet Layout – DogIncludes Training Level, Walk Frequency
CatPet Layout – CatIncludes Indoor/Outdoor, Favorite Toy
BirdPet Layout – BirdIncludes Cage Size, Can Talk

Steps

  1. Go to Setup → Object Manager → Pet → Record Types.
  2. Create record types for Dog, Cat, and Bird.
  3. Assign to appropriate profiles and mark as Active.
  4. Edit Picklist fields (Type, Breed) to include only relevant values.
  5. Create new Page Layouts for each record type and include related fields.
  6. Assign layouts using Page Layout Assignment.

Verification

When creating a new Pet record, you’ll now see 3 options: Dog, Cat, Bird.

New Pet

After selecting Dog, you’ll see only Dog-related fields and picklists.

New Dog Pet

If you only see one record type:

  • Check Active status of all record types.
  • Verify profile assignments.
  • Wait a few minutes for changes to apply.
Pet Compare

4. List Views and Reports

Let’s create list views for each pet type and a report for analytics.

List Views

  1. All Dogs – Filter: Type = Dog
  2. All Cats – Filter: Type = Cat
  3. All Birds – Filter: Type = Bird
  4. Available for Adoption – Filter: Available For Adoption = TRUE

Reports

Create a Donut Chart Report showing total animals by type.
If you don’t see “Pet” as a reportable object:

  • Go to Setup → Object Manager → Pet → Edit.
  • Enable the checkbox “Allow Reports”.

🧠 Admin Tip: Objects must be reportable to appear in the Report Builder.

For a deeper dive into reports and charts, see:
Salesforce Data Insights: Lists, Views & Report Charts


5. Home Page

The goal is to design a custom Home Page for the app with a welcome message and dashboard chart.

Steps

  1. Go to Setup → Lightning App Builder.
  2. Click New → Home Page → Name: Pets Home.
  3. Choose Header and Three Regions layout.
  4. Add:
    • Rich Text Component → Welcome message.
    • Report Chart Component → Select your Pet Report.
  5. Activate → Choose App Default → Select Pawfect Care App.
  6. Check the Home Page in your app.

If the Home Page does not appear:

  • Verify Navigation Assignment in the App Builder.
  • Wait for updates to reflect.
Home Page

6. Restrict Views by Team (Optional)

In a real-world scenario, different teams (Dog Team, Cat Team, Bird Team) should only see their relevant records.

You can achieve this by:

  • Creating Public Groups (e.g., Dog Team, Cat Team, Bird Team).
  • Setting Sharing Rules on the Pet Object.
  • Using Role Hierarchies or Record Type filters in List Views.

💡 Tip: Use Sharing Rules and Profiles for record-level security.
We’ll explore this further in a dedicated guide on Salesforce Security & Record Access.


🏁 Summary & Key Takeaways

By following this guide, you’ve learned how to:

  • Build a custom Lightning App with branding and navigation.
  • Create a Custom Object with meaningful fields.
  • Configure Record Types and Page Layouts for each pet type.
  • Build List Views, Reports, and a Home Page dashboard.

These steps mirror real admin tasks and reinforce key Salesforce concepts:

  • App customization and visibility control.
  • Data modeling with objects and fields.
  • Layout design and user experience optimization.

Next, continue learning with:

Test Your Knowledge!

Note: These questions are generated by AI manually using the content of the blog post.

1. In the 'Pawfect Care' app, what is the primary reason for using Record Types for the 'Pet' object?

2. If you create a custom object like 'Pet' but cannot find it in the Report Builder, what crucial step was likely missed during the object's setup?

3. After creating a custom object and its tab, what should you do if the 'Pets' tab is not visible in the 'Pawfect Care' app's navigation bar?

4. According to the guide, how do you make a custom Home Page (e.g., 'Pets Home') the default for a specific application like 'Pawfect Care'?

Separator