Blogs
-
Transform a String into a Date in Salesforce.
In Salesforce, Apex can be utilized for converting a string into either a date or a DateTime. In this blog post, we will demonstrate the process of converting a string into a date using Apex. Utilizing Date.parse to transform a String into a Date within Salesforce. The Apex Date class includes a method known as…
-
Invoking an Apex method periodically from a Lightning Component.
I recently discovered that Salesforce Lightning Communities do not offer support for Streaming API or Events APIs. Consequently, you cannot utilize EMAPI on AURA/LWC for communities. This prompted me to explore a workaround in an Aura component.
-
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…