Apex articles
Page 9 of 9 · 106 articles
Top Mistakes Developers Make in Salesforce Apex Triggers
Non-bulkified code, several triggers on one object, hardcoded IDs and weak error handling are the Apex trigger mistakes...
Apex Null Coalescing Operator (Spring '24)
Apex's null coalescing operator (??), added in Spring '24: what it returns, how chaining and short-circuiting behave,...
Efficient Ways to Call Apex Methods from LWC in Salesforce: Pros and Cons
Recalculate Formula Fields without DML Statement
Trigger assignment rules from apex
Automatically assign the leads or cases to users or queue using assignment rules when they are inserted via API or...
SOQL LIKE and NOT LIKE: Wildcards, Syntax and Apex Examples
SOQL has no NOT LIKE operator. Write (NOT Name LIKE '%x%') instead. This guide covers % and _ wildcards, escaping,...