When creating Lightning Web Components, how often have you had to create an Apex class just to do a simple query. Even for the simplest of queries, you've to create 2 Apex classes, one class that does the query and one additional test class. And often, you want to avoid this overhead for simpler use-cases. … Continue reading LWC SOQL Utility – One Apex class for all queries
LWC
How to create a Custom Property editor?
Hi, I recently did a session at Kochi Developer group where I demo-ed how to create a Custom Property Editor from scratch. We also discussed how Custom Property Editor can prove to be useful and what are the use cases where you consider building Custom Property. Fortunately, the session was recorded so I thought might … Continue reading How to create a Custom Property editor?
Navigate to Flow Screens Dynamically with Custom Navigation Buttons
I recently came across a very interesting use case(thanks to Sarah Khalid). Imagine you have a flow screen with a bunch of custom navigation buttons that take you to the next flow screen when clicked. But what if you want to navigate to different screens based on the button you clicked? NOTE: One way to … Continue reading Navigate to Flow Screens Dynamically with Custom Navigation Buttons
How to dynamically set custom CSS properties in LWC?
Hi! 🙂 Imagine, as a developer, you've a use case where you're developing a custom modal LWC component and you'd like to make it flexible so that you can easily adjust the height of the modal. One (and relatively the easier) way of doing this is by using in-line CSS, and here's how it will … Continue reading How to dynamically set custom CSS properties in LWC?
Customize Pre-Chat in Embedded Service Chat
Did you know you can customize the pre-chat form in the Embedded Service Chat? Well I certainly did not until I came across lightning:base-prechat base component, handy stuff I must say. I recently had a use case where the customer wanted to hide the pre-chat form on the chat bot which seems very easy, however, … Continue reading Customize Pre-Chat in Embedded Service Chat