Blogs

  • Get Size of Collections in Flow in Salesforce

    GOAL This is very trivial requirement to get size of collection in flow. It’s not possible simply by checking the size as we can do it in apex. Here is an Idea for the same: Idea: Get Size of Collections in Flow SOLUTION We need to store the count of collection first in a Number…

    Read more…

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