Author: Dhanik Lal Sahni

With over 18 years of experience in web-based application development, I specialize in Salesforce technology and its ecosystem. My journey has equipped me with expertise in a diverse range of technologies including .NET, .NET Core, MS Dynamics CRM, Azure, Oracle, and SQL Server. I am dedicated to staying at the forefront of technological advancements and continuously researching new developments in the Salesforce realm. My focus remains on leveraging technology to create innovative solutions that drive business success.

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…

Read More

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…

Read More

We mostly have requirements to upload files in file storage servers like AWS S3 Server, Dropbox, Google Drive, etc. This post will help in uploading files to S3 Server. We will use named credential to upload file in S3 server. Steps for uploading file in S3 Server using named credential Create a named credential for AWS CredentialCreate an apex class to upload fileTest functionality 1. Create a named credential for AWS Credential Create a named credential with Authentication Protocol as AWS Signature Version 4. AWS Signature Version 4 (SigV4) is the process to add authentication information to AWS API requests…

Read More

Integration with external system is very common requirement in Salesforce application. For this we can go for declarative external service or create apex class for each type of integration. Declarative External Service can only work when OpenAPI schema is available so for other cases we have to go for apex class. In this post we will create a generic apex class for calling external system which can used with named credential also. For creating generic class we have to add feature to get different parameters like header parameter, request parameters, endpoint urls, named credential information etc. We will also add…

Read More