Salesforce Interview Questions
Salesforce Interview Questions
Salesforce Interview Questions
Home / Salesforce
Rating: 5.0 Views: 459355 by Vinod M Last modified: October 19th 2021
Related The contribution of Salesforce in fulfilling the CRM needs of organizations is invaluable. Since long
CRM global leader with its market share of 19.7%. As the growth of Salesforce is projected to b
articles
demand for skilled Salesforce professionals would also be high.
Salesforce
We have collected a bunch of Salesforce interview questions and Salesforce scenario-based intervie
Tutorial
sourced from Salesforce experts. I hope these questions would help you in cracking the Salesforce
SalesForce
your dream job. If in case you have attended any Salesforce interview earlier and are unable to find
Deployment
here, then feel free to comment on those questions in the comment section, and we will update th
and
interview questions blog so that it could help other students to learn from your experience. Let's g
Assertions
SalesForce In This Salesforce CRM Interview Questions, You Will Learn
API in Cloud
Computing Salesforce Basic Interview Questions
Apigee vs
Salesforce Fundamentals & Advanced Level Topics
Swagger
Questions Include:
Apigee vs Kong
Apigee vs API
Declarative, Audit reporting features:- Includes salesforce platform questions, creating child re
Gateway
creation, user interface design, Different page layouts, governor limits for the user, custom labels in
Citrix Interview
service in Salesforce, specific user declaration, creating dynamic dashboards & creating object relat
Questions
Apigee Programmatic features:- I
Certification -A
ncludes Salesforce developer platform questions, What is apex programming language, apex class
Complete
examples, what is bucket field, creating a VisualForce component, what is VisualForce page, few tes
Guide
salesforce, what needs to be done when an error occurs, different data types, sharing rules for use
apex transactions, How DML operations to be conducted on records.
Want to enhance your skills in dealing with the world's best CRM, enroll in our Online S
Salesforce provides CRM software and cloud-based solutions that help enterprises to connect bette
customers. It supports businesses to manage their customer's data and track their activities efficie
Call us on :USA - +1 972 427 3027|IND - +91 90524 03388 Drop us a query
2. What are the Salesforce subsidiaries?
Search your interest Course Courses Login
Tableau
Pardot
Heroku
Mulesoft
Demandware Inc
SalesforceIQ
Objects in Salesforce are used as database tables that are used to store information of an organiza
types of objects in salesforce, they are.
Standard Object: These are the objects provided by the salesforce, which include contacts, accou
leads, cases, campaigns, products, contracts, dashboards, etc.
Custom Object: This includes the modifications made to the Salesforce by users. It stores the esse
information of an organization. Custom Object includes page layouts, relationship to other objects,
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
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 applicatio
custom
Call us on :USA - +1 972 427 3027|IND - +91 and standard tabs.
90524 03388 Drop us a query
The process to create an app in Salesforce:
Search your interest Course Courses Login
By following this procedure, you can build an application. However, you want.
Custom app: This type of apps can be used in every business scenario. It is widely used in the mar
Console app: This type of app can be used only in the client service business, where we focus on s
issues. It is not comparatively, widely used in the market.
Owner,
Name,
Last modified by,
Created by.
Call us on :USA - +1 972 427 3027|IND - +91 90524 03388 Drop us a query
Search your interest Course Courses Login
There are four types of reports that are available in Salesforce, which are as follows.
The tabular report is those that give us the total in a tabular format.
Matrix report the format where grouping is done based on columns and rows.
Call us on :USA - +1 972 427 3027|IND - +91 90524 03388 Drop us a query
The summary report gives us detailed reports based on columns.
Search your interest Course Courses Login
Joined reports which are capable of allowing two or more reports in one report.
The Audit trail in Salesforce is a unique feature that helps in tracking the changes that have been m
organization by you and other administrators. It would be helpful for the organization with more ad
audit trail shows you the information of the twenty most recently made changes in your organizatio
15. What is a profile? Can two users have the same profile?
Call us on :USA - +1 972 427 3027|IND - +91 90524 03388 Drop us a query
The profile is defined as a collection of rules and procedures a person needs to follow to access pa
Search your interest Course Courses Login
are multiple profiles available in Salesforce. For example, a sales profile can have access to leads, o
campaigns, etc.
As far as the second question is considered, the answer would be yes. The people who work in one
same profile. So the people who work under a particular department would be assigned with the s
As we have seen in the sales profile, many people work under it and every person who works unde
profile. Hence any number of people can have the same profile.
Role: In Salesforce Role is meant to increase the data visibility to a particular user. It can be done th
by building a role hierarchy. Using roles, you can control the ac
Profile: Unlike the roles profile is mandatory for all, and it stays at the object level. It is treated as a
organization.
Master-detail relationship
Lookup relationship
External Lookup
This Master-Detail relationship is the same as the relationship between a parent & child. In this a
treated as Parent, and the Detail is a child. The master Object takes control of the behavior of the D
Call us on :USA - +1 972 427 3027|IND - +91 90524 03388 Drop us a query
survival of the child is dependent on the parent because if the Master gets deleted the Detail will al
Search your interest Course Courses Login
deleted. You can create Roll-up summary fields in master records which helps in calculating the Mi
records.
The relationship between the two objects is called a lookup relationship. Lookup relationships co
together so that you can look up from related items to other items. It can be one-to-one or one to m
The external lookup relationship is used to connect the child object to the parent object. The child o
custom, standard, or external object. It uses to identify the correct map of the child object with the
The external lookup relationship values fields are matched against the External Id values.
It is a personal look up to the same object. The self-relationship creates a tree diagram of the objec
example as an object “merchandise”. In this, we can create relationship merchandise between two
called a self-relationship.
Workflow is an excellent way to automate specific business processes in Salesforce. To do this, you
certain rules and regulations to automate tasks such as sending an email, updating a field, create a
23.90524
Call us on :USA - +1 972 427 3027|IND - +91 What is meant by “Transfer record” in profile?
03388 Drop us a query
Transfer record is a type of function used to grant permission. If a user has permission to share a r
Search your interest Course Courses Login
he can share the records that have read-only access.
In Salesforce we use dashboards to represent the data in a pictorial format. Salesforce dashboard
20 reports at a time.
A protocol that defines a uniform way of passing XML-encoded data. SOAP Stands for Simple Objec
The computer system executes one or more tasks according to the set of rules and scheduled tas
The trigger is defined as an Apex code that executes before or after the following functions such as
etc. trigger enables to perform custom actions before and after modifications to the records of Sale
29. What are the main things that need to consider in the “Master-Detail Relations
Record level access is determined by the parent, Mandatory on the child for reference of the paren
you delete the parent, it can cascade delete the child).
30. How many records can be shown in matrix, tabular & summary reports?
31. Is the Roll-Up Summary field is only possible in the Master-detail relationship?
34.90524
Call us on :USA - +1 972 427 3027|IND - +91 If we delete parent records in MDR, what happens to the child?Drop us a query
03388
If you delete the parent record in the MDR, the child record also gets deleted in MDR.
Search your interest Course Courses Login
Up to 40 can be created. (before 2010 it is 10 after 2016 it is up to 40 and it will change accordingly
38. How we can create an MDR on those objects where we already have records?
No, we cannot change the license when we are creating the profile.
It creates a link between the custom object and the standard object recorded in a related list. This i
product's defects.
It helps in creating a many-to-many relationship between two objects in Salesforce. Using many-to-
you can connect each record of an object to be linked with multiple records of other objects and vic
object helps us in connecting the two selected objects with each other.
A Permissions set is a collection of settings or permissions and is used to extend the user functiona
changing actual profiles. You can use permission sets to various types of users to extend the functi
regardless of their roles. It is time taking task to create a profile; instead of this, you could easily cre
Call us on :USA - +1 972 427 3027|IND - +91 90524 03388 Drop us a query
45. What is sharing rule?
Search your interest Course Courses Login
We have some fields which are indexed by default in Salesforce, which are :
Name
ID
Owner fields
Master-detail relationship fields
Lookup fields
Last modified dates
Audit dates
The Fiscal year is known as the starting and ending date of a company financial year. We have two
in Salesforce which are as follows.
Call us on :USA - +1 972 427 3027|IND - +91 90524 03388 Drop us a query
Search your interest Course Courses Login
There are many custom fields available they are Picklist, Currency, Date, Text, Picklist (multi-select)
Number, Phone, Text area, Lookup relationship, Geolocation, Checkbox, Master-Detail relationship
49. What are the different ways to store various types of records in Salesforce?
We have five different ways in Salesforce to store various types of records such as images, files, and
They are
Attachments
Call us on :USA - +1 972 427 3027|IND - +91 90524 03388 Drop us a query
Google drive
Search your interest Course Courses Login
Chatter Files
Libraries
Attachments.
50. What is the main difference between data table vs page block table tags?
Page block:
DataTable:
There are many things that can contribute to the data loss in Salesforce. Which includes :
1. Migrating to number, per cent, and money, from other data types.
2. When you change the date and time
3. Migrating to multi-select picklist from any other type but except picklist.
Call us on :USA - +1 972 427 3027|IND - +91 90524 03388 Drop us a query
4. Moving from Checkbox, auto number,multi-select picklist to any other types.
Search your interest Course Courses Login
5. Changing text area to phone, URL, email, or text.
Junction objects are mainly used to create a many-to-many relationship in Salesforce. If you consid
application as an example, you can find a position that is linked to many candidates, and in the sam
can apply for many positions.
The sharing rules are used only for allowing greater access to records not for restricting.
Role Hierarchy :
Call us on :USA - +1 972 427 3027|IND - +91 90524 03388 Drop us a query
If we add a user to a role, the user who is above in the role hierarchy will have read access.
Search your interest Course Courses Login
Setup → manage users → roles → setup roles → click on ‘add role’ → provide name an
OWD:
OWD can be Private, Public Read Only, Public Read and Write.
Manual Sharing :
We can see this button detail page of the record and this is visible only when the OWD setting is pr
Using the insert method we can insert the records but if any error occurs in any record system will
insertion fail and none of the records are inserted. If we want to execute partially the success of bu
will use database .insert.
58. Does the user can create insert their own custom logo while creating their own
applications?
Yes, users can upload their custom logo in documents, and then they choose that logo for the orga
Call us on :USA - +1 972 427 3027|IND - +91 90524 03388 Drop us a query
59. List things that can be customized on-page?
Search your interest Course Courses Login
We can customize different things on page layouts like Fields, Buttons, Custom Links, and Related L
create sections.
61. Can the governor limit perform partial DML activity? Eg: we are inserting 200 r
the Governor limit is hit at the 151st record, then will those 150 records be create
Call us on :USA - +1 972 427 3027|IND - +91 90524 03388 Drop us a query
The interface is a collection of unimplemented methods. This will specify the signature of the meth
Search your interest Course Courses Login
we pass the method specify what type is given as an output.
First, the platform application server compiles the code into an abstract set of instructions th
by the Apex runtime interpreters.
The compiled code is stored in metadata.
When the end-users triggers the execution of Apex by clicking a button or the VisualForce page the
retrieve the compiled instructions from the metadata and send them to the runtime interpreter be
result.
Apex enables developers to add business logic to most system events like button clicks related to r
VisualForce pages.
The batch apex class deploys the database batchable interface with the three methods as follows:
Start
Finish
Execute
Start: We use the start method at the beginning of the batch apex job. We use it for collecting the o
passing them to the interface for executing. It returns a DatabaseQueryLocator object that compris
records sent to the job.
Call us on :USA - +1 972 427 3027|IND - +91 90524 03388 Drop us a query
Finish: We call this method once we finish the batch processing. We use this method to send confi
Search your interest Course Courses Login
execute the post-processing operations.
Execute: We use this method for every batch of the records that are sent to the method. We use th
processing. This method does the following:
Email services are an automated process that uses Apex classes to process the contents, Headers,
Inbound Email.
Note:
[Related Page: Sa
Call us on :USA - +1 972 427 3027|IND - +91 90524 03388 Drop us a query
70. What is Map Class in Apex Salesforce?
Search your interest Course Courses Login
For Example, the following table represents a map of countries and currencies
Batch Apex: Batch Apex allows you to define a single job that can be broken up into manageable c
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 div
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
transaction instead it dividing them into a Number of subtasks where each subtask may contain re
Example:
If you need to make a field update of every record of account object in your organization, then we h
that would restrict us from achieving the above task.
Call us on :USA - +1 972 427 3027|IND - +91 90524 03388 Drop us a query
Reason: In a single transaction we can process only 10,000 records. Now in the above case if we ha
Search your interest Course Courses Login
records in the organization then we can not perform this field update.
Want to enhance your skills in dealing with the world's best CRM, enroll in our Salesfor
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
has several methods that are
Insert a;
}
Call us on :USA - +1 972 427 3027|IND - +91 90524 03388 Drop us a query
73. What is the Apex Trigger in Salesforce?
Search your interest Course Courses Login
The trigger is an Apex Code that executes before or after. The following types of DML Operations:
Insert
Update
Delete
Merge
Upsert
Undelete
An Apex transaction represents a group of operations that are needed to be executed at once. It in
Manipulation Language (DML) and is responsible for querying records. The DML operations in a tra
success or if anything goes wrong or occurs even with a single record could result in a rollback of th
1. Before Triggers
2. After Triggers
Before Triggers: Before Triggers can be used to update or validate values of a record before they
database.
After Triggers: After Triggers Before Triggers can be used to access field values of the records that
database and use this value to make changes in other records.
Call us on :USA - +1 972 427 3027|IND - +91 90524 03388 Drop us a query
Syntax:
Search your interest Course Courses Login
Apex Managed Sharing provides developers with the ability to support an application to share requ
This type of sharing is available only with users to modify all data permissions. Only these use
apex-managed sharing.
Apex Managed Sharing uses a Sharing reason (Apex Sharing Reason)
77. What is the Usage of the apex program within the VisualForce page?
When you want to call the apex class on the VisualForce page we have to declare in the following fo
class which is defined in the controller. When an object is created for the apex class first it involves
A Sandbox is defined as a testing environment that is used to test the code or to conduct experim
environment without harming the production environment.
A Sandbox helps you when you want to test the newly developed application on force.com or Visua
possible to check something in the production environment if do, so it creates a problem for the re
to get out of this problem developers use Sandbox to test the application.
Developer
Developer pro
Partial copy
Full
Call us on :USA - +1 972 427 3027|IND - +91 90524 03388 Drop us a query
Ans: Static resources allow you to add the content that you want to reference it on the VisualForce
Search your interest Course Courses Login
things like images, Javascript, archives, CSS files, etc. The maximum size of a static resource of a
MB.
Collections
User-defined types
subjects
Primitive types
Built-in Apex types
Visualforce components are small reusable components of functionality such as widgets, user inter
etc. We have two types of VisualForce components which are standard and custom and are used
interface behavior.
A query language that allows you to construct simple but powerful query strings and to specify the
used to select the data from the platform database. SOQL Stands for Salesforce Object Query L
We must avoid using index values like Trigger.New[0] as we never know how many records we get
runtime.
Call us on :USA - +1 972 427 3027|IND - +91 90524 03388 Drop us a query
1. We need to use it for each loop whether we have 1 record or many.
Search your interest Course Courses Login
2. We must not use SOQL inside for loop.
3. We must not use SOSL inside for loop.
4. We must not use DML inside for loop.
5. We need to store data in collections, so our code will work for single as well as multiple recor
Insert ListForBulkDML;
Salesforce Object Query Language is used to query that records from the database.com base
requirement.
1. Static SOQL
2. Dynamic SOQL
Static SOQL:
Dynamic SOQL:
It is used to refer to the creation of a SOQL string at run time with Apex code.
Example 2:- Queries
Example:-Queries
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
summarize the data and enable you to rollup query results rather than having to process the
your code.
SOSL statement evaluates the list of sObjects, where each list contains the search results for a p
The result lists are always returned in the same order as they were specified in the query.
If a SOSL query does not return any records for a specified sObject type, the search results includ
that sObject.
Example: You can return a list of accounts, contacts, opportunities, and leads that begin with
Call us on :USA - +1 972 427 3027|IND - +91 90524 03388 Drop us a query
List < list
Search < subject >> search listCourse
your interest = [ find 'map*' InCourses
ALL FIELDS RETURNING
Login Accou
Note:
The syntax of the class on Apex differs from the syntax of the FIND clause in the SOAP A
In Apex, the value of the FIND cause is demarcated with single quotes.
Example:1
FIND 'map*' IN ALL FIELDS RETURNING account (Id, Name], Contact, Opportunity, Lead. In th
value of the FIND Clause is demarcated with braces.
Use javascript remoting in VisualForce to call methods in apex controllers from javascript.
The remote method invocation you add to the VisualForce page, written in javascript.
The remote method definition in your Apex controller class.
Call us on :USA - +1 972 427 3027|IND - +91 90524 03388 Drop us a query
This method definition is written in apex, but there are few differences from normal action m
Search your interest Course Courses Login
The response handles callback function you add to or include in your VF page, written in javas
To use javascript remoting in a Visualforce page, add the request as a javascript invocation with the
Syntax -
Configure a remoting request by proving an object with configuration settings when you declare th
Whether to grou
Buffer Boolean close to each oth
single request. T
Whether to escap
Escap Boolean
response. The de
Call us on :USA - +1 972 427 3027|IND - +91 90524 03388 Drop us a query
95. What is a Declarative Approach?
Search your interest Course Courses Login
97. If one wants to actually compare the variable name in a query what operator s
98. When one wants to pass the collection to the query instead of passing one val
helps us?
IN - keyword.
100. Mention 2 reasons why we prefer VFP instead of using configuration(no codin
inputField - copy the field from any object and display on a VF page | like copy paste work.
Call us on :USA - +1 972 427 3027|IND - +91 90524 03388 Drop us a query
inputText - it will help to create a field from scratch | new creation
Search your interest Course Courses Login
Add javascript file in Static Resource setup -> develop -> Static Resources -> click on ‘New’ -> Name:
from local desktop and save.
Using SOQL we can Search only on one object one time. Using SOSL we can search on many o
We can use SOQL in the Triggers and the classes. We cannot use Triggers but can in cla
We can perform a DML operation on SQL query results. We cannot perform DML operations
Use the future annotation to specify that these methods are executed asynchronously.
Syntax:
Call us on :USA - +1 972 427 3027|IND - +91 90524 03388 Drop us a query
@future
A web directory where hundreds of app exchange apps are available to Salesforce customers to rev
upon, and /or install. Developers can submit their apps for listing on the appexchange directory if t
them with the community.
106. Which tag is used with both radio buttons and picklists to create the selectab
We use <Apex:selectoption>
Workflow:
Workflow is an automated process that fired an action based on Evaluation criteria and rule c
We can access a workflow across the object.
We cannot perform DML operation on workflow
We cannot query from database
Call us on :USA - +1 972 427 3027|IND - +91 90524 03388 Drop us a query
Trigger:
Search your interest Course Courses Login
A trigger is a piece of code that executes before or after a record is inserted or updated.
We can access the trigger across the object and related to that objects
We can use 20 DML operations in one trigger.
We can use 20 SOQL from the database in one trigger.
109. What are some apex classes that are commonly used within?
The transient keyword prevents the data from being saved into view state. This should be used for
variables.
111. What is the maximum number of field dependencies we can use in the Visual
The maximum number of field dependencies we can use is 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 cod
model, objects, forms, workflows, and more are defined by metadata.
A wrapper or container is a data structure, a class type, or an abstract data type that contains mult
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 with
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. W
tabs in Salesforce which are:
Custom Tabs.
Visualforce Tabs.
Web Tabs.
118. What are the types of email templates that can be created in Salesforce?
Call us on :USA - +1 972 427 3027|IND - +91 90524 03388 Drop us a query
3. Custom HTML: People like administrators and users with Edit HTML permission can create t
Search your interest Course Courses Login
without using a letterhead. It requires knowledge of HTML or gets the HTML code to insert it
template.
4. Visualforce Email Template: This template can only be created by administrators and deve
VisualForce. It is capable of merging the data from various records.
119. If we want to share records based on conditions like share records to a group
country criteria is India, What are the steps to be followed?
Apex sharing: Share object is available for every object(For Account object share object is Account
share the records using apex we have to create a record to the shared object.
Yes, of course! We can create and edit the VisualForce pages in both the production environment a
only thing you can not do in a production environment with a VisualForce page is adding the uniqu
need to do this in the sandbox.
121. Is it possible to make changes to the apex trigger/apex class in the productio
No, you can not do that if you want to make any edits to the apex trigger/apex class that should be
environment.
122. What are the things that can be customized on page layouts?
Call us on :USA - +1 972 427 3027|IND - +91 90524 03388 Drop us a query
Page layouts allow you to personalize or customize the given page objects or records. It helps in cu
Search your interest Course Courses Login
the page according to your requirements. Page layout editor helps you in customizing the pages. U
customize things like buttons, fields, custom links, and related lists.
123. How to invoke batch apex job (or) how to execute the batch apex job program
Syntax:
Note: The class name that we are passing to the database.execute batch( ) method should be the o
has implemented the database.batchable interface.
124. Will Visualforce still support the merge fields usage like S-control?
Yes. Just like S-Controls. Visualforce pages support embedded merge fields.
125. As things are time taking client wants a report wherein a single screen, witho
can see SALE PER COUNTRY? And in another report, sales per country per mobile
Call us on :USA - +1 972 427 3027|IND - +91 90524 03388 Drop us a query
126. As a client wants to motivate sales reps to make more efforts, they are going
Search your interest Course Courses Login
done by every sales report and reward them. They want a report where they can s
sell AlSO IN the SAME REPORT, sales rep wise to sell. So they can also see in which
sale is & they want this analysis to be separate but in the SAME REPORT.
127. The client wants to see data from mobile sell DB and Home Appliance sell DB
the decision of the next financial year's planning. Also, the client wants to group t
related columns grouped together?
They can see all the required data by using the Joined Report.
128. When two objects are connected with each other using r/s, then on secondar
relationship will be shown using the field. On the primary record, the relationship
using a related list.
Lookup R/S:
1. It is used to connect 2 or more objects with each other as per the business requirement.
2. It works on standard objects and custom objects.
3. It is so simple to type.
4. It helps to loosely connect 2 objects.
5. It is used whenever we don’t have much strong dependency between 2 objects.
129. There is only 2 MDR allowed per object how many custom levels it can have?
Call us on :USA - +1 972 427 3027|IND - +91 90524 03388 Drop us a query
It allows three custom levels per object.
Search your interest Course Courses Login
(Eg: company → Workers → Sub workers.)
130. There is an object called Employee Details, and another object called Salary In
business perspective. If you want to combine the 2 objects, what will you choose i
131. Assume that you require PC’s in bulk and have given an order to ‘XYZ’ compa
bulk supplier and asked to process, what would be the relationship between the c
supplier?
132. Business Requirement - Assume there is a finance dept, there are many user
access to an object called finance, In that object, there is a field called “Bonus”, an
users, only one should not see the field?
Scenario: Creation of Permission set for the users, other than the user who should not have the Bo
Description:
Condition::
OWD: Private.
Call us on :USA - +1 972 427 3027|IND - +91 90524 03388 Drop us a query
Profile of John: Finance profile.
Search your interest Course Courses Login
Finance Profile: CRED: Yes | VA: No | MA: No
Role: N/A.
(Hint: Does he have min access to work on the object & OWD= PRO).
(Hint: Does he have min access to work on the object & OWD= PRW).
137. In the above scenario can Stephen see the record of Celia or not?
No.
No.
Yes.
We use the Roll-up summary field to calculate the values for the associated records, for example, a
also use it for creating the values for a master record- according to the values in detail records. But
master and the detail with a master-detail relationship.
2) Explain Queues?
In Salesforce, Queues help us to distribute, prioritise, and assign the records to the teams for shari
are applicable to leads, service contracts, custom objects, cases, etc.
Escalation rules apply to escalation cases according to the rules specified in the escalation rule entr
we can also create escalation actions for determining what happens when the case escalates. The e
Call us on :USA - +1 972 427 3027|IND - +91
reassign a case to another support agent or a support queue.
90524 03388 Drop us a query
4) Explain Validation rules?
Search your interest Course Courses Login
Validation Rules enable us to apply a particular logic rule to contribute to our organization’s data in
the conditions on the object that are not available. For instance, if we do not want to label an oppo
account does not have the address.
Criteria: Criteria is the “if” portion of the statement. We have to set criteria for the workflow rule. F
a workflow rule and later configure the criteria.
Action: Action is the “then” portion of the statement. The action tells us what to do when the criter
occurs after the workflow rule configuration. We can add a time-dependent action or an immediate
workflow rule.
We perform time-dependent actions at particular times before closing the record. Workflow re-eva
time passes. It checks whether the workflow rule criteria are satisfied, and only then workflow rule
Workflow Task
When we have to assign the tasks to a salesforce user, you haunt a workflow task. Workflow task a
role, user, or record owner. It assists us in defining different task parameters like a priority, status,
Workflow Alert
Call us on :USA - +1 972 427 3027|IND - +91 90524 03388 Drop us a query
Workflow Alert is an email that an approval process or a workflow rule creates in the salesforce and
Search your interest Course Courses Login
different recipients.
8) Explain Auto-Response?
Auto-Response is about transmitting emails to leads or cases for particular record attributes and p
customer inquiries or issues by establishing the auto-response rule. At the same time, we can set o
one rule for a case.
In Salesforce, we use custom labels for creating a multilingual application. Using the native languag
information to users in the form of help texts and error messages. We can define the custom labels
that we can access from the Apex class or Lightning components and promptly or even the Visualfo
translate these values into the language supported by the salesforce. Through the following path, w
labels:
10) What are Sharing rules and what are the different types of sharing rules?
Sharing rules give sharing access to the users associated with the public groups, roles or territories
of access with the exceptions, far from our organisation settings. Following are the two kinds of sha
Criteria-based Sharing rules: Access is provided according to the record values and not accord
owners.
Owner-based Sharing Rule: These rules provide access to the records owned by the users.
In Salesforce, the Approval process is a sequence of steps for approving records. An approval proce
tracking who and when approved or rejected something. It includes different approval models, not
conditional logic for who must support.
Salesforce Chatter is a social networking application that enables us to share information and work
each other. It helps us to build greater employee engagement through motivation. Salesforce Chat
forum throughout the enterprise for sharing fresh ideas and understandings. We can also use the
tracking our project.
Guest users are the users who do not have user accounts in our organisation. They are also known
as they do not have to log in. We can make the pages accessible. Unauthorised users can create or
Call us on :USA - +1 972 427 3027|IND - +91 90524 03388 Drop us a query
Generally, we have various limitations and considerations for assessing. Yet, we can use this featur
Search your interest Course Courses Login
and we do it financially because the guest user licenses are free.
A changeSet is a group of components that we can migrate between the associated organisations (
the production, sandbox to the sandbox, etc.).
Here is the list of most frequently asked Salesforce interview questions and answers discussed belo
To assure that our code satisfies particular standards, Apex test coverage displays to you how man
classes or triggers have been tested by the tested methods. Test coverage percentage is the result
covered lines divided by the sum of uncovered lines and covered lines. To deploy to production, we
75% test coverage.
Lightning message service is a distinctive salesforce feature that allows interaction between Aura, L
Components, and Visualforce over the same lightning page. We can use the Lightning message serv
Experience only.
3) Define OAuth?
OAuth is a standard for access delegation. Generally, we use it as a method for granting the applica
Call us on :USA - +1 972 427 3027|IND - +91 90524to
access 03388 Drop us a query
their data over other websites, yet without providing them with the passwords.
4) Explain Connected App?
Search your interest Course Courses Login
Connected App integrates the salesforce through APIs, and Connected Apps utilize OAuth, SAML fo
providing sign-on, and providing tokens for using the Salesforce APIs.
Besides OAuth capabilities, connected apps eagle salesforce admins to establish different security
external control to utilize similar apps.
Do you want to build an effective applications Salesforce, then join our Salesforce Devel
a Flat 20% Off Course Fee
Outbound Message is an automation function that can shoot from the workflow rule. We can send
explicit web services that include web services, which 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 for
from explicit systems with a distinct reference ID.
For instance, if we have to balance the data from the explicit accounting system with the Salesforce
promptly use an external ID field to refer to the unique ID of the accounting system in place of the
First, we have to define the page section that is going to be refreshed, and then we have to define t
refreshing. The method changes if the area being refreshed is similar to the one managing the eve
are processing on the server or if we have to change the user interface.
Call us on :USA - +1 972 427 3027|IND - +91 90524 03388 Drop us a query
8) How can we invoke the javascript controller action by using a component mark
Search your interest Course Courses Login
By using the action provider, we can invoke the javascript controller action through a component m
Application events
By using any component, we can fire the application events, and we can manage them. Application
any relationship among the components; however, these components should be a part of an applic
Component events
Child components fire the component events, and Parent components handle the component even
events when we have to send a value from the child component to the parent component.
We can perform the above process through Pagination. We can achieve pagination through the fol
Through StandardSetController
11)
Call us on :USA - +1 972 427 3027|IND - +91 How
90524 do we display error messages on the VisualForce Page?
03388 Drop us a query
To display error messages on the VisualForce Page, we must use:
Search your interest Course Courses Login
<apex:pageMessages></apex:pageMessages>
12) What are the differences between Custom Objects and Custom Settings?
On Custom objects, we can create apex triggers and On List Custom settings, we cannot c
validation rules. and validation rules
We can create a tab for custom objects. We cannot create a tab for custom s
14) Can you give an example of Salesforce API and its importance?
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 the salesforce applications through HTTP metho
XML formats.
Bulk: Bulk API gives us programmatic access that allows us to load the data into our salesforce ent
Streaming: We can use Streaming API for receiving the notification for the changes to the salesfor
SOQL query we define. Streaming API is functional when we have to push the notification from serv
to the criteria we define.
Bucket Fields classify the records of the salesforce reports without any custom field or formula; Bu
only in the reports. When we create a bucket column, then various classifications of the group repo
We use isBlack() for the text fields. Since text fields cannot be NULL, even though nothing is given a
function fetches only empty values. If we use ISNULL() with a text field, then it returns false.
Salesforce records data on the details like customer details, sales numbers, customer served, repea
of these records for creating detailed charts, dashboards, and reports. In this way, it tracks the sale
Call us on :USA - +1 972 427 3027|IND - +91 90524 03388 Drop us a query
18) What is the limit of the Data.com records that we can add to Salesforce?
Search your interest Course Courses Login
In the user section of Data.com, we have to discover our name to see our monthly limit. It will prov
many records we can export or add for this month. The user enters setup and types the user in the
prospector users.
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 for collecting the o
passing them to the interface for executing. It returns a DatabaseQueryLocator object that compris
records sent to the job.
Finish: We call this method once we finish the batch processing. We use this method to send confi
execute the post-processing operations.
Execute: We use this method for every batch of the records that are sent to the method. We use th
processing. This method does the following:
Yes, we use a getter method for returning the values for a controller. Each value computed by the c
on the page should have a getter method.
On the other way, we use the setter method to pass the user-defined values from the page markup
the controller, we execute the setter method automatically.
The developer console is an incorporated development tool that has a collection of tools. We use th
debugging, creating, and testing the applications in salesforce.org.
The package is a collection of the components list or associated applications. Following are the kind
Managed
Unmanaged
We use managed packages for distributing and selling the applications to the clients. Developers se
applications and licenses by using AppExchange for managed packages. These are entirely updatab
continuous upgrades; we perform the removal of fields or objects.
The reRender attribute defines an elements list that we can update dynamically through the AJAX li
We do not need the entire page to refresh. Only a part of the page detected by the components is
“.rerender” attribute.
By using the <chatter: feed> component, we can display the chatter feed.
Example:
<apex:page>
</apex:page>
Blob variable is the variable that is intended to gather binary data. tostring() converts the blob back
System.debug(String2);
Call us on :USA - +1 972 427 3027|IND - +91 90524 03388 Drop us a query
28) What is the use of apex:outputLink?
Search your interest Course Courses Login
The apex: output link body comprises of image or text that we can display in the link.
About Author
Name Vinod M
Call us on :USA - +1 972 427 3027|IND - +91 90524 03388 Drop us a query
Search your interest Course Courses Login
Call us onand
Software :USA
Automation 3027|IND
- +1 972 427 Testing Courses
- +91 90524 03388 Alteryx Training Drop us a query
IT Service Management Courses Powershell Training
Search your interest Course Courses Login
RPA Certification Courses UiPath Training
Jira Training
Discover
Python Training
Blog
Sample Resumes
Call
RPA us on :USAQuestions
Interview - +1 972 427 3027|IND - +91 90524 03388 Looker Tutorial Drop us a query
Looker Interview Questions Informatica Tutorial
Search your interest Course Courses Login
Informatica Interview Questions Workday Tutorial
Company
Disclaimer: All the course names, logos, and certification titles we use are their respective owners' property. The firm, service, or product names on the website are solely for
identification purposes. We do not own, endorse or have the copyright of any brand/logo/name in any manner. Few graphics on our website are freely available on public
domains.
Call us on :USA - +1 972 427 3027|IND - +91 90524 03388 Drop us a query