Tag: salesforce
-
Winter ’25 Release: Configure Record Highlights Directly in Lightning App Builder

Salesforce Winter ’25 has introduced one of the most user-requested enhancements for Lightning record pages — Dynamic Highlights Panel. If you’ve ever wished for more control over the Highlights Panel without switching over to Setup, this update is a game-changer. It brings greater flexibility, visibility rules, and a more responsive…
-
Field Usage Analysis for an SObject in Salesforce
Recently I came to know about this osm feature by SIR Plugin. SIR is already making our life easy. Now let’s understand how it works. REF: SIR github Have you ever wondered which fields in your Salesforce org are truly being used and which ones are just taking up space?…
-
How to Create a Signature Panel Using JavaScript in LWC – Salesforce

n many real-world applications, capturing user signatures is crucial—especially in industries like insurance, healthcare, or field services. Whether you need sign-off on forms, approvals, or receipts, having a signature panel in your Salesforce UI can enhance your digital experience. In this blog post, I’ll walk you through how to create…
-
LWC Deployment & Best Practices

Introduction Deploying Lightning Web Components (LWC) effectively and following best practices ensures maintainability, performance, and seamless integration into the Salesforce ecosystem. This guide covers deployment methods and essential best practices for LWC development. Deployment Methods There are multiple ways to deploy LWC components in Salesforce: 1. Using Salesforce CLI Salesforce…
-
Working with Lightning Data Table in LWC

Introduction The lightning-datatable component in LWC is a powerful way to display records in a structured table format with built-in features like sorting, inline editing, pagination, and row selection. Key Features of lightning-datatable Basic lightning-datatable Example Fetching and Displaying Account Data Apex Class (AccountController.cls) LWC JavaScript (accountTable.js) LWC HTML (accountTable.html)…
-
Navigation in LWC

Introduction Navigating between pages in Salesforce is a common requirement. LWC provides the NavigationMixin module to handle navigation within Salesforce, allowing components to navigate to records, list views, web pages, and more. Importing NavigationMixin To use navigation in LWC, import NavigationMixin from lightning/navigation: Navigating to a Record Page To navigate…
-
Apex Integration in LWC

Introduction While Lightning Data Service (LDS) is great for simple record operations, there are scenarios where you need to fetch, manipulate, or process data using Apex. Apex Integration in LWC allows you to call server-side logic, retrieve complex datasets, and perform operations beyond standard LDS capabilities. When to Use Apex…
-
Lightning Data Service (LDS) in LWC

Introduction Lightning Data Service (LDS) allows Lightning Web Components (LWC) to interact with Salesforce records without requiring Apex. It provides built-in caching, security, and CRUD operations, making data management efficient and performance-optimized. LDS offers the following key features: Fetching a Record Using lightning-record-form lightning-record-form is the easiest way to display,…
-
Events in LWC

Introduction Events in Lightning Web Components (LWC) enable communication between components, allowing parent and child components to interact dynamically. LWC uses the Event API to handle event-driven programming efficiently. There are two main types of communication using events: Child to Parent Communication (Custom Events) When a child component wants to…
-
Data Binding in LWC

Introduction Data binding in Lightning Web Components (LWC) allows developers to link data between the JavaScript controller and the HTML template. It enables dynamic updates of the UI without manually manipulating the DOM. LWC supports one-way and two-way data binding, making it easy to manage state and interactivity. One-Way Data…
