## Object Manager: Building Blocks of Your Data
Object Manager is where administrators define and customize the data structure within Salesforce. It houses both Standard Objects (e.g., Account, Contact, Opportunity) and Custom Objects (created to store unique business data).
Fields
Fields are the columns in your database tables. They define what kind of data can be stored. Key field types include:
- Standard Fields: Pre-defined by Salesforce (e.g., Account Name, Contact Email).
- Custom Fields: Created by admins to meet specific business needs. Each custom field has a data type (e.g., Text, Number, Date, Checkbox, Picklist, Currency).
- Relationship Fields: Link objects together.
- Lookup Relationship: A loose connection, parent record deletion doesn't necessarily delete child, no impact on security.
- Master-Detail Relationship: A strong, parent-child relationship. Child records inherit security from the parent and are deleted when the parent is deleted. Required on the child object.
- Formula Fields: Read-only fields that derive their value from a formula you define, often referencing other fields.
- Roll-Up Summary Fields: Only available on the master side of a Master-Detail relationship. They aggregate data (SUM, COUNT, MIN, MAX) from related detail records.
Page Layouts and Record Types
- Page Layouts: Control the organization of fields, sections, related lists, and custom buttons on a record detail page. They also determine which fields are visible, read-only, or required. Page layouts are assigned to Profiles and Record Types.
- Record Types: Allow you to offer different business processes, picklist values, and page layouts to different users based on their profile. They are crucial for tailoring user experience and data entry.
Validation Rules
Validation Rules ensure data quality by preventing users from saving records that don't meet specified criteria. They use a formula to evaluate data and display an error message if the formula returns TRUE.
Compact Layouts
Compact Layouts define the fields that appear in the highlights panel at the top of a record page on desktop and in the record header of the Salesforce mobile app.
## Lightning App Builder: Crafting User Interfaces
The Lightning App Builder is a drag-and-drop tool used to create custom pages for Salesforce Lightning Experience and the mobile app. It allows admins to build flexible and dynamic user interfaces.
Lightning Pages
There are three main types of Lightning Pages:
- Record Pages: Customize the layout of a specific object's record detail page. You can use Dynamic Forms to break up page layouts into individual fields and sections, allowing for conditional visibility.
- Home Pages: Customize the content users see when they log in or navigate to the Home tab.
- App Pages: Create standalone pages with custom content and components that can be added to any Lightning App.
Components
Lightning Pages are built using Lightning Components. These can be standard (provided by Salesforce), custom (developed by developers), or from the AppExchange. Admins drag and drop these components onto the canvas and configure their properties.
Activation
Once a Lightning Page is built, it must be activated to be visible to users. Activation options include setting it as the Org Default, App Default, or assigning it to specific Apps, Record Types, and Profiles. This granular control ensures users see the most relevant interface.
What is the primary difference between a Lookup and a Master-Detail relationship?
Master-Detail relationships are tightly coupled, where child records inherit security and are deleted with the parent. Lookup relationships are loosely coupled, with no security or deletion impact.
tap to reveal
When would you use a Roll-Up Summary field?
To display an aggregate value (SUM, COUNT, MIN, MAX) from related child records on the master record in a Master-Detail relationship.
tap to reveal
What do Page Layouts control?
The organization of fields, sections, related lists, and custom buttons on a record detail page, including field visibility, read-only status, and requiredness.
tap to reveal
How do Record Types benefit an organization?
They allow different business processes, picklist values, and page layouts to be assigned to different users based on their profile, tailoring the user experience.
tap to reveal
What is the purpose of a Validation Rule?
To improve data quality by preventing users from saving records that do not meet specific criteria defined by a formula.
tap to reveal
Name the three types of Lightning Pages you can build with the Lightning App Builder.
Record Pages, Home Pages, and App Pages.
tap to reveal
What are Dynamic Forms?
A feature on Lightning Record Pages that allows administrators to migrate fields and sections from a page layout onto the page directly, enabling individual field visibility rules and a more flexible layout.
tap to reveal