Category Lightning Web Component

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…

Using LWR to Build Custom Pages in Salesforce

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

LWC | Call External APIs from JavaScript

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.

Approve/Reject a Record via Screen Flow 

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

Essentials to Know to Get Started with Lightning Web Components

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