Blogs

  • Determining Dynamically Whether A Salesforce Field Exists In APEX

    Recently, I’ve been heavily involved in dynamic Apex and SOQL development. I encountered a requirement to create a custom AppExchange app capable of dynamically querying objects based on mappings provided by the admin and stored in custom settings. Initially, I was querying to check if the field existed and returning true if there was a…

    Read more…

  • Achieving Salesforce Apex Bulkification In Three Simple Steps

    As you may be aware, Salesforce imposes strict governor limits that can lead to unexpected failures. One of the most common governor limits is the “Too many SOQL Queries” restriction. Additionally, developers often face challenges because Triggers may not execute on just one record but could involve up to 200 records at once. The main…

    Read more…

  • Apex Unit Test: What Is The Significance Of Writing Test Classes In Salesforce?

    In Salesforce, writing test classes is a crucial practice for ensuring the quality and reliability of your code. These classes are specifically designed to test the functionality of your Apex classes, triggers, and other components. Test classes or test methods validate whether a specific segment of code is functioning as intended. If any part of…

    Read more…