YouTube Icon

Interview Questions.

Top 25 Salesforce Lightning Interview Questions and Answers - May 31, 2022

fluid

Top 25 Salesforce Lightning Interview Questions and Answers

Q1. Might We at any point Make A Lightning Component That Shows Up In Both The Mobile And The Desktop User Interfaces ?
We can utilize Lightning Components straightforwardly in Lightning Experience, the Salesforce1 Mobile application, format based networks, and custom independent applications. Moreover, we can remember Lightning parts for a Visualforce page, that permitting us to involve them in Salesforce Classic, Console, and Visualforce-based networks.

Q2. What Is Lightning Experience?
Lightning Experience is the name for the all new Salesforce work area application, with north of 25 new highlights, worked with a cutting edge UI and enhanced for speed.

Q3. Is Lightning A Mvc Framework ?
No, it's a part based structure.

Q4. What Are The Advantages Of Lightning ?
The advantages incorporate an out-of-the-case set of parts, occasion driven design, and a structure upgraded for execution.

Out-of-the-Box Component Set - : Comes with an out-of-the-crate set of parts to launch building applications. You don't need to invest your energy improving your applications for various gadgets as the parts deal with that for you.

 Rich part environment : Create business-prepared parts and make them accessible in Salesforce1, Lightning Experience, and Communities.

Execution - :Uses a stateful client and stateless server design that depends on JavaScript on the client side to oversee UI, It insightfully uses your server, program, gadgets, and organization so you can zero in on the rationale and collaborations of your applications.

Occasion driven engineering - : occasion driven design for better decoupling between parts

Quicker advancement - : Empowers groups to work quicker with out-of-the-container parts that work consistently with work area and cell phones.

Gadget mindful and cross program similarity - : responsive design,supports the most recent in program innovation like HTML5, CSS3, and contact occasions.

Q5. Do We Need A Namespace To Develop Lightning Components ?
No. Lightning Components used to require a namespace, yet that is as of now not a prerequisite.

Q6. What Is Aura? For what reason Do We Use The Aura: Namespace In The Code ?
Quality is the open source innovation that powers Lightning Components. The air: namespace contains all of the fundamental structure blocks for characterizing parts and applications.

Q7. Is There Any Limit On How Many Component To Have In One Application ?
there is no restriction.

Q8. Accomplishes Lightning Work With Visualforce ?
indeed Lightning work with Visualforce.

Q9. What Is Difference Between Visualforce Components And Lightning Components ?
Visualforce parts are page-driven and the majority of the work is finished on the server. Lightning is planned from the part up, instead of having the idea of a page as its central unit. Lightning Components are client-side driven, which makes them more powerful and dynamic.

Q10. What 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.

Q11. Are Lightning Components Intended Only For Mobile Apps ?
Parts have been worked to be portable first, however considering responsive plan. With Lightning we can construct responsive applications quick for work area, portable and tablets.

Q12. What Are The Tools Included In Lightning ?
Lightning Component Framework - Components and augmentations that permit you to construct reusable parts, tweak the Salesforce1 Mobile App, and assemble independent applications.

Lightning App Builder - another UI instrument that allows you to assemble applications lightning quick, utilizing parts given by Salesforce and stage engineers.
Lightning Connect - A mix device that makes it more straightforward for your Force.com application to consume information from any outer source that adjusts to the OData spec.
Lightning Process Builder - A UI instrument for picturing and making computerized business processes.
Lightning Schema Builder - A UI instrument for survey and making items, fields, and connections.
Q13. Do I Always Create An App Bundle First When Develop Lightning Component ?
Not really, We can begin with a Component pack.

Q14. Is Lightning Components Replacing Visualforce ?
No.

Q15. Might We at any point Integrate Lightning Components With Another Framework, Such As Angular?
Indeed. we can incorporate the functioning outsider code inside a Visualforce Page, install the Visualforce Page inside a Lightning Component. This Lightning Component can be utilized as some other Lightning Component in different conditions.

Q16. What Is The Use Of The Aura:method Tag In Lightning ?
we can Use < aura:method > to characterize a strategy as a feature of a part's API. This empowers us to straightforwardly call a strategy in a part's client-side regulator as opposed to terminating and dealing with a part occasion. Utilizing works on the code required for a parent part to call a strategy on a kid part that it contains.

Q17. Where We Can Display Lightning Component ?
There are various opportunities for show lightning part..

Lightning Experience: We can show part in the Lightning Experience utilizing the App Builder.we can alter the landing page, alter a record detail page or make/alter a new application page to incorporate it.

Salesforce1 Mobile application: We can show part in the Salesforce1 Mobile application by making a custom Lightning tab that references it and adding that tab in portable route.

Layout based local area: we can show part in format based (for example Napili) people group utilizing the Community Builder.

Independent Lightning application: By make an independent Lightning application (for example myapp.app) and remember part for this application. Access Lightning application by URL.

Q18. What Happens With Existing Visualforce Pages In Lightning Experience ?
They'll keep on being upheld in the ongoing UI and Lightning Experience.

Q19. What Is Lightning ?
Lightning is the assortment of instruments and innovations behind a huge move up to the Salesforce stage.

Lightning incorporates:

Experience: A bunch of current UIs upgraded for speed. This incorporates the Lightning Experience, Salesforce1 Mobile application and format based networks.

Lightning Component Framework: A JavaScript system and set of standard parts that permit you to construct reusable parts to modify the Lightning Experience, Salesforce1 Mobile application and layout based networks and fabricate your own independent applications.

Visual Building Tools: Drag-and-drop advancements for quick and simple application building and customization's. Utilize the Lightning App Builder to redo the Lightning Experience and Salesforce1 Mobile application. Utilize the Community Builder to redo layout based networks.

Lightning Exchange: A segment of the AppExchange where you can track down 70+ accomplice parts to kick off your turn of events.

Lightning Design System: Style guides and present day undertaking UX best practices to construct pixel wonderful applications that match the look and feel of the Lightning Experience and Salesforce1 Mobile application.

Q20. How Might We Deploy Components To Production Org ?
we can convey part by utilizing oversaw bundles, Force.com IDE, Force.com Migration Tool or Change Sets.

Q21. Might We at any point Make One Component Inherit Styles/css From A Parent Component, Or Must We Always Define It In The Component ?
Indeed, we can acquire styles from parent. there is compelling reason need to continuously characterized in the part.

Q22. Might We at any point Include One Component To Another ?
Indeed, we can Include one lightning part to another lightning part

Q23. How Might We Use Lightning Components With The Salesforce1 Mobile App ?
By Create a custom Lightning tab that focuses to our part and remember that tab for our Salesforce1 Mobile route.

Q24. Might We at any point Include External Javascript/css Libraries In Components ?
Indeed ! we can involve numerous libraries in our lightning part like JQuery, Bootstrap, custom CSS and custom Javascript libraries from a nearby asset (static asset).

Q25. Are There Any Css (styles) Provided By Salesforce.com As Part Of The Supported Lightning Components ?
Indeed. Salesforce Lightning Design System.




CFG