Learning Objectives
By the end of this chapter, you will be able to:
- Describe the standard object architecture and relationship model (for example, standard object, parent/child, master-detail/lookup/junction relationships).
- Explain how to create, delete, and customize fields and page layouts on standard and custom objects, and know the implications of deleting fields.
- Given a scenario, determine how to create and assign page layouts, record types, and business processes for custom and standard objects.
- Identify the capabilities of the Lightning App Builder.
Executive Summary
- Salesforce ships a fixed set of standard objects (Account, Contact, Opportunity, Case, Lead, Campaign, and the rest of the CRM core) which an administrator extends with custom objects (suffix
__c); relationships glue them into a graph where the choice of relationship type controls ownership, sharing inheritance, cascade delete, and the availability of roll-up summary fields. - Lookup is the loose default; master-detail is the tight parent/child contract that enables cascade delete and roll-up summary; many-to-many is built from two master-detail fields on a junction object; hierarchical exists only on the User object.
- Field design is a one-way street for data: deleting a custom field soft-deletes it for fifteen days during which it can be undeleted, but the moment it is hard-deleted or erased its historical values, references in reports, formulas, page layouts, and field history are removed and cannot be recovered.
- Record types pair page layouts to profiles to deliver different field sets, picklist values, and (on Lead, Opportunity, Case, Solution) different business processes to different audiences inside the same object, while Lightning App Builder assembles record, app, and home pages with dynamic forms, dynamic actions, component visibility rules, and per-form-factor activation.
Assumptions
- The reader has already configured users, profiles, permission sets, and the sharing model as covered in the previous chapter; this chapter does not re-introduce those terms.
- Examples assume a Lightning Experience org with Enterprise Edition or higher unless an edition limit is called out explicitly. Group and Professional Editions have smaller field, object, and record-type ceilings; the limits referenced here are the documented values from the Salesforce edition limits reference.
- Snippet diagrams use simplified Mermaid; production schemas have many more fields and relationships than shown.
