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.

UML Sequence diagram is important for Salesforce Integration with third party system. It will give step by step execution of complete integration based on activity time. Let us see UML diagram concept in detail. UML (Unified Modelling Language) is standard modelling language for designing and documenting a system in an object oriented manner. Modelling is about creating some model or some software product. So basically, UML will help us in designing software application. UML will help developer in writing proper code for application based on design. UML diagram should be created once requirement phase is completed or some time it…

Read More

SOAP Integration is done using WSDL file in Salesforce. WSDL (Web Service Description Language) is used to describe functionalities provided by web service. This WSDL file can be used by any client like .NET, JAVA, Perl to connect with Salesforce system. In Salesforce we can generate below types of WSDL files. 1. Enterprise WSDL: This WSDL can be used by customer who already using Salesforce system and wants to integrate their Org with other application like .NET, Java. As they will work with their Salesforce org only so we can use Enterprise WSDL. Enterprise WSDL are strongly types means WSDL…

Read More

Single Sign-On is authentication mechanism that enable users to securely authenticate with multiple applications and websites by using one set of credentials. SSO works based upon a trust relationship set up between an application, known as the service provider (in this case Salesforce system), and an identity provider, like Salesforce, Gmail, Microsoft etc. Identity Providers: An identity provider (abbreviated IdP or IDP) is a system entity that creates, maintains, and manages identity information for principals and also provides authentication services to relying applications within a federation or distributed network. Identity providers offer user authentication as a service. In our use case, Salesforce will be used as…

Read More

lightning-dual-listbox is used to show two side-by-side listboxes. This component can be used to show list of available options and selected options. Recently my team got requirement where selected options should not be removed but we can select new options. Ex.. If user already selected Option1, Option2 then they should not remove these options but they add and remove other options like option3, option4. Let us see how we can accomplish this in lightning web component. We can use onchange event to set default values if those values are de-selected. value property will show selected values. We will set this…

Read More

Recently I got requirement from one of our group member, to create dynamic configurable table creation for creating new record in Salesforce objects. Use Case: Create a configurable table for adding/deleting new rows in lightning data table. Types of fields will be configurable while adding new rows. On submit save record in multiple Salesforce objects. Solutions: There could be two below solutions for this use case This post will solve our use case using solution approach#1. 1. Create a new dynamic lightning web component We can create one lightning web component which will handle table creation based on configured columns…

Read More

Platform events enable application to deliver secure, scalable, and customizable event notifications within the Salesforce platform or from external source. In this post we will publish platform events from ASP.NET application and subscribe using Flow, Apex trigger and Lightning component. Use Case: Let us take example, one e-commerce application is built in ASP.NET application and when order is generated by customer. That order information should be shared by various system/module like warehouse system, shipping system, vendor/partner system, billing system and CRM system. Salesforce will subscribe that event and get all order information. Below steps are required for this use case…

Read More

Some time we need to open utility bar when lightning app is loaded. This is required when we want to run some background job like update user record or initialize user session when page is loaded. Use Case: SalesforceCodex.com is running multi program health system built on Salesforce Platform. Business want when user will open lightning app they will get program selection screen. Solution: To handle this business requirement, we can use lightning utility bar. We can put lightning component in utility bar. When lightning app will be loaded that lightning component will open automatically. We have to check flag…

Read More

Most of the time we have a requirement to store files in other cloud storage services like AWS, Microsoft One Drive, Dropbox, Google Drive, etc. This depends on clients’ requirements and probably license availability as well. Might be client has already these file server licenses so they will go with storing the file there itself. Salesforce support integration with the above-mentioned file storage servers. This post is for integrating Salesforce with Microsoft One Drive to store files. We can do Microsoft One Drive integration using two ways In this post, we will do integration using REST API with Microsoft One…

Read More

A lightning-datatable component displays tabular data based on data rows and columns provided. We required this component on many pages in the project.Instead of putting this component on every page. We can create a reusable and configurable data table component. This blog will create a generic data table component that has a below configurable setting. It will populate data based on below requirement It will have a configuration setting for enabling features like Let us create a generic component based on the above requirement. We will go to each requirement step by step. First, let us handle the requirement to…

Read More