Gartner named Salesforce a leader in the 2025 Magic Quadrant for Customer Data Platforms. This information highlights that making a career in Salesforce CRM is promising and future-proof.
We have categorized Salesforce Interview Questions – 2026 (Updated) into different levels as follows:
Salesforce Fundamentals & Advanced Level Topics Interview Questions Include:
Declarative, Audit reporting features: Include Salesforce platform questions, creating child records, custom object creation, user interface design, Different page layouts, governor limits for users, custom labels in Salesforce, web services in Salesforce, specific user declarations, creating dynamic dashboards & creating object relationships in Salesforce.
Programmatic features:- Includes Salesforce developer platform questions, What is an apex programming language, apex class creation with examples, what is bucket field, creating a VisualForce component, what is VisualForce page, few test methods of salesforce, what needs to be done when an error occurs, different data types, sharing rules for user-level access, Different apex transactions, How DML operations to be conducted on records.
| Master the complete CRM ecosystem before your interview with our comprehensive Online Salesforce training. |
Let’s start with learning Salesforce basic-level interview questions, which will provide you with a strong foundation on the CRM platform.
Salesforce provides CRM software and cloud-based solutions that help enterprises connect better with their customers. It helps businesses manage their customers' data and track their activities efficiently.
The following are the major subsidiaries of Salesforce:
Objects in Salesforce are used as database tables that are used to store information of an organization. We have two types of objects in salesforce, they are.
Standard Object: These are the objects provided by Salesforce, including contacts, accounts, opportunities, leads, cases, campaigns, products, contracts, and dashboards.
Custom Object: Modifications made to Salesforce by users. It stores the essential and unique information of an organization. Custom Object includes page layouts, relationships to other objects, a custom user interface tab, custom fields, etc.
An App in Salesforce.com is a container that holds various things, such as a logo, name, and a set of required tabs. It is also called a group of tabs that work together to prove the functionality that you are looking for.
In Salesforce, you can customize apps to match your requirements, or you can build new applications by combining custom and standard tabs.
The process to create an app in Salesforce:
Setup ---> build---> Create---> App---> Click on new.
By following this procedure, you can build an application. However, you want.
We can create two types of Apps in Salesforce
Custom app: This type of app can be used in every business scenario. It is widely used in the market.
Console app: This type of app can be used only in the client service business, where we focus on solving the client’s issues. It is not widely used in the market.
| Check-Out Salesforce Admin Interview Questions Video |
Below are the Salesforce Standard Fields
Standard fields are nothing but audit fields.
‘Time’ is the latest field in Salesforce.
They are “Date filters.”
By selecting the “All Time” in the “Range” on the page.
| For more insights and in-depth knowledge on Salesforce, check out MindMajix's Salesforce webinar |
There are four types of reports available in Salesforce:
The Audit trail in Salesforce is a unique feature that helps you and other administrators track changes made across the organization. It would be helpful for an organization with more administrators. This audit trail shows information about the 20 most recent changes in your organization.
Below are the things that you could come to know:
We get the following benefits by using Salesforce CRM.
A profile is a collection of rules and procedures a person must follow to access particular records. There are multiple profiles available in Salesforce. For example, a sales profile can access leads, opportunities, contacts, campaigns, and more.
As for the second question, the answer is yes. The people who work in one department have the same profile. So the people who work under a particular department would be assigned the same profiles.
As we have seen in the sales profile, many people work under it, and each person assigned to it has the same profile. Hence, any number of people can have the same profile.
Role: In Salesforce, a role increases a user's data visibility. It can be done by sharing rules or by building a role hierarchy. Using roles, you can control access.
Profile: Unlike roles, the profile is mandatory for all and remains at the object level. It is treated as a building pillar of an organization.
We have three types of relationships in Salesforce, which are:
This Master-Detail relationship is the same as the relationship between a parent & child. In this context, the Master is treated as the parent, and the Detail as the child. The master Object controls the behavior of the Detail object.
The child's survival depends on the parent because if the Master is deleted, the Detail will also be automatically deleted. You can create Roll-up summary fields in master records to calculate the Min, Avg, and Sum of the child records.
The relationship between the two objects is called a lookup relationship. Lookup relationships connect two objects so you can look up related items from other items. It can be one-to-one or one-to-many.
The external lookup relationship connects the child object to the parent object. The child object may be either a custom, standard, or external object. It is used to identify the correct map of the child object with the parent external object. The external lookup relationship field values are matched against the External ID values.
It is a personal lookup to the same object. The self-relationship creates a tree diagram of the objects.
Let's take an example of an object, “merchandise.”In this, we can create a merchandise relationship between two accounts.s. This is called a self-relationship.
Workflow is an excellent way to automate specific business processes in Salesforce. To do this, you are required to define certain rules and regulations to automate tasks such as sending an email, updating a field, and create a task.
A transfer record is a type of function used to grant permission. If a user has permission to share a record with others, they can share the record with read-only access.
In Salesforce, we use dashboards to represent the data in a pictorial format. The Salesforce dashboard is capable of displaying 20 reports at a time.
A protocol that defines a uniform way of passing XML-encoded data. SOAP Stands for Simple Object Access Protocol.
The computer system executes one or more tasks according to the set of rules and scheduled tasks.
A trigger is Apex code that executes before or after the insert, update, or delete statements. A trigger enables you to perform custom actions before and after modifications to Salesforce records.
| For more details, visit - Trigger Scenarios in Salesforce |
The actions listed below are part of the workflow.
The parent determines record-level access; mandatory on the child for the parent's reference; cascade delete (if you delete the parent, it can cascade delete the child).
These questions will improve your expertise in the Salesforce platform to the next level. Let’s jump in!
We can create up to 2k records in Matrix, Tabular & Summary Reports.
Yes, it is possible in a master-detail relationship.
A maximum of two MDR fields can be created in an object.
A maximum of 40 Lookup relationship fields can be created in an object.
If you delete the parent record in the MDR, the child record is also deleted.
It will restore the record with the data in the object.
In Salesforce, you can create up upto 25 roll-up summary fields per object by default.
Yes, the parent will update the object.
| Do you want to get certified and build your career in Salesforce Marketing Cloud? Then enroll in "Salesforce Marketing Cloud Training" this course will help you to achieve excellence in this domain. |
Steps to find out the user's license:
Salesforce Org → Setup → Administer → Company Profile → Company Information.
No, we cannot delete the user in Salesforce.
No, we cannot change the license during profile creation.
It creates a link between the custom object and the standard object recorded in a related list. This is helpful to find the product's defects.
It helps in creating a many-to-many relationship between two objects in Salesforce. Using many-to-many relationships, we can connect each record of an object to multiple records of other objects, and vice versa. The junction object helps us connect the two selected objects.

