Lets write a Lightning Web Component(LWC) that gives us a search bar with auto complete suggestions of Places around us using Google Maps / Place API Integration with Salesforce. Actually, We are definitely not going see anything new today..! There are plenty of excellent articles already in google about google Maps integration with salesforce. We …
Read MoreCategory: Lightning Web Components
developers voice on Salesforce Lightning web components
Part-6 CRUD operations on lwc
Today, lets learn.. how to create, update, retrieve and delete a lightning web component(lwc) from an sfdx project using command line interface (CLI). So, lets start from scratch.. Go to a fresh / New folder in your desktop.. and execute the below command. It creates an empty sfdx project container with name dreamhouse, now point …
Read MorePart-5 Modern JavaScript in lwc
ECMAScript 2016 has introduced a new keyword ‘class’ in client side controller..in an attempt to make JavaScript at least appear to work like a class-based language.. Visualforce is a tag based markup language and with a controller. Whenever we click a button, usually some kind of method will be executed in apex and return the …
Read MorePart-4 REST API callout from lwc
Let us try to know about how to get the data from any other 3rd party source (lets say SAP module) to lightning web component (lwc), by making a REST API callout from Salesforce, and display it in a lightning web component (lwc).. In other words lets integrate Salesforce with any other system, where salesforce …
Read MorePart-3 How to delete an lwc
Today we will see how to delete a lightning web component (lwc). At some point of time, i felt, i want to delete an lwc and re-deploy it, but how to delete lwc..? There are multiple ways to delete an lwc. Few of those ways were listed below.. Scratch org or Sandbox From Developer console …
Read MorePart-2 System Setup
Click on the following links to install all the following tools Github Salesforce CLI Visual studio To check whether they were installed correctly.. go to command prompt, type make sure that the current version of CLI is 45+ because development of lwc is supported from CLI with version greater than 45, If your CLI version …
Read MorePart-1 Introduction to lwc
Salesforce has come up with new programming model for developing lightning components based on Modern javascript. let us try to know the reasons behind it. First of all, Modern javascript in the sense⦠In 1995 modern was JavaScript events In 2004 modern was AJAX In 2006 modern was jQuery In 2010 modern was Angular 1 …
Read More