Processes That Occur Asynchronously On The Salesforce Platform.

I frequently advise basing Salesforce development decisions on platform capabilities, even if some features have not yet been embraced by your business. Keeping this in mind, I want to introduce the idea of running certain processes in both synchronous and asynchronous modes. In a previous discussion, I highlighted a situation where Salesforce allowed Community Users …

Processes That Occur Asynchronously On The Salesforce Platform. Read More »

Executing Batch Apex Classes in Sequence

According to the Apex developer documentation, there are various ways to chain together Apex processes. In this post, I will elucidate two distinct methods for chaining multiple batchable interfaces. Let’s contemplate the process flow scenario outlined below: The processes enclosed within the yellow outline above represent a singular batchable interface. Here, we make the ultimate …

Executing Batch Apex Classes in Sequence Read More »

Test Coverage For PDF Attachment

Over the years, I’ve received several emails specifically inquiring about test coverage for the PDF logic demo. Today, I finally have some time to document it. There isn’t much to emphasize here. However, I do value it when readers pose questions. Feel free to continue sending them my way.

Salesforce Apex Queueable Interface Implementation

The Salesforce Apex Queueable Interface enables the asynchronous execution of Apex jobs, offering similarities to @Future annotated Apex classes. However, the distinctive feature of a queueable interface is its ability to be monitored through the Salesforce user interface or by querying the AsyncApexJob table. The utility of a queueable interface becomes apparent when initiating an …

Salesforce Apex Queueable Interface Implementation Read More »

Cancel Apex Email Service

Apex email services. The short story here is that you can send email to your Salesforce Org which is then processed by some Apex logic in order to support the specific needs of your business. One of our clients uses an Apex email service to automate Case creation for customer support issues. We have another …

Cancel Apex Email Service Read More »

Typed Queries for Parent and Child Levels

Utilizing strongly typed query builders comes with a significant advantage: the inherent type-checking feature. This not only safeguards developers from potential errors but also prevents administrators from modifying the API name of a field or deleting it while it is referenced within Apex code. Even without considering other applications of the Schema.SObjectField class, these reasons …

Typed Queries for Parent and Child Levels Read More »

Creating Pagination Functionality Using lightning DataTable in Salesforce Lightning Web Components

In Salesforce, LWC is frequently employed to retrieve substantial data volumes from the Salesforce server and display them on the screen using either the base lightning-datatable or a customized HTML table. In this tutorial, you’ll discover how to establish a custom JavaScript pagination mechanism using the lightning data table component to paginate extensive datasets. The …

Creating Pagination Functionality Using lightning DataTable in Salesforce Lightning Web Components Read More »