Implementing force:refreshView (getRecordNotifyChange) within a Lightning web component.

We have a strong appreciation for the Lightning UI and the aura feature (e.force:refreshView) that efficiently refreshed data on the current Lightning page, record, or component. We found this functionality lacking in LWC, and observed that many resorted to a workaround involving a combination of Aura and LWC to achieve this. However, with the advent …

Implementing force:refreshView (getRecordNotifyChange) within a Lightning web component. Read More »

Best Practices and Considerations for Lightning Web Components (LWC)

Hello again! This blog post will be unique as I will continuously update it with the latest discoveries. In this blog post, I will discuss best practices and considerations related to LWC, drawing from my experience both with Salesforce and personally. Let’s begin with the topic of FOR LOOPS. JavaScript ES6 introduced various types of …

Best Practices and Considerations for Lightning Web Components (LWC) Read More »

Best Practices and Considerations for Lightning Web Components (LWC)

Hello again! This blog post will have a unique format as I’ll continually update it with the latest insights. In this blog post, I’ll be discussing best practices and considerations related to LWC, drawing from my own personal experiences in addition to Salesforce recommendations. To begin, let’s dive into the topic of FOR LOOPS. 1.Working …

Best Practices and Considerations for Lightning Web Components (LWC) Read More »

Five Common Errors to Steer Clear of When Studying Apex Code

Being a dedicated Salesforce Architect and Developer, I’ve authored a considerable amount of code and provided guidance to numerous professionals throughout my career. Sharing knowledge brings me immense satisfaction, and today, I want to impart some valuable insights by highlighting common errors that should be sidestepped when delving into coding, particularly in the context of …

Five Common Errors to Steer Clear of When Studying Apex Code Read More »

Attempting to obtain method references using the REST version of the Tooling API.

Problem /services/data/v36.0/tooling/query/q=Select+Id,Name,SymbolTable+From+ApexClass+where+Name+in+(‘MyApexClass’,’MyApexClassTwo’) Why all references = null, if I call testA() in testB() in class ‘MyApexClass’ and then tesB() in testC() in external class ‘MyApexClassTwo’? Solution As you have found, you need to use an ApexClassMember to access the full SymbolTable. The ApexClassMember’s often don’t exist for the class of interest, so you must create them. The same …

Attempting to obtain method references using the REST version of the Tooling API. Read More »