Top 20 Salesforce Lightning Interview Question and Answers
Salesforce
Lightning is a set of tools that included in the latest upgrade of Salesforce
which makes the speed to optimize. Lightning is also the name of the desktop
app. Salesforce use this very much in their development because of its
features. Before Lightning, there is Salesforce Classic which is older version.
Even though many other jobs are present, Salesforce Lightning training and job is unique. Good hands on knowledge on these concepts
will put you ahead in interview. Every where we can find job opportunities for
this position. Onlineitguru has
interview questions which are exclusively designed for employees to assist them
in clearing interviews. Salesforce Lightning interview questions are useful
for employees who are good at Salesforce technology.
1) How Can We Use Lightning Components With The Salesforce1 Mobile
App ?
By Create a
custom Lightning tab that points to our component and include that tab in our
Salesforce1 Mobile navigation.
2) Can We Make A Lightning Component That Shows Up In Both The Mobile
And The Desktop User Interfaces ?
We can use
Lightning Components directly in Lightning Experience, the Salesforce1 Mobile
app, template-based communities, and custom standalone apps. Additionally, we
can include Lightning components in a Visualforce page, that allowing us to use
them in Salesforce Classic, Console, and Visualforce-based communities.
3) Is Lightning An Mvc Framework ?
No, it’s a
component-based framework.
4) Which Parts Of Lightning Components Are Server-side And Which Are
Client-side?
Lightning
Components are use JavaScript on the client side and Apex on the server side.
5) Can We Make One Component Inherit Styles/css From A Parent
Component, Or Must We Always Define It In The Component ?
Yes, we can
inherit styles from parent. there is no need to always defined in the component.
For more info at salesforce online training
6) What Is The Use Of The Aura: method Tag in Lightning?
we can Use <
aura:method > to define a method as part of a component’s API. This enables
us to directly call a method in a component’s client-side controller instead of
firing and handling a component event. Using simplifies the code needed for a
parent component to call a method on a child component that it contains.
7) Can We Include One Component To Another ?
Yes, we can Include one lightning component to another
lightning component
there is no limit.
9) Is Lightning Components Replacing Visualforce?
No.
10) What Is Aura? Why Do We Use The Aura: Namespace In The Code?
Aura is the open source technology
that powers Lightning Components. The aura: namespace contains all of the basic
building blocks for defining components and applications.
11) Do We Need A Namespace To Develop Lightning Components?
No. Lightning Components used to
require a namespace, but that is no longer a requirement.
12) 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.
o
Lightning App Builder –
A new UI tool that lets you build apps lightning fast, using components
provided by Salesforce and platform developers.
o
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.
o
Lightning Process Builder – A
UI tool for visualizing and creating automated business processes.
o
Lightning Schema Builder – A
UI tool for viewing and creating objects, fields, and relationships.
13) What Is Difference Between Visualforce Components And Lightning Components?
Visualforce components are
page-centric and most of the work is done on the server. Lightning is designed
from the component up, rather than having the concept of a page as its
fundamental unit. Lightning Components are client-side centric, which makes
them more dynamic and mobile friendly.
14) Does Lightning Work with Visualforce?
Yes Lightning work with Visualforce.
15) Are There Any Css (styles) Provided by Salesforce.com as
Part of the Supported Lightning Components?
Yes. Salesforce Lightning Design
System.
16) Are Lightning Components Intended Only For Mobile Apps?
Components have been built to be
mobile first, but with responsive design in mind. With Lightning we can build
responsive apps fast for desktop, mobile and tablets.
17) What Are The Advantages Of Lightning?
The benefits include an out-of-the-box set of components, event-driven
architecture, and a framework optimized for performance.
Out-of-the-Box Component
Set -: Comes with an out-of-the-box set of components to kick start
building apps. You don’t have to spend your time optimizing your apps for
different devices as the components take care of that for you.
Rich component
ecosystem-: Create business-ready components and make them available in
Salesforce1, Lightning Experience, and Communities.
Performance –:
Uses a stateful client and stateless server architecture that relies on
JavaScript on the client side to manage UI, It intelligently utilizes your
server, browser, devices, and network so you can focus on the logic and
interactions of your apps.
Event-driven
architecture -: event-driven architecture for better decoupling between
components
Faster development –:
Empowers teams to work faster with out-of-the-box components that function
seamlessly with desktop and mobile devices.
Device-aware
and cross browser compatibility –: responsive design supports the latest in
browser technology such as HTML5, CSS3, and touch events.
18) Can We Integrate Lightning Components With Another
Framework, Such As Angular?
Yes. we can include the working 3rd
party code inside a Visualforce Page; embed the Visualforce Page inside a
Lightning Component. This Lightning Component can be used as any other
Lightning Component in various environments.
19) Can We Include External JavaScript/css Libraries In Components?
Yes! We can use multiple libraries in our lightning component
like JQuery, Bootstrap, custom CSS and custom JavaScript libraries from a local
resource (static resource).
20) What Happens With Existing Visualforce Pages In Lightning Experience?
They’ll continue to be supported in
the current UI and Lightning Experience.
21) How Can We Deploy Components To Production Org?
We can deploy component by using managed packages,
Force.com IDE, Force.com Migration Tool or Change Sets.
22) What Is Lightning Experience?
Lightning Experience is the name
for the all new Salesforce training desktop app, with over 25 new features, built with a
modern user interface and optimized for speed.
No comments: