Question:- What are the tools included in lightning?
Answer:- • Lightning Component Framework – It provides components and extensions that can be utilized to develop reusable custom components, standalone apps, and customize the Salesforce1 Mobile App. • Lightning App Builder – An UI tool that lets you build apps rapidly with the help of drag and drop components provided by Salesforce. • Lightning Connect – An integration tool to easily integrate Salesforce to consume data from any external source OData specification. • Lightning Process Builder – Lightning Process Builder in Salesforce is a visualization tool for the automation of business processes. • Lightning Schema Builder – It is a visualization tool used to view and create objects, fields, and relationships.
Question:- What are Governor Limits in Salesforce?
Answer:- Governor Limits are some of the biggest challenges for a Salesforce developer. As whenever the Apex code exceeds the limit, it issues a run-time exception and it cannot be handled. The following is the list of some of the key Governor Limits in Salesforce: • Push Notification Limits • Per-Transaction Apex Limits • com Platform Apex Limits • Size-Specific Apex Limits • Miscellaneous Apex Limits • Static Apex Limits • Email Limits
Question:- What are the different types of collections in Salesforce Apex?
Answer:- Collections are the type of variables used to store multiple numbers of records (data). Types of collections in Salesforce are: • Lists • Maps • Sets
Question:- What are maps in Apex?
Answer:- Maps are used to store data in the form of key–value pairs, where each unique key maps to a single value. Syntax: Map country_city = new Map();
Question:- What is an Apex transaction?
Answer:- An Apex transaction represents a set of operations that are executed as a single unit. These operations include DML operations that are responsible for querying records. All the DML operations in a transaction either get completed successfully or get rolled back completely if an error occurs even in saving a single record.
Question:- What is the difference between public classes and global classes in Salesforce Apex?
Answer:- A global class is accessible across the Salesforce instance, irrespective of namespaces. Whereas, public classes are accessible only in the corresponding namespaces.
Question:- What are getter and setter methods?
Answer:- The get (getter) method is used to pass values from the controller to the VF page. Whereas, the set (setter) method is used to set the value back to the controller variable.
Question:- Which fields are automatically indexed in Salesforce?
Answer:- The following fields are automatically indexed in Salesforce: • Custom fields marked as an external ID or a unique field • Primary keys (ID, Name, and Owner fields) • Audit dates (such as SystemModStamp) • Foreign keys (Lookup or Master-Detail relationship fields)
Question:- A time-dependent workflow action cannot be created for which workflow?
Answer:- A time-dependent workflow cannot be created for ‘created, and every time it’s edited.’
Question:- What is a sandbox in Salesforce? What are the types of Sandboxes available?
Answer:- A sandbox is a similar copy of a Salesforce production for testing, development, and training. The content and size of a sandbox may vary depending on the type of the sandbox and the edition of the production organization which is associated with the sandbox. There are four types of sandboxes available: • Developer Sandbox • Developer Pro Sandbox • Partial Data Sandbox • Full Sandbox
Question:- What is Apex class?
Answer:- An Apex class is a template from which Apex objects can be created. These classes consist of other classes, variables, user-defined methods, exception types, and the static initialization code.
Question:- What is Salesforce CRM?
Answer:- It is a cloud-based CRM that doesn’t require IT experts to set up or manage the cloud. One can simply log in and connect to the customers directly. The CRM Salesforce system is a well-organized platform that provides information to its customers from different sources. It is a customer-centric system that integrates customers’ information for an organization’s benefit.
Question:- What is Salesforce Lightning?
Answer:- Salesforce Lightning is a platform that provides tools to every organization to build next-generation UI and UX in Salesforce. Lightning creates a modern productivity-boosting user experience. It is used to create a fast, beautiful, and unique user experience, just like real lightning, so that sales teams can sell their products faster. Lightning Experience uses an open-source Aura framework. It is a completely re-designed framework to create a modern user interface.
Question:- Why use Batch Apex instead of Normal Apex?
Answer:- There are various reasons why Batch Apex is better than Normal Apex. • A Normal Apex uses 100 records per cycle to execute SOQL queries. Whereas, a Batch Apex does the same in 200 records per cycle. So, it is very fast when the execution of SOQL queries is considered. • A Normal Apex can retrieve 50,000 SOQL queries, but in Batch Apex, 50,000,000 SOQL queries can be retrieved. • A Normal Apex has a heap size of 6 MB; whereas, a Batch Apex has a heap size of 12 MB. • When executing bulk records, Normal Apex classes are more vulnerable to encountering errors as compared to Batch Apex. The latter is normally error-less.
