Salesforce Development Tutorial (LWC): How to use Data Attributes to easily pass data from your component HTML template to your JavaScript Controller
|

Salesforce Development Tutorial (LWC): How to use Data Attributes to easily pass data from your component HTML template to your JavaScript Controller

What are Data Attributes and Why Should I Use Them? Data attributes are a truly magical thing that will, at some point, get you out of some prickly situations as a front end developer. They are essentially a way of storing data on an html element so that when a JS event gets fired your…

Salesforce Development Tutorial(LWC): How to Generate a Word Document from a Lightning Web Component
|

Salesforce Development Tutorial(LWC): How to Generate a Word Document from a Lightning Web Component

[sm-youtube-subscribe] Why Create an LWC that can Generate Word Documents? This is a little more self explanatory than many of the blog posts I do, but let’s go over some things. You typically wanna create this because the business has a need (for one reason or another) to generate a word doc. I’ve had businesses…

Salesforce Development Tutorial (LWC): How to create Custom Lightning Web Component Utility Modules

Salesforce Development Tutorial (LWC): How to create Custom Lightning Web Component Utility Modules

Why create Utility Modules for Lightning Web Components? If you’re asking this question, I have feeling you don’t often utilize utility modules (or utility classes) anywhere… so let me be the first to welcome you to this absolutely magical world of utilities. They will make your life easier, code updates simpler and your code base…

Salesforce Development (LWC): How to Communicate between Aura Components and Lightning Web Components Using Custom Events and the Api Decorator
|

Salesforce Development (LWC): How to Communicate between Aura Components and Lightning Web Components Using Custom Events and the Api Decorator

Why Would You Want to Communicate Between Component Types? There are a bunch of reasons it’s beneficial to communicate between component types but the most common ones that I have found are the following: 1) You’re building a new component and realize you need functionality that only Aura Components support, but it’s a very small…