LWC – LoadScript Issue

Hello, I’m Brett with WIPDeveloper.com. Since we’ve taken a look at how to use loadScript, I wanted to point out one issue you may encounter when using this library Legra, I originally used the IFFE version of it, which is and immediately invoked function expression. It’s a pattern used in JavaScript. The IFFE file is […]

LWC – Loading JS from a Static Resource

Hello, I’m Brett with WIPDeveloper.com. Since we’ve been taking a look at loading from static resources, let’s take a look at loading a JavaScript library from a Static Resource. I’ve already traded a Lightning Web Component and built out some of the preliminary parts. I have a button that says “Build” that when I click […]

LWC – Loading CSS from a Static Resource

Hello, I’m Brett with WIPDeveloper.com. We’ve already taken a look at how to load a static resource so that we could access an image. But what if we want to add some styles from a style library to our lightning Web Component? Conveniently, Salesforce provides us with a loadStyle method. So we can load styles […]

LWC – Using a Static Resource

Hello, I’m Brett with WIPDeveloper.com. When working with lightning web components, one of the things you might have to access is a static resource. In this case, I would like to display an image inside of one of the Lightning Web Components. Let’s take a look at how to do that. I’ve already created a […]

LWC Local Development Beta

Hello, I’m Brett with WIPDeveloper.com. In early October, Salesforce released their Lightning Web Components Local Development beta. Let’s take a look at setting that up real quick. First thing we should do is make sure that our SFDX CLI is updated. Looks like I am so now we’re going to add the plugin right now […]

LWC - Render List of Objects

LWC – Render List of Objects

Hello, I’m Brett with WIPDeveloper.com, we’re going to cover how to render a list of objects that we get back from Salesforce. To get those objects, we are going to use an apex class. I’ve called it object list controller, because I’m super creative. Currently, it is returning a list of accounts up to 50. […]

LWC - getListUi Beta

LWC – getListUi Beta

Hello, I’m Brett with WIPDeveloper.com. While trying to come up with a way to get a bunch of objects to a lightning web component from Salesforce, I stumbled across this getListUi adapter for the wire adapter. It’s currently in beta. But it looks promising if it becomes ga at some point. So we’re going to […]

LWC - Render a List of Values

LWC – Render a List of Values

So I’ve already created a new lightning component called values list. And I’ve added it to our page. And you can see it already has a lightning card with the title of value says values value less, but it should say values list. And then I have a place for the list to go. So […]

LWC – Admin Friendly Labels

Hello, I’m Brett with WIPDeveloper.com. Sometimes we would like to change the label as it appears in the app builder layout for the admin. Rather than having the API name for the component, we can set the label in the metadata file for component to set the label that appears and app builder, we would […]

top