
Apex Exception Handling and Logging: Custom Exceptions, Savepoints and a Log Framework
Handle Apex errors the right way: try/catch/finally, custom exceptions, partial DML results, savepoints and a platform-event logger, with full tests.
Tag
26 guides tagged Intermediate.

Handle Apex errors the right way: try/catch/finally, custom exceptions, partial DML results, savepoints and a platform-event logger, with full tests.

Build approvals the Salesforce way: approval processes, submitting and deciding in Apex, and Flow Orchestrator stages for multi-team workflows, with tests.

Choose between custom metadata, custom settings and custom labels, deploy configuration, read it in Apex and LWC, and test code that depends on it.

Understand Salesforce Data Cloud end to end: ingest data streams, map to the data model, resolve identities, build insights and segments, with a runnable identity model.

Load data safely into Salesforce: clean and validate CSVs, upsert with external ids, bulk load, export, and stop duplicates with rules and Apex.

Choose and build screen, scheduled and autolaunched flows, call a flow from Apex, and check flow metadata for loops, fault paths and hard-coded ids.

Build Lightning web component forms with lightning-record-edit-form, the UI API adapters, custom validation and Jest tests, with the setup each approach needs.

Unit test Lightning web components with Jest: setup, mocking Apex and wire adapters, testing events and async rendering, and running tests in CI.

Design Prompt Builder templates with merge fields and grounding, call them from Apex through a testable wrapper, and check prompts and answers with a lint kit.

Design a Salesforce data model: objects, fields, lookup vs master-detail, many-to-many junction objects and roll-ups, deployed as metadata and proven by tests.

Set up Salesforce DX: project structure, scratch org definitions, a one-command setup script, unlocked packages with dependencies and a CI pipeline with checks.

Learn SOQL relationship queries, subqueries, semi and anti-joins, polymorphic fields and aggregates with a tested Apex pipeline report, setup steps and limits.

Build a three-component LWC screen using @api, custom events, Lightning Message Service, wired Apex, updateRecord and refreshApex, with tests.

What Multi-Framework is, which frameworks and orgs are supported, the UIBundle model, the GA timeline and a hands-on getting-started path with checks and CI.

Compare the Conversation Client Web SDK, messaging for web and the Agent API, then build a tested React chat panel with consent, limits and error handling.

Learn React hooks with a tested example: effects with cleanup, refs, memoization, a reusable useFetch hook, and how to debug loops and stale values.

Add TypeScript to React components and hooks, validate API data at runtime, and test behaviour with Vitest and Testing Library, including async states.

Build reliable agent actions: bulk-safe invocable Apex with clear descriptions, an idempotent write action, a Flow action with a fault path, and tests.

Where an Agentforce agent can live and how to choose: a tested channel selector, a launch-readiness validator and a rollout checklist you can run.

Load large data sets with Bulk API 2.0: job lifecycle, CSV chunking, polling, failed-row retry and automation bypass, with tested Node code.

Cut round trips and keep related changes together: the four REST composite resources with JSON examples, a tested Node helper and limits.

A practical tour of Salesforce's APIs with runnable REST, GraphQL, Composite and Bulk examples and a decision guide for picking the right one.

Expose your own REST endpoint with @RestResource: idempotent upserts, validation, versioned URLs, security, partner setup and full tests.

Request-reply, fire-and-forget, batch sync, remote call-in and virtualization explained with working Apex and Node code for one order scenario.

Turn an OpenAPI spec into Flow actions with External Services, and show live external data with Salesforce Connect and a custom Apex adapter.

Pick the right OAuth flow, set up an External Client App, and build a tested token client for client credentials and JWT bearer.