Life Cycle Hooks In Lightning Web Components LWC

It is frequently observed that developers often overlook the thorough examination of the Lightning Web Components (LWC) lifecycle. This tendency arises from the belief that merely incorporating the connectedCallback and renderedCallback addresses the issues. While this may solve problems, what about adhering to best practices? Given the novelty of LWC, it becomes crucial to understand …

Life Cycle Hooks In Lightning Web Components LWC Read More »

Comprehensive Guide To Properties In Lightning Web Components

About Properties in Lightning Web Components In every programming language, the need for variables to store data is inevitable, and in Lightning Web Components, these variables are referred to as properties. There are three types of properties: It is recommended to avoid using private properties in the template file, and the reasons for this will …

Comprehensive Guide To Properties In Lightning Web Components Read More »

Arrange The Map To Obtain The key Associated With The Maximum Value.

Therefore, the task is to retrieve a few records from the Opportunity object, including the OwnerId and Id fields. For various records, there could be different owners. Our goal is to identify the OwnerId associated with the highest number of records and determine the count of those records. It’s obvious that we would have to …

Arrange The Map To Obtain The key Associated With The Maximum Value. Read More »

Error “Guest users are not permitted to perform this operation” while creating chatter post in flow

PROBLEM DEFINITION This error takes place when flow runs in the context of a Guest User – like Record is being created from public site or public webhook etc. SOLUTION This happens because Guest User is not allowed to create chatter post i.e. Feed Post. There are possible below approaches: 1) Using Platform Event : Guest user …

Error “Guest users are not permitted to perform this operation” while creating chatter post in flow Read More »

Associate Actions With Asynchronous Apex Jobs Using Transaction Finalizers (Beta) – Spring 21

Let’s explore Finalizers in Queueable Apex by considering a scenario. Let me present a scenario and elucidate how we handle such situations prior to Spring 21. In Queueable Apex, when attempting a callout to an external platform, an interruption in the network might result in a callout failure. How do we ensure that the callout …

Associate Actions With Asynchronous Apex Jobs Using Transaction Finalizers (Beta) – Spring 21 Read More »