Blogs

  • How To Retrieve Cookies Set By JavaScript In A Salesforce Apex Class

    I recently encountered a requirement where JavaScript was used to create a cookie and then later read by an Apex class. One might assume that creating a cookie in JavaScript and then accessing it in Apex using the exact same name would work, but that’s not quite how it functions. Cookies intended to be read…

    Read more…

  • 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…