Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Salesforce Platform App Builder Certification Guide

You're reading from   Salesforce Platform App Builder Certification Guide A beginner's guide to building apps on the Salesforce Platform and passing the Salesforce Platform App Builder exam

Arrow left icon
Product type Paperback
Published in Nov 2020
Publisher Packt
ISBN-13 9781800206434
Length 412 pages
Edition 1st Edition
Arrow right icon
Authors (2):
Arrow left icon
Paul Goodey Paul Goodey
Author Profile Icon Paul Goodey
Paul Goodey
Paul Goodey GP Paul Goodey GP
Author Profile Icon Paul Goodey GP
Paul Goodey GP
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Preface 1. Section 1: Introduction to the Lightning Platform Core
2. Chapter 1: Core Capabilities of the Lightning Platform FREE CHAPTER 3. Chapter 2: Designing and Building a Data Model 4. Chapter 3: Importing and Exporting Data 5. Section 2: Behind the Scenes
6. Chapter 4: Securing Access to Data 7. Chapter 5: Setting Up the User Interface 8. Chapter 6: Implementing Business Logic 9. Chapter 7: Building Business Process Automation 10. Chapter 8: Generating Data Analytics with Reports and Dashboards 11. Section 3: A Step Closer to the Exam
12. Chapter 9: Configuring the Mobile Features 13. Chapter 10: Understanding the Social Features 14. Chapter 11: Managing the App Building Process 15. Chapter 12: Studying for the Certified Platform App Builder Exam 16. Other Books You May Enjoy

Enforcing data quality with the use of validation rules

Validation rules are used to prevent records from being created or updated with inconsistent or missing values that do not conform to your data quality rules. Validation rules make use of error formulas or expressions that specify the criteria for the inconsistent or missing values.

When there is a match for the formula or expression and the criteria return true, then the validation rule is activated and the error message is displayed. Here, you can choose to present the error message in one of two places: either at the top of the record page or under a specified field on the page.

We will now create a validation rule that enforces the setting of an active salesperson when creating or editing records within the Region object.

Let's go ahead and create the validation rule on the Region custom object by following these steps:

  1. Navigate to Setup and then search for Object Manager in the Quick Find search box...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime