Blogs

  • Example Apex Unit Test For An Apex Trigger

    She faced challenges while deploying the code and realized there was no Apex Test class included in the initial post. As I offered assistance, I recognized the opportunity to present another helpful example for readers. Having an additional sample Apex Unit Test can be beneficial for those learning Apex and provides more content for this…

    Read more…

  • Avoid Generating A New Opportunity When Converting A Lead Through Apex And Visualforce

    My client has a scenario where they wish to convert a lead without automatically generating an opportunity during the conversion process. While the standard Lead conversion page is acceptable to business owners, they specifically desire the “Do not create a new opportunity upon conversion” checkbox to be pre-selected when users access the page within their…

    Read more…

  • Utilize The @wire Decorator In Lightning Web Components LWC To Connect An Apex Method To A Function.

    Explore the process of wiring an Apex method to a function using the @wire decorator in Lightning Web Components (LWC). This is the optimal choice for utilizing the @wire decorator. The reason behind this preference is that, with this approach, we have the ability to easily debug the data retrieved from the Apex method. Although…

    Read more…