Retrieve Custom Metadata Without Extensive Queries – Spring ’21

Up until the Winter ’21 release, whenever we needed to retrieve all or specific entries of Custom Metadata Types, we had to construct a comprehensive query. It typically appeared like this: Now, as part of this release, the process of interacting with Custom Metadata Types has been streamlined for the better. Two new methods have …

Retrieve Custom Metadata Without Extensive Queries – Spring ’21 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 »

Export Functions And Variables From A Lightning Web Component

When you create a Lightning Web Component, it comes with some default code. Our Lightning Web Component extends ‘LightningElement,’ allowing us to leverage various functions and variables seamlessly without additional configuration. However, what if I desire a more streamlined Lightning Web Component with only specific variables and functions? Suppose I intend to use this LWC …

Export Functions And Variables From A Lightning Web Component Read More »

Salesforce Communities: Enable Partners To Remove

Salesforce introduces Communities, addressing the much-needed improvement in the outdated partner portal user interface. Having participated in the pre-release, I discovered both positive and negative aspects of the new functionality. One significant drawback is the absence of the ability for Community Users to delete records. While Salesforce.com presented a comprehensive list of reasons justifying the …

Salesforce Communities: Enable Partners To Remove Read More »