Apex articles
107 articles · Backend code
Salesforce Sharing Model Anti-Patterns: Where Access Breaks
Sharing defects do not fail the build. They show up months later as audit findings and “the manager cannot see it”...
Salesforce Winter '27 Developer Architecture Guide
Winter '27 raises the Apex heap ceilings to 10 MB and 25 MB and adds native live integration tests in scratch orgs....
Salesforce Winter '27 Developer Features: Apex, LWC, AI
Winter '27 raises the Apex heap limits, lets integration tests make real HTTP callouts, and opens LWC templates to...
Einstein Activity Capture: Sync Email Storage Impact
Einstein Activity Capture now turns on 'Sync Email as Activity' for many orgs without asking, and every synced email...
Apex Test User Mode: System.runAs for Permissions
Since API 67.0, Apex tests run in user mode by default, so your tests have to account for user permissions explicitly....
Salesforce Technical Debt: Impact and Solutions for Developers
Technical debt is drowning Salesforce admins and dragging on development velocity. Here is how big the problem actually...
Salesforce Summer '26 Features for Developers
Summer '26 ships a batch of platform changes for developers and admins: a consolidated field access view, permission...
Safely Deploy AI-Written Salesforce Code
AI coding tools speed development up and bring their own risks: metadata complexity, shallow tests, hard-coded sandbox...
Reduce Salesforce Technical Debt: 10 Strategies
Ten practices that keep technical debt out of a Salesforce org, from writing the why down before you build to killing...
Fix Salesforce Last Activity Date for Shared Activities
With Shared Activities on, Last Activity Date only moves for the primary contact on a Task or Event, so every secondary...
Designing a Scalable Backend in Salesforce Using Apex Services Layer
As Salesforce applications grow more complex, the backend logic written in Apex gets hard to manage, test and scale. A...
SOQL LIKE with Wildcards: In-Between Word Matching
The SOQL LIKE operator with wildcards finds text that sits between two specific words in your Salesforce data. This...