A permission set is a collection of settings and permissions that extends a user's functional access without changing the user's profile. You can use permission sets to extend access to functionality for various user types, regardless of their roles.
It is a time-consuming task to create a profile; instead, you could easily create a permission set as a sharing rule. If we want to give access to other users, we use sharing rules.
We have some fields that are indexed by default in Salesforce, which are:
The Fiscal year refers to the start and end dates of a company's financial year. We have two types of financial years in Salesforce:

There are many custom fields available, such as Picklist, Currency, Date, Text, Picklist (multi-select), Email, Percent, Number, Phone, Text area, Lookup relationship, Geolocation, Checkbox, Master-Detail relationship, etc.
We have five different ways in Salesforce to store various types of records, such as images, files, and documents.
They are:
The differences between the Data table and Page block
Page block:
It is defined inside the page block section or page block. To design visual pages using style sheets, the required attribute is “value.” It will automatically display Column Headers.
DataTable:
| Do you want to get certified and build your career in Salesforce Vlocity? Then enroll in "Salesforce Vlocity Training" this course will help you to achieve excellence in this domain. |
Many things can contribute to data loss in Salesforce. Which includes :
Junction objects are mainly used to create a many-to-many relationship in Salesforce. If you consider a recruiting application as an example, you can find a position that is linked to many candidates. Similarly, a candidate can apply for multiple positions.
Salesforce gives accurate results for the following things:
Sharing rules are used only to allow greater access to records, not to restrict.
No, we can not do that in Salesforce.
Role Hierarchy :
If we add a user to a role, the user above them in the role hierarchy will have read access.
Setup → manage users → roles → setup roles → click on ‘add role’ → provide name and save.
OWD:
Setup → Security Controls → sharing settings → Click on ‘Edit’
Manual Sharing :
Manual Sharing is the process of sharing a single record with a single user or a group of users.
We can see this button on the record's detail page, but it is visible only when the OWD setting is set to Private.
Using the insert method, we can insert records, but if an error occurs in any record, the system will throw an error: "insertion failed," and none of the records are inserted. To execute a successful bulk insert operation, we will use the database method.
Yes, users can upload their custom logo in documents, and then they choose that logo for the organization.
We can customize various elements on page layouts, such as Fields, Buttons, Custom Links, and Related Lists. We can also create sections.
Yes. We can create a Roll-Up Summary field on the master object.
No, either all or none.
This video is designed to give you an understanding of the Salesforce platform and help you build your dream career in it. It makes you aware of the skills and certifications needed for Salesforce Admins and Developers. It also includes steps and strategies to prepare for and crack the Salesforce job interviews.
We have further categorized Salesforce Apex Interview Questions – 2026 (Updated) into 4 levels; they are:
The interface is a collection of unimplemented methods. This will specify the method's signature, the input types we pass to the method, and the output type.
Generally, the interface methods are defined as global.
We can use Apex in the following ways
All Apex programs run on-demand entirely on the Force.com Platform.
When end users trigger the execution of Apex by clicking a button or the Visualforce page, the application servers retrieve the compiled instructions from the metadata and send them to the runtime interpreter before returning the result.
Apex is a strongly typed object-oriented programming language.
It allows the developer to execute flows and transaction control statements.
Apex enables developers to add business logic to most system events like button clicks related to record updates and VisualForce pages.
Below are the ways to call an Apex class in Salesforce.
The batch Apex class implements the Database. Batchable interface with the three methods as follows:
Start: We use the start method at the beginning of the batch Apex job. We use it to collect objects or records and pass them to the interface for execution. It returns a DatabaseQueryLocator object that comprises the objects or records sent to the job.
Finish: We call this method once the batch processing is complete. We use this method to send confirmation emails or to execute the post-processing operations.
Execute: We use this method for every batch of records sent to it. We use this method for data processing. This method does the following:
Email services are automated processes that use Apex classes to process the contents, Headers, and attachments of inbound email.
| Related Article: SalesForce Integration |
Map Class in Apex:
For Example, the following table represents a map of countries and currencies
| Country(Key) | ‘United States | ‘Japan’ | France’ | ‘England’ | ‘India’ |
| Currency (Value) | ‘Dollar’ | Yen’ | ‘Euro’ | ‘Pound’ | ‘Rupee’ |
Batch Apex allows you to define a single job that can be broken up into manageable chunks, whereas every chunk can be processed separately.
In the Batch Apex it will fetch all the records on which you want to perform the field update and divide them into a list of 200 records and on every 200 records operation is performed separately.
This would help us to execute on more than 10,000 records as it won’t perform an operation on all the records in a single transaction instead it divides them into a number of subtasks where each subtask may contain records up to 4000.
Example:
If you need to update every record of the Account object in your organization, we have governing limits that would prevent us from achieving this task.
Reason: In a single transaction, we can process only 10,000 records. Now, in the above case, if the organization has more than 10,000 records, we cannot perform this field update.
| Want to enhance your skills in dealing with the world's best CRM, enroll in our Salesforce Admin Training |
It will invoke the Apex classes to run at a specific time.
Anybody who wants to schedule their class they have to implement the schedulable interface.
Schedule Interface: The class that implements this interface can be scheduled to run at different intervals. This interface has several methods that are
Public void execute(schedulablecontext sc)
Public class mySchedule implements schedulable
{
Public void execute(schedulablecontext sc)
{
Account a = new Account(Name = ‘Faraz’)
Insert a;
}
}
The trigger is an Apex Code that executes before or after. The following types of DML Operations:
An Apex transaction represents a group of operations that must be executed together. It includes the Data Manipulation Language (DML) and is used to query records. The DML operations in a transaction either succeed or, if anything goes wrong or occurs even with a single record, could result in a rollback of the entire transaction.
Triggers are divided into 2 types:
Before Triggers can be used to update or validate values of a record before they are saved to the database.
After Triggers Before Triggers can be used to access field values of the records that are stored in the database and use this value to make changes in other records.
Syntax:
Trigger trigger_name on Object_Name(trigger_events) { Code_block } WHERE trigger_events can be comma separated list of events.
Apex Managed Sharing enables developers to support an application in sharing requirements.

When you want to call the Apex class on the Visualforce page, you have to declare it in the following format.
< Apex : page controller = “class name “ >
Whenever we call a Visualforce page whose controller attribute is defined, it first creates an object for the Apex class defined in the controller. When an object is created for an Apex class, the constructor is invoked first.
A Sandbox is a testing environment used to test code or conduct experiments in isolation without affecting the production environment.
A Sandbox helps you test a newly developed application on a Visualforce page. It is not possible to check anything in the production environment; doing so disrupts normal operation. So, to get out of this problem, developers use a sandbox to test the application.
Types of sandboxes available are :
It is the cloud's fundamental technology for securely and cost-efficiently sharing IT resources.
Static resources allow you to add content you want to reference on the Visualforce page, including images, JavaScript files, archives, and CSS files. The maximum size of a static resource for an organization is 250 MB.
The Sets can store any of the following data types
Visualforce components are small, reusable units of functionality, such as widgets, user interface elements, and panels. We have two types of VisualForce components: standard and custom, which define user interface behavior.
A query language that allows you to construct simple but powerful query strings and to specify the criteria that should be used to select the data from the platform database.SOQL Stands for Salesforce Object Query Language.
We must avoid using index values like Trigger.New[0] as we never know how many records we get in Trigger.New at runtime.
If we want partial DML to happen, use a database.insert(list, false);
Salesforce Object Query Language is used to query records in the database.com based on requirements.
There are 2 types of SOQL Statements:
Static SOQL:
The Static SOQL Statement is written in [ ] (Array Brackets)
These statements are similar to IINQ (Ion Integrated Query)
Example:
String search for =’Jones’;
Contact[] contacts=[select testfield__c, FirstName, LastName from Contact Where Last Name=:search for];
Dynamic SOQL:
It refers to creating an SOQL string at runtime using Apex code.
Example 1:- Queries
String myTestString = ‘TestName’;
List List= Database.Query(SELECT Id FROM MyCustomObject__c WHERE Name = :myTestString);
Example 2:- Queries
String resolvedfield L = myvariable.field__c;
List L = Database.Query(‘SELECT Id FROM myCustomObject__c WHERE field__c = ‘+resolvedfield_L);
Syntax -
SELECT field1, field2,.... FROM Object_Type [WHERE condition]
Example:-Queries
List accountList = [SELECT ID, Name, FROM Account];
List accountList = [SELECT ID, Name, FROM Account WHERE annual revenue<10000];
With API version 18.0 and later/you can use GROUP BY with aggregate functions, such as SUM() or MAX(), to summarise the data and roll up query results rather than processing individual records in your code.
Syntax: [ GROUP BY field GROUP BY LIST]
The SOSL statement evaluates the list of sObjects, with each list containing the search results for a particular sObject type. The result lists are always returned in the same order as they were specified in the query.
If an SOSL query does not return any records for a specified sObject type, the search results include an empty list for that sObject.
Example: You can return a list of accounts, contacts, opportunities, and leads that begin with the phase map.
List < list < subject >> search list = [ find 'map*' In ALL FIELDS RETURNING Account (ID, Name), contact, opportunity, lead ];
Note:
Example:
FIND 'map*' IN ALL FIELDS RETURNING account (Id, Name], Contact, Opportunity, Lead. In the Force.com API, the value of the FIND Clause is demarcated with braces.
FIND {map*} IN ALL FIELDS RETURNING account [Id,name], contact ,opportunity,lead;
From search list , you can create arrays for each object returned.
Account [ ] accounts = (( list < accounts > ) search list [0] );
Contact [ ] contacts = [( list ) search list [0]) ;
Opportunity [ ] opportunities = ((list < opportunity> ) search list [2]) ;
Lead [ ] leads = (( list < lead> ) search list [3]);
We can use JavaScript remoting in Visualforce to call methods in Apex controllers from JavaScript.
JavaScript remoting has 3 parts.
To use JavaScript remoting in a Visualforce page, add the request as a JavaScript invocation with the following form:
Syntax -
[namespace.] controller.method ( [parameters ...] Call back Function, [configuration] );
JavaScript remoting supports the following configuration parameters.
| Name | Datatype | Description |
| Buffer | Boolean | Whether to group requests executed close to each other in time into a single request. The default is true. |
| Escap | Boolean | Whether to escape the apex methods response. The default is true. |
| Timeout | Integer | The timeout for the Static Resource request in milliSeconds. Default is 30000(30 seconds) |
It is about working on a project without code.
It is about working on a project with code.
=: is the operator used to compare.
IN - keyword.
We get Logic & Data.
Add a JavaScript file in Static Resource setup -> develop -> Static Resources -> click on ‘New’ -> Name: filename and add file from local desktop and save.
| SOQL - (Salesforce Object Query Language) | SOSL (Salesforce Object Search Language) |
| Using SOQL we can Search only on one object at a time. | Using SOSL, we can search across many objects at once. |
| We can query on all fields of any datatype | We can query only fields with data types text, phone, and Email. |
| We can use SOQL in the Triggers and the classes. | We cannot use Triggers, but can in classes. |
| We can perform a DML operation on the results of an SQL query. | We cannot perform DML operations on search results. |
We can use the future annotation to indicate that these methods execute asynchronously.
Syntax:
global class class_name
{
@future
Static void methodname(parameters)
{
//body of the method
}
}
A web directory where hundreds of app exchange apps are available to Salesforce customers to review, demo, comment upon, and /or install. Developers can submit their apps for listing on the appexchange directory if they want to share them with the community.
We use <Apex:selectoption>
We cannot add formula fields to the custom index in Salesforce.
Workflow:
Trigger:
Standard controller, select option, page reference, message, etc.
The transient keyword prevents the data from being saved in the view state. This should be used for very temporary variables.
The maximum number of field dependencies we can use on a Visualforce page is 10.
Click on your Name tab, then click on Personal, and you will find Reset my security token."
An app development model that allows apps to be defined as declarative “blueprints,” With no code required. Data model, objects, forms, workflows, and more are defined by metadata.
S-Controls are the predominant Salesforce.com widgets, built entirely in JavaScript. These are hosted by Salesforce but executed on the client-side. S-Controls are superseded by Visualforce now.
A wrapper or container is a data structure, a class type, or an abstract data type that contains multiple collections of objects. It helps in displaying various objects on a VisualForce page in a single table.
Public websites and applications that are directly integrated with your Salesforce organization without requiring users to log in with a username and password.
A Tab is a user interface to display custom object data or other embedded web content to a user. We have three types of tabs in Salesforce, which are:
Below is the list of templates available in Salesforce:
Setup → Security Controls → sharing settings → Click on ‘Edit’
Apex sharing: The Share object is available for every object (for the Account object, it is AccountShare). If we want to share the records using Apex, we have to create a record in the shared object.
Yes, we can create and edit the Visualforce pages in both the production environment and in a sandbox. The only thing you can not do in a production environment with a Visualforce page is add unique values, for which you need to do this in the sandbox.
No, you can not do that. If you want to make any edits to the Apex trigger/Apex class, that should be done in a sandbox environment.
Page layouts allow you to personalize or customize the given page objects or records. It helps customize or design the page according to your requirements. The page layout editor helps you customize pages. On this page, you can customize elements such as buttons, fields, custom links, and related lists.
We can use the Database. The executeBatch() method is used to start the batch job programmatically.
Syntax:
The class name that we are passing to the database. The executeBatch() method should be the method of the class that implements the database—batchable interface.
Yes. Just like S-Controls. Visualforce pages support embedded merge fields.
Let’s read through some Salesforce administrator interview questions and answers in this section
We use the Roll-up summary field to calculate values for associated records, such as those in a related list. We can also use it to create values for a master record based on the values in the detailed records. But we must connect the master and the detail with a master-detail relationship.
In Salesforce, Queues help us distribute, prioritize, and assign records to teams to share workloads. Queues apply to leads, service contracts, custom objects, cases, and more.
Escalation rules apply to escalation cases according to the rules specified in the escalation rule entry. In addition to rule entries, we can create escalation actions to determine what happens when a case escalates. The escalation rule can reassign a case to another support agent or a support queue.
Validation Rules enable us to apply specific logic to contribute to our organization’s data integrity. We can define conditions on the object that are not available. For instance, we do not want to label an opportunity as closed if the account does not have an address.
The following are the primary components of the workflow:
Criteria: Criteria is the “if” portion of the statement. We have to set criteria for the workflow rule. First, we have to create a workflow rule, then configure the criteria.
Action: Action is the “then” portion of the statement. The action tells us what to do when the criteria are satisfied and occurs after the workflow rule configuration. We can add a time-dependent or immediate action to a particular workflow rule.
We perform time-dependent actions at particular times before closing the record. The workflow re-evaluates the record over time. It checks whether the workflow rule criteria are satisfied, and only then does the workflow rule execute the actions.
Workflow Task
When we have to assign tasks to a Salesforce user, we create a workflow task. A workflow task allocates a new task to a role, user, or record owner. It helps us define task parameters such as priority, status, due date, and subject.
Workflow Alert
A workflow alert is an email that an approval process or a workflow rule creates in Salesforce and is transmitted to different recipients.
Auto-Response is about sending emails to leads or cases based on specific record attributes and promptly responding to customer inquiries or issues by setting up the auto-response rule. At the same time, we can set one rule for leads and another for cases.
In Salesforce, we use custom labels for creating a multilingual application. Using the native language, they give information to users in the form of help texts and error messages.
We can define the custom labels as custom text values that we can access from the Apex class, Lightning components, and even the Visualforce page. We can translate these values into Salesforce-supported language. Through the following path, we can access custom labels:
Setup->Search Custom Labels in Quick Find Box->Custom Labels
Sharing rules grant access to users associated with public groups, roles, or territories. It provides a higher level of access with exceptions, which is far from our organization's settings. The following are the two kinds of sharing rules:
To ensure that no one gains access to others' resources, Force.com imposes various restrictions (governor limits) on code execution. Salesforce must do this due to its multi-tenant architecture, in which all customers and organizations share a single resource. If the governor's limits are exceeded, an error will occur, and the program will terminate.
The following are the types of Governor limits:
| Nail complex configuration and Flow questions with our hands-on Salesforce Admin training |
In Salesforce, the Approval process is a sequence of steps used to approve records. An approval process is also helpful for tracking who approved or rejected something, and when. It includes different approval models, notifying approvers, and conditional logic for who must approve.
Salesforce Chatter is a social networking application that enables us to share information and collaborate. It helps us to build greater employee engagement through motivation. Salesforce Chatter also provides a forum throughout the enterprise for sharing fresh ideas and understanding. We can also use the mobile feed for tracking our project.
Guest users are users who do not have user accounts in our organization. They are also known as unauthorized users as they do not have to log in. We can make the pages accessible. Unauthorized users can create or edit the records.
Generally, we have various limitations and considerations for assessing. Yet we can use this feature to solve use cases at no additional cost, since guest user licenses are free.
A change set is a group of components that we can migrate between associated organizations (e.g., from sandbox to production, sandbox to sandbox, etc.).
Here is a list of the most frequently asked Salesforce Developer interview questions and answers.
To ensure that our code meets specific standards, Apex test coverage shows how many lines of code in our classes or triggers have been tested by the test methods. Test coverage percentage is the result of the number of covered lines divided by the sum of uncovered and covered lines. To deploy to production, we need at least 75% test coverage.
Lightning message service is a distinctive Salesforce feature that enables interaction among Aura, Lightning Web Components, and Visualforce on the same Lightning page. We can use the Lightning message service only in Lightning Experience.
OAuth is a standard for access delegation. Generally, we use it to grant applications or websites access to data on other websites, without requiring passwords.
Connected Apps integrate with Salesforce through APIs and use OAuth and SAML for authentication, sign-on, and token issuance to access the Salesforce APIs.
In addition to OAuth capabilities, connected apps enable Salesforce admins to establish different security policies and provide external control over how similar apps are used.
| Architect enterprise-grade custom apps with confidence through our expert-led Salesforce Developer training. |
Outbound Message is an automation function that can be triggered from a workflow rule. We can send the message to explicit web services that start other processes in explicit systems.
We can define specific fields as an External ID on the object. We can use these External ID fields to balance data from explicit systems using a distinct reference ID.
For instance, if we need to reconcile data from the explicit accounting system with Salesforce Accounts, we must promptly use an external ID field to reference the accounting system's unique ID in place of the Salesforce ID.
First, we have to define the page section to be refreshed, then the event that triggers the refresh. The method changes if the area being refreshed is similar to the one managing the event. It also depends on whether we are processing on the server or changing the user interface.
By using the action provider, we can invoke the JavaScript controller action through a component markup.
Application events
By using any component, we can fire and manage application events. Application events do not require any relationship among components; however, these components should be part of an application.
Component events
Child components fire component events, and Parent components handle them. We use component events to send a value from a child component to a parent component.
For example, if we have to display 100 records on the page.
We can perform the above process through Pagination. We can achieve pagination through the following ways:
To display error messages on the VisualForce Page, we must use:
<apex:pageMessages></apex:pageMessages>
In an Apex class, we must use:
ApexPages.addMessage(new ApexPages.Message(ApexPages.severity.Error, ‘Error Message’));
| Custom Objects | Custom Settings |
| Custom Objects store the data in the database. | Custom settings store data in the Application Cache. |
| Custom objects must use SQL queries to fetch records from the database. | Do not need to use SQL queries to fetch records. |
| In custom objects, all data types exist. | In Custom settings, only confined data types exist when compared to custom objects |
| On Custom objects, we can create apex triggers and validation rules. | On List Custom settings, we cannot create Apex triggers and validation rules |
| We can create a tab for custom objects. | We cannot create a tab for custom settings. |
We cannot customize Apex in the production organization. We must change and deploy through a sandbox and satisfy test coverage requirements.
Salesforce has different API’s that allow us to communicate with the system in various ways:
REST API: REST API will enable us to integrate with Salesforce applications via HTTP methods using JSON or XML.
Bulk: The Bulk API provides programmatic access, allowing us to load data into our Salesforce enterprise rapidly.
Streaming: We can use the Streaming API to receive notifications about Salesforce data changes that match the SOQL query we define. The streaming API is functional when we need to push notifications from the server to the client based on the criteria we define.
Bucket Fields classify records in Salesforce reports without any custom fields or formulas; they are available only in reports. When we create a bucket column, we can classify various group report values.
We use isBlack() for text fields. Since text fields cannot be NULL, even though nothing is given as a value, the ISNULL() function fetches only empty values. If we use ISNULL() with a text field, then it returns false.
Salesforce records data on customer details, sales numbers, customers served, and repeat customers, and uses this data to create detailed charts, dashboards, and reports. In this way, it tracks our organization's sales.
The batch apex class deploys the database batchable interface with the three methods as follows:
Start: We use the start method at the beginning of the Batch Apex job. We use it to collect objects or records and pass them to the interface for execution. It returns a DatabaseQueryLocator object that comprises the objects or the records sent to the job.
Finish: We call this method once the batch processing is complete. We use this method to send confirmation emails or to execute the post-processing operations.
Execute: We use this method for every batch of records sent to it. We use this method for data processing. This method does the following:
The following are the different types of bindings:
Yes, we use a getter method to return values for a controller. Each value computed by the controller and shown on the page should have a getter method.
On the other hand, we use the setter method to pass the user-defined values from the page markup to the controller. In the controller, we automatically execute the setter method.
The developer console is an integrated development environment with a collection of tools. We use these tools to debug, create, and test applications in Salesforce.org.
A package is a collection of components or associated applications. The following are the kinds of packages:
We use managed packages to distribute and sell applications to clients. Developers sell user-friendly applications and licenses by using AppExchange for managed packages. These are entirely updatable during continuous upgrades; we remove fields or objects.
The following are the ways to implement metadata in Salesforce:
The reRender attribute defines an element's list that we can update dynamically through the Salesforce AJAX library. We do not need the entire page to refresh. Only a part of the page detected by the components is named in the “.rerender” attribute.
By using the <chatter: feed> component, we can display the chatter feed.
Example:
<apex:page>
<chatter: feed entityId=”{!$User.Id}”/>
</apex:page>
A blob variable is intended to store binary data. tostring() converts the blob back into a string.
string string1='test string';
Blob blob1 = Blob.valueof(myString);
String String2 = myBlob.toString();
System.debug(String2);
The apex:outputLink body comprises an image or text that we can display in the link.
<apex: outputlink value="https://mindmajix.com/" id="theLink">www.mindmajix.com </apex:outputLink>
| Explore Salesforce Sample Resumes Download & Edit, Get Noticed by Top Employers! |

Our work-support plans provide precise options as per your project tasks. Whether you are a newbie or an experienced professional seeking assistance in completing project tasks, we are here with the following plans to meet your custom needs:
| Name | Dates | |
|---|---|---|
| Salesforce Training | May 30 to Jun 14 | View Details |
| Salesforce Training | Jun 02 to Jun 17 | View Details |
| Salesforce Training | Jun 06 to Jun 21 | View Details |
| Salesforce Training | Jun 09 to Jun 24 | View Details |