Category: Lightning

Different tools used for creating Lightning app

There are several different tools used for creating Lightning app are as follows Developer Console: Browser-based ednor providing code hinting and code validation for Lightning components as well as debugging, unit testing, and debugging services for Apex. Force.com IDE 2 : Based on the Eclipse platform, this powerful, open-source client application enables you to create, modify …

Creating new Custom fields in Salesforce

Salesforce provides several standard fields, but every business is unique so we need to create our own custom fields in Salesforce objects. We can create new custom fields in Salesforce for custom objects and standard objects. In our previous Salesforce tutorial, we created our custom Certification object and what are the different fields in Salesforce. Now …

How to view Salesforce Licences

Salesforce Licences are available in the Company Information. To view Salesforce Licences follow the steps given below Click on the gear icon at the top of the page and launch Setup On the left-hand side you will see the Quick Find Box type Company Information. The Company Information page also displays all the User Licenses, Permission …

APEX Tutorial | Salesforce Apex Basics

Salesforce Apex Tutorial : Apex is an object-oriented and strongly typed programming language developed by Salesforce for building Software as a Service (SaaS) and Customer Relationship Management (CRM). Using Apex Programming Language developers can execute flow and transaction control statements. Salesforce Apex syntax is similar to Java and acts like database stored procedures. Apex helps developers …

Lightning Web Components

Lightning Web Components Lightning Web Components is a new framework for building Lightning components. For Lightning Web Components development you need to set up SalesforceDX and VsCode as Lightning web components are currently not available in the Developer console. Lightning components can be built using two methodologies namely the lightning aura component and the Lightning web component. For end-users aura …

How to Handle Events in LWC

How to Handle Events in LWC : Lightning web components dispatch standard DOM events. Components can also create and dispatch custom events. Use events to communicate up the component containment hierarchy. For example, a child component, example-todo-item, dispatches an event to tell its parent, example-todo-app, that a user selected it. Events in Lightning web components are …

Wire Adapter in LWC

Lightning Web Components has an elegant way to provide a stream of data to a component. Define a data provider called a wire adapter. A wire adapter in LWC simply provides data. A wire adapter doesn’t know anything about the components that it provides data to. In a component, declare its data needs by using the …

How to use third-party JavaScript libraries in LWC

You can use third-party JavaScript libraries in LWC with Lightning web components. For example, use a library with interactive charts and graphs or one to reduce code complexity. Using JavaScript to manipulate the DOM isn’t recommended because the Lightning Web Components engine does it more efficiently. However, there are some third-party JavaScript libraries that take over …

Salesforce LWC Life Cycle Overview

LWC Life Cycle is managed by the framework. The framework creates components, adds and removes them from the DOM, and renders DOM updates whenever the state of a component changes. A lifecycle hook is a JavaScript callback method triggered at a specific phase of a component instance’s lifecycle. LiLWC Lifecycle Flow This diagram shows the flow …

Getting Started with LWC

Lightning Web Components is an open-source UI framework developed at Salesforce. You can use LWC to customize Salesforce, but you can also use LWC to build any web app. The LWC compiler and engine code available in the open-source repository is ahead of the code available on the Salesforce Platform. Most, but not all, LWC features …