Blogs
-
Implementing A Salesforce APEX Trigger For Upserting A Lead
The SaaSquatch Managed Package for Salesforce incorporates several global classes and invocable methods that are applicable for upserting users from APEX code. In this tutorial, we will guide you through the process of creating an APEX Trigger and utilizing it to upsert users in SaaSquatch when a Lead is generated in Salesforce. Prerequisites This article…
-
Public, Private, Protected, And Global Keywords in Apex Programming
Public, private, protected, and global can also be referred to as access modifiers. Apex supports these four types of modifiers. 1. public This keyword is used to Defines a class or method or variable that can be used by any Apex in this application or namespace. Example 2. private This key word is used to…
-
Design Patterns For Apex Triggers
Utilizing design patterns is essential to enhance code efficiency and prevent exceeding governor limits. Developers sometimes create inefficient code leading to repeated instantiation of objects, resulting in poor performance and a risk of breaching governor limits. This issue is particularly prevalent in triggers, especially when operating on a set of records. This chapter explores key…