NexBlazers Logo
NexBlazers Learn • Build • Grow
Cheat Sheets

Salesforce cheat sheets for every role

The things you look up again and again, on one page per role. Read them free here, or download a printable PDF to keep next to you at work or before an interview.

Security & access

The four layers
Org (who can log in, when and from where: password policies, trusted IP ranges, plus login hours and IP ranges on each profile) → Object (create, read, edit, delete) → Field (field-level security) → Record (sharing).
Profile
Every user has exactly one. Sets their baseline permissions, so keep profiles minimal.
Permission set
Adds permissions on top of the profile. A user can have many. Group them into a permission set group per job role.
Org-wide defaults
The baseline record access for each object, usually Private, Public Read Only or Public Read/Write (detail objects use Controlled by Parent). Set it to the most restrictive level anyone needs.
Role hierarchy
Managers see their team's records. Access rolls upward, never down. For custom objects it can be switched off ("Grant Access Using Hierarchies").
Sharing rules
Open access sideways, by record owner or by criteria, to roles, groups or territories.
Manual sharing
The owner, someone above them in the hierarchy, or an admin shares one record with a user or group. Only available when the org-wide default is stricter than Public Read/Write.

Rule of thumb: org-wide defaults lock records down; roles, sharing rules and manual sharing only open access up from there. (Restriction rules are the one tool that narrows what users see.)

"I can't see this record": check in this order

  1. Object access. Does their profile or a permission set give Read on the object?
  2. Org-wide default. Is the object Private for them?
  3. Ownership and role. Do they own it, or sit above the owner in the role hierarchy?
  4. Sharing. Does a sharing rule, team or manual share include them?
  5. Field missing, not the record? Check field-level security, then the page layout or Dynamic Forms visibility.
  6. Prove it. Open the record's Sharing Hierarchy button, or log in as the user (Setup → Users → Login, once "Administrators Can Log in as Any User" is on in Login Access Policies).

Data model: lookup vs master-detail

LookupMaster-detail
CouplingLoose; parent optional by defaultTight; parent always required
Delete parentChild stays (field cleared, by default)Children are deleted too
Owner & sharingChild has its ownChild follows the parent
Roll-up summaryNot available (except a few standard pairs, e.g. Account → Opportunity)COUNT, SUM, MIN, MAX on the parent
Per objectUp to 40 relationship fields in total, of which at most 2 can be master-detail
Many-to-many
A junction object with two master-detail fields, one to each parent.
Hierarchical
A special lookup on User only, e.g. "Manager".
External ID
A unique field from another system. Lets imports upsert (update if found, insert if not).

Automation with Flow

Record-triggered
Runs when a record is created, updated or deleted. Before save: fast updates to the same record. After save: related records, emails, actions.
Screen flow
A guided form for users, on a page, a button or a utility bar.
Schedule-triggered
Runs at a set time for a batch of records, e.g. nightly clean-up.
Autolaunched
No screens. Called from another flow, Apex, an API or an agent action.
Platform event–triggered
Runs when an event message arrives, e.g. from an integration.
Approvals
Route a record for sign-off, with steps, approvers and lock/unlock.

Legacy tools: Salesforce ended support for Workflow Rules and Process Builder on December 31, 2025. Build new automation in Flow, and move old rules with the Migrate to Flow tool, then test before you deploy.

Formulas & validation rules

ISBLANK(f)
True when the field is empty. Use it instead of ISNULL, which doesn't work on text.
ISPICKVAL(p, "X")
Compare a picklist. Or TEXT(p) = "X".
ISCHANGED(f) · PRIORVALUE(f)
Did the field change on this save, and what was it before? Use them in validation rules and record-triggered flows, not formula fields. Pair ISCHANGED with NOT(ISNEW()): a new record never counts as changed.
ISNEW()
True while the record is being created.
IF · CASE
IF(test, yes, no); CASE(f, "A", 1, "B", 2, 0) for many values.
BLANKVALUE(f, x)
Use x when the field is empty.
TODAY() · NOW()
Date and date/time. ADDMONTHS(d, n) moves a date by months.
REGEX(f, "…")
Check a format, e.g. a PIN code or PAN. Mostly used in validation rules.
Validation rule
The formula describes the bad case. When it's true, the save is blocked and your message shows.
Size limits
3,900 characters of formula text, and 5,000 bytes once compiled (referenced formula fields count too).

Reports & dashboards

Report formats
Tabular (a list), Summary (grouped rows), Matrix (rows and columns), Joined (several blocks side by side).
Report type
Decides which objects and fields a report can use. Custom report types allow "with or without" related records.
Bucket field
Group values into categories (e.g. deal size: Small / Medium / Large) without a new field.
Summary formula
Maths on totals, e.g. win rate. A row-level formula works on each record.
Cross filter
"Accounts with / without Opportunities".
Dashboard components
Charts, gauges, metrics and tables, each built on a source report.
Dynamic dashboard
Runs as the person viewing it, so everyone sees only their own data.

Data management

Data Import Wizard
In Setup, in the browser. Up to 50,000 records at a time, for common standard objects and custom objects, with built-in duplicate checks for accounts, contacts and leads.
Data Loader
Desktop app for bigger loads and all objects. Insert, update, upsert, delete and export; can use the Bulk API; can be scheduled from the command line.
Duplicate management
Matching rules decide what counts as a duplicate; duplicate rules decide whether to warn or block.
Data Export
Setup → Data Export makes a CSV copy of your data, as often as weekly or monthly depending on edition. Handy, but not a full backup and restore tool.
Before any load
Test in a sandbox, turn off automation you don't want firing, and keep the results files to fix failed rows.

Sandboxes & deployment

SandboxCopiesData storageRefresh every
DeveloperMetadata only200 MB1 day
Developer ProMetadata only1 GB1 day
Partial CopyMetadata + a sample of data (sandbox template)5 GB5 days
FullMetadata + all dataSame as production29 days
Change sets
Point-and-click moves between connected orgs. Needs a deployment connection; outbound from the source, inbound in the target.
DevOps Center
Tracks changes as work items with Git underneath, without needing the command line.
Salesforce CLI
Command-line deploys and retrieves, mostly used by developers and pipelines.

Where to look when something goes wrong

Setup Audit Trail
Who changed what in Setup, over the last 180 days.
Login History
Who logged in, when, from where, and failed attempts.
Field History Tracking
Old and new values for fields you choose to track, per object.
Debug logs
Setup → Debug Logs: add a trace flag for a user to see why a flow or rule fired.
Flow errors
Flow error emails go to the admin who last changed the flow, or to the Apex exception email recipients if you choose that in Process Automation Settings.
System Overview
Setup → System Overview shows how close you are to key org limits.

Preparing for an Admin role or certification?

Get a 1-on-1 session: we go through these topics with your own questions, and run a mock interview.

Book a session

All information on this page was collected from publicly available resources, including official Salesforce documentation and Trailhead. Limits can change by release and edition, so check the current Salesforce docs for your org.

Free PDF

Get the Admin cheat sheet as a PDF