Sometimes we need to share JavaScript code in Lightning Web Components (LWC). As code reusability is good feature and we can use same in LWC as well. To share JavaScript code between Lightning Web Components we need to create ES6 module. An ES6 module is a JavaScript file that explicitly exports variables or functions that…
Tag: VSCode
Visual Studio SOQL Builder
Visual Studio SOQL Query Builder is a VS code extension from Salesforce which we can use to create and run SOQL inside VS code. Using Visual Studio SOQL Builder we can see actual results without doing any guesswork. And we can do export records in JSON or CSV format. So if we need to take…
Local Development Server for Lightning Web Components
If you also use Playground to quickly test Lightning web components, then you are also aware that Salesforce will shut down playground in December 2020. But don’t worry we have Local Development Server for Lightning Web Components. The Local Development Server is a Salesforce CLI plug-in that configures and runs a Lightning Web Components-enabled server…
SFDX: Use VSCode + Scratch org
SFDX CLI is improving with each passing day. The number of developers using VScode as there default IDE is also increasing. If you don’t know how to setup SFDX cli, you can check my post. Today we will study how we can use VScode + Scratch Org for development in any org. ISV partner can…
Salesforce Summer 19 Release Notes: Top 20 Features
Salesforce is back again with Summer 19 Release. In this Hot summer, Salesforce comes with some of the cool features. I go through the Salesforce Summer 19 Release Notes and found some point. Which are useful for both Salesforce Admin and Developer. In this Summer 19 Release Notes Salesforce keep its focus on Lightning Web…
Lightning Web Components: Datatable with LDS and Apex
Current week is Lightning Web Components (LWC) week. So I tried my hands on it and created a sample app. Using this sample app you will get the idea of Lightning Web Component (LWC) Datatable, LWC Lightning Data Service ( LDS ) RecordEditForm components. We will also check how to pass data between components using…
SFDX: Use With Non Scratch Org
Salesforce DX is the new IDE provided by Salesforce. So now we can use SFDX with Non Scratch Org. Previously we can use SFDX with environment hub and production orgs. Where we need to create scratch org to use it. But now we can use it with any org (Developer Edition / Sandbox). This makes…