Blogs

  • How To Determine If Record Values Have Been Modified In Apex Triggers

    How to Compare Old and New Values in Salesforce Triggers In Salesforce triggers, we can check if record values have changed by comparing the old values to the new ones. The Before Update and After Update triggers are invoked based on the Update DML event occurring, regardless of which field value is updated on the…

    Read more…

  • What Does The Term Wrapper Class Mean In Salesforce Apex?

    A wrapper class in Salesforce Apex refers to a class, data structure, or abstract data type that encompasses various objects or collections of objects within its structure. A wrapper class is essentially a custom object created by a programmer, defining its properties according to specific needs. In Salesforce, when we think of a custom object,…

    Read more…

  • Apex: Converting Lists To Sets And Vice Versa

    Many Salesforce Apex developers are aware that in Salesforce, it’s widely accepted as a best practice that all code should be capable of handling bulk inserts, updates, and similar operations. When following this best practice, it’s common to use sets or lists as parameters in functions. Occasionally, there arises a necessity to convert between lists,…

    Read more…