Blogs
-
Schedule an Apex Class to Run Hourly
System.schedule(‘Hourly Job’, ‘0 0 * * * ?’, new UpdateCaseOwners() );
-
Use force:refreshView (or getRecordNotifyChange) in a Lightning web component.
We have a strong appreciation for the Lightning UI and the aura feature (e.force:refreshview), which updates the data on the current Lightning page, record, or component. However, we found that this feature was missing in LWC, and many resorted to using a combination of Aura and LWC to achieve this functionality. As of Winter ’21,…
-
Best Practices and Considerations for Lightning Web Components (LWC).
Hello again! This blog post takes a unique approach as it will continuously receive updates with the latest findings. I will be sharing best practices and considerations related to LWC, drawing from both Salesforce guidelines and personal experiences. Let’s begin with the topic of FOR LOOPS. 1- FOR LOOPS JavaScript ES6 introduces a distinct type…