Question:- What are the different phases in the application events propagation?
Answer:- 1. Capture Phase 2. Default Phase 3. Bubble Phase
Question:- What is Lightning App Builder?
Answer:- The Lightning App Builder is a click-and-point tool used for creating Lightning pages for mobile applications and the Salesforce Lightning Experience. The Lightning pages are built through the Lightning components that are configurable, reusable, and compact. The Lightning App Builder can help build a home page, app page, and record page.
Question:- What are bound and unbound expressions?
Answer:- Unbound and bound expressions are used to perform data binding. When a child component is called from the parent component, the value can be sent from the attribute of a parent component to a child component attribute.
Question:- What are the different types of attributes that can be used for storing the values?
Answer:- The following attributes are used for storing values: • Boolean • Integer • String • Datetime • Date • Decimal • Map • Set
Question:- What is the importance of the aura: method tag in the Salesforce Lightning?
Answer:- The aura: method is used for defining the method within the API of the component. This allows a method to be directly called in the client-side controller of a component instead of handling or dismissing an event. The can help simplify the code that the parent component requires to call a method on the child component.
Question:- Explain force: record data.
Answer:- The force: record data is a conventional controller of the Lightning component. Operations like deleting, creating, and editing a record can be accomplished through force: record data. It removes and recognizes the replicate request passing to the server if the same record data is requested.
Question:- Explain Lightning: navigation.
Answer:- Lightning: navigation is used to navigate to a page reference or create a URL from the given page reference. For navigating, the page reference object must be defined. Navigation is possible for the following supported features: • Lightning Component • Record Page • Object Page • Named Page • Web Page • Knowledge Article • Record Relationship Page • Navigation Item Page
Question:- What is FlexiPage?
Answer:- The metadata related to a Lightning page is portrayed by FlexiPage. The Lightning page portrays an adaptive screen that is made up of regions that include the Lightning components. The Lightning page includes 25 components. The Flexi page is stored as an XML file, and deployed through a deployment tool or Salesforce metadata API. The Lightning pages are referred to as Flexipages in the API.
Question:- What is Lightning Locker in Salesforce Lightning?
Answer:- The Lightning Locker service is a robust and powerful security architecture for the Lightning components. It enhances security by isolating Lightning components that belong to one namespace from those in a different namespace. It promotes best practices thus, enhancing the supportability of the code by only allowing access to supported APIs and removing access from non-published framework internals.
Question:- What is the importance of the implements in the Lightning component?
Answer:- Implements are used for referring to the platform interfaces that allow usage of the components in various contexts or grant access to additional context data. A component can use multiple interfaces with the help of implements.
Question:- What is the difference between and ?
Answer:- < ui:input> does not contain Lightning Design System styling, while < Lightning:input> contains
Question:- What is the use of Lightning:recordEditForm?
Answer:- In the Lightning:recordEditForm, the Lightning:inputField is used to create the editable fields. Using the Lightning: output field, the read-only information can be displayed. Lightning:recordEditForm has the following features: • It displays the record edit layout to edit a particular record • It displays the record to create the layout to create a particular record
Question:- What is an action provider and a value provider?
Answer:- Action provider allows the management of the actions, events, and handlers for the component. The value provider allows the usage of the component attribute’s value in the component Javascript and markup controller.
Question:- What are Lightning Web Components(LWC)?
Answer:- Lightning Web Components can help build the Lightning components. They are the traditional HTML elements that are developed with advanced Javascript and HTML elements. The components can be built by using any model and locating the components on the Lightning page. Salesforce Extensions for the Visual Studio code is required to develop the LWC, and salesforce CLI is used for deploying it from the desired organization.
