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… Read More »Best Practices and Considerations for Lightning Web Components (LWC)
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… Read More »Five Common Errors to Steer Clear of When Studying Apex Code
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… Read More »Attempting to obtain method references using the REST version of the Tooling API.