Starting from a real-world bug where a Workflow Field Update creates duplicate Orders, this guide walks through all 20 steps of Salesforce record save execution order. Covers Before-Save Flow vs Before Trigger priority, the one-shot Validation Rule trap, Trigger.old counterintuitive behavior during re-execution, and the correct static Set pattern for recursion defense.
Spring '26 introduces Complex Template Expressions (Beta) for LWC, letting developers write JavaScript expressions directly in templates and eliminate display-only getters. From supported operators to migration strategies, here's everything you need to know about the feature four years in the making.
VS Code org authorization on SFoA works differently from the global version: the built-in Connected App does not work, you must create an External Client App with PKCE disabled, switch the login endpoint to login.sfcrmproducts.cn, and deal with a Mac DNS check issue. This guide walks through the full setup from app creation to Command Palette authorization to CI/CD JWT flow.
The complete chain for setting up a Salesforce development environment: Node.js with nvm, Salesforce CLI (sf, not the deprecated sfdx) via npm, VS Code extensions and JDK setup, SFDX project structure, Dev Hub enablement and Scratch Org creation, Sandbox connectivity, daily push/pull/deploy commands, and a troubleshooting table for common errors.
A per-transaction governor limits quick reference for Salesforce's multitenant architecture, the five most common limit-busting scenarios with fix code, core bulkification principles with the Trigger Handler pattern, and Spring '26 additions including Apex Cursor and RunRelevantTests.
MCP (Model Context Protocol) has become the universal standard for AI Agents connecting to enterprise data. Salesforce has deployed MCP across five product lines: Hosted MCP Servers, DX MCP Servers, Heroku, MuleSoft, and Slack. This article provides a deep technical breakdown of each MCP Server type's Tool list, setup configuration, and security model—including JSON-RPC call examples and hands-on Claude Desktop configuration—plus a complete analysis of Agentforce's Gateway + Registry governance architecture as an MCP Client.
Spring '26 introduces a reimagined Agentforce Builder with dual Canvas and Script views replacing the old form-based setup. This article breaks down Agent Script syntax — hybrid reasoning, deterministic execution, topic transitions, and the variable system — to get you building production-ready AI agents fast.
After Spring '26, new Connected App creation is blocked by default, with full enforcement expected by Summer '26. External Client Apps redesign external integrations across four dimensions: security model, role separation, Metadata API, and 2GP packaging. This article covers the complete technical comparison, three-step UI configuration, CI/CD deployment strategy for 4 metadata types, full OAuth flow migration (with JWT Bearer and Client Credentials code examples), permission redesign best practices, dual-run cutover strategy, and the Hosted MCP Server's dependency on ECAs.