Skip to main content
New tool CRON Expression Builder — preview next run times before you schedule Apex. Open the builder →

Apex articles

Page 3 of 9 · 107 articles

A 3D shield icon representing secure session monitoring to detect Login As in Apex code.Apex

Detect Login As in Apex: Is SubstituteUser Reliable?

Whether the SubstituteUser session type is a dependable way to detect 'Login As', what it cannot tell you, and which...

· 4 min read
A 3D vault icon representing a protected custom setting in a Salesforce development environment.Apex

Protected Custom Settings: Fixing Null Values from LWC

Protected Custom Settings return null in LWC because of the scope the Protected modifier applies. Here is what it...

· 4 min read
A 3D database server illustration representing efficient custom CSV import architecture in Salesforce.Apex

Custom CSV Import Architecture for Salesforce Developers

A pattern for parsing, validating and mapping CSV data onto multiple Salesforce objects without blowing the heap or the...

· 3 min read
An illustration of the new Salesforce Web Console interface featuring modern coding tools and data visualizationApex

Salesforce Web Console: The Developer Console Successor

Salesforce is launching the Web Console, a browser-based IDE built to take over from the aging Developer Console. It...

· 2 min read
A 3D rendering showing the Box.com Salesforce integration concept with cloud and folder icons.Apex

Box.com Salesforce Integration: Apex Backend Guide

How to wire Salesforce up to Box.com in Apex: secure authentication, the file upload patterns that hold up, and error...

· 3 min read
A 3D circuit board icon representing technical debugging within an Apex test class structureApex

Apex Test Class: Catching Thrown Exceptions in Async Batch Jobs

Why try/catch silently fails inside Batch Apex test classes, and the direct-invocation pattern that makes async...

· 6 min read
A 3D glowing data cube representing the PlatformCache immutable parameter within the Salesforce apex environment.Apex

PlatformCache Immutable Parameter: Why It Fails

Cross-namespace PUT errors in PlatformCache trace back to a known platform bug. Here is why the immutable parameter...

· 3 min read
Debugging stale SOQL return values after a successful Salesforce UI field update.Apex

SOQL Returns Old Value After UI Update

A Salesforce UI edit looks committed, and then an Apex SOQL query reads the old value back. The mismatch between the UI...

· 5 min read
Diagram showing Salesforce email limits differentiating between internal and external recipient quotas.Apex

Email Limits: DailyWorkflowEmails vs SingleEmail Explained

Salesforce email limits follow the recipient type, so the tool you send from (Flow, Apex, anything else) does not...

· 3 min read
Visual representation of bypassing rigid validation rules with flexible data integrity mechanisms in Salesforce.Apex

Alternatives to Salesforce Validation Rules for Developers

Validation Rules protect data quality by blocking the save, which is exactly why users learn to work around them. Five...

· 4 min read
Technical visualization of overcoming the Apex heap limit for complex native document generation processes.Apex

Beating 6MB Apex Heap Limit: Native Document Generation

An architecture that generates PDFs with embedded images and large record sets inside Apex governor limits. Binary data...

· 5 min read
A 3D rendered digital padlock symbol illustrating code security in dynamic SOQL in loops.Apex

Dynamic SOQL in Loops: Security Review Impact for Managed Packages

Dynamic SOQL inside a loop does not fail Salesforce Security Review for a managed package, because the scan treats it...

· 8 min read