Question:- What is meant by an App in Salesforce? And what are the types of Apps?
Answer:- n Salesforce.org, an app serves as a container. There are tabs, a logo, and a name on them. It’s a collection of tabs that provide the Salesforce developer with the features he or she is seeking for. If you need to develop an app in Salesforce, simply follow the steps below: Setup ->Build ->Create->App-> Click on new Salesforce has two types of Apps which are: • Custom App • Console App
Question:- What is a Trigger, exactly? What are the different kinds of Triggers?
Answer:- Triggers are the custom actions done in Salesforce before and after changes are made to a record. Insertions, updates, and deletions are examples of these activities. Triggers may be used to call Apex, and a trigger is just Apex code that runs before and after the next set of activities. In salesforce, there are two types of triggers available which are: • Before trigger, used to update or validate records before saving into database • After trigger, used to access field values that are set by the system.
Question:- What is Salesforce Lightning?
Answer:- Salesforce Lightning is an app development framework developed by salesforce.com that simplifies business processes for users.
Question:- What is Lightning Framework?
Answer:- The Lightning Component Framework is a UI Framework by Salesforce that is used to develop single-page applications for desktop and mobile devices. Lightning Components can be built using two programming models – the Aura Components Model, and the Lightning Web Components Model.
Question:- What are the components in Salesforce Lightning?
Answer:- Salesforce Lightning includes the following components: 1. Lightning Component Framework – It is a javascript framework and a collection of general components that allow the development of recyclable components for personalizing the Salesforce1 Mobile App and Lightning Experience 2. Lightning Experience – It is the new and modern user experience and interface for Salesforce 3. Lightning Exchange – It relates to a part of AppExchange, which has over 70 partner components to start the development process 4. Lightning Design System – It helps build applications with the look and feel of Lightning Experience but without having to write a single line of CSS 5. Visual Building tools – It relates to drag-and-drop features that enable easy and quick customization and app building
Question:- What is Lightning Experience?
Answer:- Lightning experience is the name for the latest Salesforce desktop application. It has the latest features with advanced UI and speed optimization.
Question:- How are Lightning components built?
Answer:- Lightning components are built using two programming models: • Native Aura Components Model Aura is a freeware technology that powers the Lightning components. It is a UI framework used for the development of dynamic web apps for mobile and desktop devices. Aura bridges the client and server through partitioned multi-tier component development and uses JavaScript on the client-side as well as on the server-side. It has a scalable long-lived lifecycle to allow the development of growth-oriented apps. Aura allows the creation of apps that are not dependent on Salesforce data. Because of this, there is minimal disruption to the daily users. As the programs don’t have to be optimized for each device, Aura allows for more efficiency in development. • Lightning Web Components Model The aspects of Web Components that work well in browsers are supported by Lightning Web Components. It only adds what is necessary to work in all Salesforce-supported browsers. It is a W3C Web Components standard implementation. Lightning Web Components Framework is a set of advanced lightweight frameworks that are based on the most recent web standards. It’s a reusable code-based document object model element. It can help create sophisticated interfaces without using JS or the creation of a library making it simple and fast to use thus, saving a lot of time and work on the web stack.
Question:- What is the use of aura: namespace?
Answer:- Aura: namespace comprises all the main building blocks to define applications and components.
Question:- What are the different types of events of Salesforce Lightning components?
Answer:- ollowing are the three events of Salesforce Lightning components: 1. System Events: Salesforce fires the system events during the Lightning app lifecycle. 2. Application Event: It follows a traditional publish-subscribe model and is fired from an instance of a component. All the components that provide a handler for the event are notified. 3. Component Event: It is fired from an instance of a component and handled by the component that fired the event or a component in the containment hierarchy that receives the event.
Question:- What is Lightning Data Service?
Answer:- Lightning data service is used for carrying out basic tasks like creating, editing, loading, or deleting a record in a component without Apex code. It handles sharing rules and field-level security. Lightning data service enhances the performance consistency and UI.
Question:- What are the component bundles of the Lightning components?
Answer:- Following are the component bundles of the Lightning components: Controller: It handles the client-side events Documentation: This component bundle is used for recording the component’s use Style: It includes component style Renderer: It contains a component default rendering behavior Helper: General logic can be written in this component bundle used by different controller methods to avoid repetition
Question:- How can we use Lightning components with Salesforce1 Mobile App?
Answer:- Lightning Components can be used with the Salesforce1 mobile app by creating a traditional Lightning tab that refers to the component. That tab can be added to the Salesforce1 mobile navigation.
Question:- What are the different types of Lightning Record pages, and how are they built?
Answer:- Record page, App page, and Homepage are the different types of Lightning record pages and they can be built using Lightning App Builder.
Question:- What is Lightning Out?
Answer:- Lightning out is used if a component has to be used on the external site. The advantage is that Lightning components can be utilized in a visual force page. It acts as a bridge to surface Lightning components in any remote web container.
