Salesforce Lightning Interview Question | Most Asked Interview Questions

0
3070
Salesforce Lightning Interview Question
Salesforce Lightning Interview Question

Salesforce Lightning Interview Question | Most Asked Interview Questions

Salesforce Lightning Interview Question Set 1

#1 What is Salesforce Lightning?

Lightning is the collection of tools and technologies behind a significant upgrade to the Salesforce platform. Lightning includes:

  • Experience: A set of modern user interfaces optimized for speed. This includes the Lightning Experience, Salesforce1 Mobile App, and template-based communities.
  • Lightning Component Framework: A JavaScript framework and set of standard components that allow you to build reusable components to customize the Lightning Experience, Salesforce1 Mobile App, and template-based communities and build your own standalone apps.
  • Visual Building Tools: Drag-and-drop technologies for fast and easy app building & customizations. Use the Lightning App Builder to customize the Lightning Experience and Salesforce1 Mobile app. Use the Community Builder to customize template-based communities.
  • Lightning Exchange: A section of the AppExchange where you can find 70+ partner components to jumpstart your development.
  • Lightning Design System: Style guides and modern enterprise UX best practices to build pixel perfect apps that match the look and feel of the Lightning Experience and Salesforce1 Mobile app.

#2 Where we can use Lightning Components?

We can use Lightning Components in the following places:

  • Drag-and-drop components in the Lightning App Builder and Community Builder.
  • Add Lightning Components to Lightning Pages.
  • Add Lightning Components to Lightning Experience Record Pages.
  • Launch a Lightning Component as a Quick Action
  • Override Standard Actions with Lightning Components
  • Create Stand-Alone Apps

#3 What are the tools included in lightning?

  • Lightning Component Framework โ€“ Components and extensions that allow you to build reusable components, customize the Salesforce1 Mobile App, and build standalone apps.
  • Lightning App Builder โ€“ A new UI tool that lets you build apps lightning fast, using components provided by Salesforce and platform developers.
  • Lightning Connect โ€“ An integration tool that makes it easier for your Force.com app to consume data from any external source that conforms to the OData spec.
  • Lightning Process Builder โ€“ A UI tool for visualizing and creating automated business processes.
  • Lightning Schema Builder โ€“ A UI tool for viewing and creating objects, fields, and relationships.

#4 What is Lightning Experience?

Lightning Experience is the name for the all-new Salesforce desktop app, with new features, built with a modern user interface and optimized for speed.

#5 What is the Lightning Design System?

Style guides and modern enterprise UX best practices to build pixel perfect apps that match the look and feel of the Lightning Experience and Salesforce1 Mobile app

#6 What happens to my existing Visualforce Pages?

Theyโ€™ll continue to be supported in the current UI and Lightning Experience. 

#7 What options are there for the Lightning Record Page assignment?

โ€œLightning Pagesโ€ can be assigned at three different levels:

  • The org default
  • App default โ€“ this overrides the assignment done at the org level
  • App, record type, profile โ€“ this overrides the assignment done at org level and at the App level.

#8  What are attributes? What are their required parameters?

Attributes are variables that are used to store values. We specify the Name, Type, Default, Description, Access in the attribute definition. Only Name and Type are required parameters in the attribute definition, for example:
<aura:attribute name=”firstName” type=”String”/>

#9  What are component events?

Component events are events that are fired by child components and handled by the parent component. We can make use of this event when we need to pass a value from a child component to a parent component.

#10 What are application events?

Application events can be fired from any component and can be handled by any component. They do not require any kind of relationship between the components, but these components must be a part of a single application. This is an important Salesforce Interview Questions

#11 How can you call a javascript controller action from a component markup?

We can use action provider to call a javascript controller action from the component markup, for example:

In the component markup: &lt;lightning:button   label="SUBMIT" onclick="{!c.doSubmit}"/&gt;
In the controller:
({
doSubmit:function(component, event, helper) {
// Some operations.
}
)}

#12 What are the phases in component events propagation?

There are two phases in component event propagation.

  1. Bubble Phase
  2. Capture Phase

#13 What are the phases in application events propagation?

  1. Bubble Phase
  2. Capture Phase
  3. Default Phase

#14 How do the bubble phase and the capture phase propagate?

  • Bubble phase: propagates from Bottom to Top.
  • Capture phase: propagates from Top to Bottom.

#15 What is the use of aura:method tag in salesforce lightning?

We can use <aura:method> to define a method as part of a componentโ€™s API. This enables you to directly call a method in a componentโ€™s client-side controller instead of firing and handling a component event. Using <aura:method> simplifies the code needed for a parent component to call a method on a child component that it contains.

#16 What is a FlexiPage in lightning?

FlexiPage represents the metadata associated with a Lightning page. A Lightning page represents a customizable screen made up of regions containing Lightning components.
A Lightning page can contain up to 25 components. Flexi pages are stored as an XML file and can be deployed using metadata API or any deployment tool. This is an important Salesforce Interview Questions

Lightning pages are referred to as FlexiPages in API and referred to as Lightning pages elsewhere in SFDC documentation.

#17 What Is Lightning Data Service?

Use Lightning Data Service to load, create, edit, or delete a record in your component without requiring Apex code. Lightning Data Service handles sharing rules and field-level security for you. In addition to not needing Apex, Lightning Data Service improves performance and user interface consistency. The main advantage of using lightning data service is that we can perform basic operations without Apex code. This is an important Salesforce Interview Questions

#18 What is Locker Service in Salesforce Lightning?

Locker Service is a powerful security architecture for Lightning components. Locker Service enhances security by isolating Lightning components that belong to one namespace from components in a different namespace. Locker Service also promotes best practices that improve the supportability of your code by only allowing access to supported APIs and eliminating access to non-published framework internals.

#19 What are value providers in Salesforce Lightning?

Value Providers in lightning Component encapsulate related values together and used to access data. In Salesforce lightning, we have two value providers for a component they are v (View) and c (Controller).

  • v is a component attribute set which helps to access component attribute values in markup
  • c is component controller helps us to link with event handlers and action for the component

#20 What is a List of Global value providers in lightning?

  • $globalID
  • $Browser
  • $Label
  • $Locale
  • $Resource

Check it out Latest Jobs for Salesforce Developer: Click here

If You Want To Get More Daily Such Jobs Updates, Career Advice Then Join the Telegram Group From Given Link And Never Miss Update.

Join Telegram Group of Daily Jobs Updates for 2010-2021 Batch: Click Here

Why Youโ€™re Not Getting Response From Recruiter?: Click here

How To Get a Job Easily: Professional Advice For Job Seekers: Click here

Cognizant Latest News: Up To 20K+ Employees Will Be Hired: Click here

COVID-19 Live Tracker India & Coronavirus Live Update: Click here

Why Remove China Apps took down from Play store?: Click here

Feel Like Demotivated? Check Out our Motivation For You: Click here

List of Best Sites To Watch Free Movies Online in 2020: Click here

5 Proven Tips For How To Look Beautiful and Attractive: Click here

LEAVE A REPLY

Please enter your comment!
Please enter your name here