InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
In the Salesforce Lightning component, what is the difference between force:lightningQuickAction and force:lightningQuickActionWithoutHeader? |
Answer»
|
|
| 2. |
What exactly is FlexiPage in the context of Salesforce Lightning? |
|
Answer» The metadata associated with a lightning page is represented by FlexiPage. The lightning page DEPICTS an adaptive screen made up of areas that include the lightning COMPONENTS. There are 25 components on the lightning page. The Flexi page is saved as an XML file and deployed USING a DEPLOYMENT tool or metadata API. In the API, lightning pages are referred to as Flexipages. |
|
| 3. |
What are the different types of lightning pages available in Salesforce Lightning? |
|
Answer» Following are the different types of lightning pages available in Salesforce Lightning :
|
|
| 4. |
What do you understand about lightning pages in the context of Salesforce Lightning? |
|
Answer» A Lightning page is a custom LAYOUT that you may use to create PAGES for the Salesforce mobile app or Lightning EXPERIENCE. Lightning pages are a cross between Visualforce pages and page layouts. Lightning pages, like page layouts, allow you to add custom items to a page. Instead of being fields or Visualforce components, these elements are Lightning components, which provide far more freedom. A Lightning page's structure changes depending on the device it's being viewed on. When you create a page, the template you choose determines how it appears on different devices. The template for the Lightning page divides the page into regions. Lightning pages are made up of Lightning components, which are small, reusable, and adjustable pieces that you can drag and drop into page regions in the Lightning App Builder. A Lightning page can be used to CONSTRUCT an app page that you can add to the NAVIGATION bar of a Lightning app, making it visible in both Lightning Experience and the Salesforce mobile apps. An app page allows users to quickly access the most important objects and items in the app. |
|
| 5. |
What is Visualforce? How is Salesforce Lightning different from Visualforce? |
|
Answer» Visualforce: Visualforce is a framework that allows developers to CREATE complex, creative user interfaces that run natively on the Lightning PLATFORM. The Visualforce framework provides a tag-based markup language, comparable to HTML, as well as a collection of server-side "common controllers" that make doing fundamental database operations like QUERIES and saves a breeze. Each Visualforce tag corresponds to a coarse or fine-grained user interface component, such as a segment of a PAGE, a related list, or a field, in the Visualforce markup language. Developers can attach their own logic with an Apex controller class to control the behaviour of Visualforce components, or they can utilise the same logic that is used in regular Salesforce pages to govern the behaviour of Visualforce components. The majority of the work is done on the server with Visualforce components. Rather than using the concept of a page as its core unit, Lightning is built from the ground up. Client-side centricity makes Lightning Components more DYNAMIC and mobile friendly. |
|
| 6. |
Differentiate between Salesforce Classic and Salesforce Lightning. |
|
Answer» Salesforce Classic: Salesforce Classic is simply a term used to DIFFERENTIATE between the new and old user interfaces. It's essentially the same stage that we've been using for a long time. With the passage of time, the expectation to learn and adapt grows, and we can more easily discern the gaps between the customer's requirements and the services that they are receiving. It is critical to stay up with advancements, enhancements, and customer requirements during this particularly delicate phase of time innovation. It's also critical to update the user interface to make it easier to use and to keep it up to date with the latest technology. Following are the differences between Salesforce Lightning and Salesforce Classic:
|
|
| 7. |
Differentiate between component events and application events in the context of Salesforce Lightning. |
||||||||||||
|
Answer» The following table lists the differences between component events and application events :
|
|||||||||||||
| 8. |
Explain how an application event propagates in the context of Salesforce Lighting. |
|
Answer» For the propagation of application events, the framework offers the CAPTURE, bubble, and default phases. The capture and bubble phases are similar to DOM handling patterns in that they allow interested components to engage with an EVENT and perhaps impact later handler behaviour. The framework's INITIAL handling behaviour is preserved in the default phase. The source component is the component that fires an event. The framework enables you to manage the event in stages. These phases provide you with the FREEDOM to decide how to handle the event in your application. The phases are as follows:
|
|
| 9. |
Explain how a component event propagates in the context of Salesforce Lightning. |
|
Answer» For component event propagation, the framework offers capture and BUBBLE phases. These phases are similar to DOM handling patterns in that they allow interested components to engage with an event and maybe impact how future handlers behave. The source component is the component that fires an event. The framework enables you to manage the event in stages. These phases provide you with the freedom to decide how to handle the event in your application. The phases are as follows:
|
|
| 10. |
Explain what is Lightning Out in the context of Salesforce Lightning. |
|
Answer» Lightning Out is a feature that allows Lightning Apps to be extended. It operates as a connector, allowing Lightning Components to be accessed from any external web container. This means you may utilise your Lightning Components on an external SITE (such as SharePoint or SAP), in a HYBRID app built with the Mobile SDK, or even on Heroku or in a Visualforce Page. You may embed Lightning Components in an app across domains and manage interactions between the component and the app directly in the DOM using the Lightning Out JavaScript libraries. Your Lightning Components become substantially more effective with Lightning Out. You can utilise Lightning Components not only in other Lightning Components or Lightning Apps, but you can also EXPOSE them in almost any web container, on or off the App Cloud. |
|