
LWC Conditional Rendering: lwc:if, lwc:elseif, lwc:else
As a developer, one of the most important aspects of building web applications is the ability to control the flow…

As a developer, one of the most important aspects of building web applications is the ability to control the flow…

GraphQL is a powerful querying language that allows developers to retrieve only the data they need from Salesforce in a more efficient and flexible way than traditional REST API calls. In Salesforce, GraphQL can be used with Lightning Web Components (LWC) to retrieve data from Salesforce objects.

Lightning Web Runtime (LWR) is a special feature of the Salesforce Lightning platform that allows developers to create custom pages…

The Lightning Component framework uses Content Security Policy (CSP), a W3C standard, to control and restrict content loaded on a page to prevent cross-site scripting and other code injection attacks. The default CSP policy does not allow API calls from JavaScript code. To make API calls, a remote site needs to be added as a CSP Trusted Site in the Salesforce org. The article also provides a step-by-step guide to add a CSP trusted site and make an API call from JavaScript code successfully.

To generate notifications from your Lightning web components, use the new modules LightningAlert, LightningConfirm, and LightningPrompt instead of native APIs.

Use wire adapters to get related list record information without writing an apex code.

Random color picker LWC component
=> Generate random color code.
=>Copy the hex color code in the clipboard

Hello folks, Get rid of all standard ways to approve/reject an approval request. In this blog post, I am going…

Lightning Web Components was born to succeed Aura/Lightning components. Launched by Salesforce in Feb’19, Lightning Web Components is an open…