A Fresh Approach To Implement User Level Security Using Apex Code

Starting from the Summer ’22 release, there has been a significant expansion in the Apex security model. Now, it’s possible to designate Apex database operations to run in either user or system modes. This blog will explore the process of writing Secure Apex Code using User Mode Database Operations (Summer ’22 release) in a more …

A Fresh Approach To Implement User Level Security Using Apex Code Read More »

Enable Compatibility For Special Sharacters While Opening Documents From Salesforce To SharePoint Via The Rest API

The situation or the context. While addressing a project requirement for a manufacturing sector client based in Atlanta, GA, we encountered a need to permit special characters such as % & # _ ( ) * – . in document names during uploads from Salesforce to SharePoint. The objective was to open these documents from …

Enable Compatibility For Special Sharacters While Opening Documents From Salesforce To SharePoint Via The Rest API Read More »

How Can One Utilize ChartJS Within A lightning Web Component To Produce A Chart

Nowadays, in the era of Data Science, emphasis is placed significantly on data visualization. Presenting data visually holds substantial sway over the user interface. However, constructing personalized, adaptable charts and graphs within Salesforce poses a challenge. Open source solutions stand out as one of the finest options for addressing this need. ChartJS, an open source …

How Can One Utilize ChartJS Within A lightning Web Component To Produce A Chart Read More »

Creating A Universal Class For Simulating REST Callouts in Unit Tests

I’m initiating a new routine of weekly blog posts, beginning with advice on crafting a versatile class or a mock factory to simulate interactions with an external third-party service. What’s the rationale behind using a mock When running unit tests the platform does not allow to do a callout to external dependencies. To test our …

Creating A Universal Class For Simulating REST Callouts in Unit Tests Read More »

Communication Between parent And Child Components in Lightning Web Components LWC

We’re all familiar with the prominence of Lightning Web Component (LWC) as one of Salesforce’s programming models for building Lightning Components. It stands out among Salesforce developers and receives commendation from the company itself. Wondering why it’s widely adopted? Well, its speed and lightweight nature make it a top choice. The primary objective behind adopting …

Communication Between parent And Child Components in Lightning Web Components LWC Read More »

Investigating An Integrated Async Apex Framework

Which async Apex framework is the ideal choice? This blog presents a solution that automatically selects between Batchable or Queueable Apex for your needs. Batchable and Queueable are the two predominant async frameworks available to developers on the Salesforce Platform. When working with records, you may find yourself wondering which one should you be using. In this post, …

Investigating An Integrated Async Apex Framework Read More »

Callback for Errors in A Lightning Web Component

In this section, we’ll delve into the errorCallback() function in Lightning Web Component. Sample  Example parent.html parent.js child.html child.js Console Output In the console, we observe that the error is managed by the parent component due to the presence of the errorCallback() within it. Had we not included errorCallback() in the parent component, the output …

Callback for Errors in A Lightning Web Component Read More »

Lightning Component Modal Popup in Salesforce

Creating a custom Lightning Modal/Popup Box within a Salesforce Lightning component is the focus of this post. What does Modal mean in Salesforce Lightning Experience Modals/Popup Boxes serve to showcase content in a layer positioned above the application. This design is frequently utilized for tasks like creating or editing records, displaying various types of messages, …

Lightning Component Modal Popup in Salesforce Read More »