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: How to use Named Credentials to simplify your Apex Salesforce Integrations
|

Salesforce Development Tutorial: How to use Named Credentials to simplify your Apex Salesforce Integrations

Why should you bother using Named Credentials? In short, it’s gonna save you a bunch of time, code and unnecessary configuration, especially when you are authenticating using OAuth. Named credentials basically simplify the authentication portion of your callouts to to external services and allow you do it declaratively through configuration. No matter how hardcode a…

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 Tutorial: How to Setup Visual Studio Code for Salesforce Development
|

Salesforce Development Tutorial: How to Setup Visual Studio Code for Salesforce Development

Why use an IDE? First things first… after you use an IDE you will never ask this question again. IT MAKES YOUR LIFE SO MUCH EASIER! Please take the time to leverage an IDE when doing development. Your work will take a fraction of the time it would take otherwise. Ever wish your code editor…

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…

Salesforce Development: How to Setup Illuminated Cloud 2 with the IntelliJ IDE
| |

Salesforce Development: How to Setup Illuminated Cloud 2 with the IntelliJ IDE

What is an IDE? IDE stands for Integrated Development Environment. Its primary purpose is to make your life as a developer considerably easier by doing things like: 1) Syntax Highlighting2) Auto-completing functions names, field names, object names, etc.3) Integrating git easily4) Improving debugging functionality5) Putting your command line in the same place you develop.6) Tons…

Salesforce Development: Creating a Self-Scheduling Apex Class
|

Salesforce Development: Creating a Self-Scheduling Apex Class

Why This Is Useful Have you ever wondered, “How do I effectively schedule an apex class to run every single minute of the day?” or maybe every hour or second (please don’t schedule anything every second, lol). Well there’s a great way to do it, by having your scheduled apex class reschedule itself! This method…