Alerts in LWC (Lightning Web Component)

This post will walk you through the implementation of using alerts in LWC (Lightning Web Component) using LightningAlert adapter of lightning/alert. We can use alerts in LWC instead of the native and old fashioned window.alert() for a more consistent user experience. It has similar functionalities, but this works in cross-origin iframes, where the alert() method … Read more

Scoping Rules in Salesforce with Example

This post will walk you through the implementation of using Scoping Rules in Salesforce with an example. Scoping Rules in Salesforce are used to control the default records that our users see based on the criteria we select. We can set up the Scoping Rules for different users in your Salesforce org so that the … Read more

Restriction Rules in Salesforce with Example

This post will walk you through the implementation of Restriction Rules in Salesforce with an example. This is a newly added feature in Salesforce. Certainly one of the most straightforward yet most efficient and most needed functionality is finally at our hands. Let’s see what Restriction Rules are all about. What is a Restriction Rule? … Read more

Google Recaptcha in Salesforce Visualforce with 3 Lines of Code

This post will walk you through the implementation to use Google Recaptcha in Salesforce Visualforce with just 3 lines of code. Sometimes, we need to expose some Visualforce pages to public users using Sites to get some user inputs. As the Site is public and anybody can access it, we must add some kind of … Read more

Generate PDF using LWC from Quick Action

This post will walk you through the implementation to generate PDF using LWC from Quick Action. Generating PDF in Salesforce using Lightning Web Components or Aura components is a very common use case. Although we can generate PDF using LWC as well as the Aura component, we need to make use of the intermediate Visualforce … Read more

Quick Action without Modal in LWC – Headless Quick Action

Recently Salesforce has introduced a way to create Quick Action without Modal in LWC (Lightning Web Component), which is called the Headless Quick action in LWC. Sometimes we need to perform an action using the Quick Action without showing the screen. Sometimes the logic has to run in the backend. Headless Quick Action will help … Read more

Filter Dashboard from URL Parameters

In this implementation, we will implement the functionality to filter Dashboard from URL Parameters. Sometimes we need to open the Dashboard by clicking on a button and filter the Dashboard with predefined parameters. This post will help to filter the dashboard using the URL parameters. This feature is the new feature introduced in Spring ’21 … Read more

Multi-select Picklist in LWC using lightning-dual-listbox

In this post, we will implement the functionality to use a multi-select picklist in LWC (Lightning Web Component) using lightning-dual-listbox. As part of this demonstration, I have created Language__c multi-select picklist on the Account object. We will use this multi-select picklist in LWC using lightning-dual-listbox. Let’s hop into the implementation. Implementation To use a multi-select … Read more