How To Enable SObject Intellisense in VSCode for Salesforce DX

Quick Tip. Salesforce DX already comes with Intellisense for Apex classes and the different primitive types. Eg. Strings For SObjects it’s a per-project setting you need to enable once you have your project created. Open the Command Palette and choose SFDX: Refresh SObject Definitions What the command does under the hood is it will create… Read More How To Enable SObject Intellisense in VSCode for Salesforce DX

Fix for flowruntime:lookup Error With Salesforce Flows

If you recently used the custom lookup component while working on Salesforce Flows and get this error. We can’t display component ‘flowruntime:lookup’, because it isn’t supported in Classic runtime.  Chances are you still are on Classic. The component only works on Lightning. An easy fix is to enable the Lightning runtime in Flows. From Setup,… Read More Fix for flowruntime:lookup Error With Salesforce Flows

Enable Auto Push or Auto Deploy With Salesforce DX on VSCode

The title says it all if you have been developing before on Force.com IDE/ Mavenmate/IntelliJ and started using Salesforce DX. One that gets pretty tedious fast is manually pushing your code to your scratch org or deploying to your non-tracked org(DE/Sandbox). To enable auto push/deploy simply edit the .vscode/settings.json. This folder can be hidden on… Read More Enable Auto Push or Auto Deploy With Salesforce DX on VSCode

How to Validate forms built with Lightning Components

Learn how to validate lightning components forms easily. I recently had a requirement to create a basic lightning component to capture form inputs. I previously had a not so good experience with building custom validation with Lightning components back in Summer17 when lightning was pretty new. I was using force:inputField and also used lightning:inputField. Past… Read More How to Validate forms built with Lightning Components