LWC Articles - Page 2
LWC Design Attributes: Make Components Admin-Friendly
Tired of admins asking you to change a label or a hex color? Use LWC Design Attributes to expose those settings in...
LWC dynamic import: How to load components on demand
Stop loading heavy components all at once and making your pages sluggish. I will show you how to use dynamic...
Refresh LWC data with Platform Events and refreshApex
Ever update a record in Salesforce only to see your custom LWC still showing old data? This guide shows you how to...
How to disable paste lightning input in Salesforce LWC
Stopping users from pasting into a lightning-input field is tricky because of the Shadow DOM. Here are three ways...
Build a Custom Salesforce Flow Counter LWC for Better UX
Standard number inputs in Screen Flows can be a pain for mobile users. This guide shows you how to build a custom...
LWC text to speech: Build Voice Features in Salesforce
You don't need expensive libraries to make your Salesforce UI talk. This guide shows you how to use the built-in...
LWC class binding - Use objects and arrays in API 62.0
Managing dynamic CSS classes in Salesforce used to be a headache with all those string concatenations. With the...
Close your Dispatcher Console custom action programmatically
Ever built a custom action for the Dispatcher Console only to have the window stay open after the logic finishes?...
Refresh GraphQL Query Results in Lightning Web Components
Refresh cached GraphQL query results in LWC using refreshGraphQL(result) and keep your UI up-to-date after updates.
Quickly Creating Cases from the Salesforce Service Console using Utility Actions
A practical guide to building a Service Console utility that lets agents capture case details quickly via an...
Handling Encrypted SSN in LWC: Show Full or Masked SSNs Based on User Permission
Safely display SSNs in LWC by checking View Encrypted Data in Apex, masking unauthorized users' values, and...