Blogs

  • Logicless APEX Triggers: A Straightforward And Neat Structure.

    Emphasize logic-free triggers.” This is a common piece of advice you’ve likely encountered frequently while researching how to create your initial triggers online. To accomplish this, you must implement a “framework,” which essentially involves structuring your code in a manner that prioritizes simplicity. Upon reviewing numerous articles and tutorials, I’ve discovered that this straightforward trigger…

    Read more…

  • Formula field cannot be grouped in SOQL GROUP BY in SOQL

    Description Yes, it’s Salesforce restriction, as Formula fields are not indexed and groupable, query will become very slow; so Salesforce does not allow group in SOQL. Workaround

    Read more…

  • Create A picklist Dynamically For A Lightning Component.

    Imagine you’re tasked with developing a Lightning component that exhibits records for a specific object. The selection of this object is facilitated through a dynamically generated picklist when the component is integrated into the Lightning page via the App Builder. Create DesignComponentExample.cmp Generate DesignComponentExampleController.js. Develop DesignQueryUtils.apxc. Generate CustomDynamicPicklist.apxc. Finally, within the design resource, we incorporate…

    Read more…