We use debug statements in Salesforce apex to debug code which can impact application performance. This post will help in understanding how to optimize code by disabling debug mode in production.
Author: Dhanik Lal Sahni
Most of the time we need to use the existing apex method which accepts custom wrapper objects. This post will help in sending wrapper object to apex from LWC.
Loops are the primary source of CPU time consumption. If we have used nested loops then it will consume resources quickly. This post will help us in optimizing the loop in apex Code.
Salesforce apex is used to customize the Salesforce application. We should write proper code for customization for better performance. This post will help in optimizing Salesforce apex code.
We usually get the requirement to create different components for creating different object records. This post will explain about dynamic record page creation using fieldset.
Salesforce has four asynchronous apex which can handle long running job. This post will explain where to avoid batch apex and use Queueable Class instead.
Most of time clients want to show complex data as tabular chart with different color combination. We can use HeatMap chart in LWC to show relationship within two factors like show day wise sale of top employees, day wise stock index, sport players performance for each game etc. Let us create HeatMap chart for visualizing sales data for each employee per day. For creating this chart in LWC (Lightning Web Component) we have to perform below steps Download and Add Chart Library to Static ResourceCreate Apex Class to prepare dataCreate LWC ComponentTest Chart 1. Download and Add Chart Library to…
Capturing signature is very important for many business use cases specifically for Salesforce community portals where we get agreement signed by customers. There are many contract management application available for this in AppExchange , in this post we will generate and create signature in LWC. I have already posted a article long back which is for lightning aura component for similar functionality. You can check blog Create Signature Pad in Salesforce Lightning, if you are looking for aura version. For creating signature component in LWC, I have added two use cases in this blog, generating signature using some custom signature…
LWC select presents menus of options. Sometime we need option group in menu. This post will give step by step information to create option group in lwc select.
OTP is another form of multi-factor authentication (MFA) for securing our protected information. This post will explain how to generate OTP in LWC.