Salesforce Interview Questions

How users are differentiated in salesforce?

Users are differentiated by creating their own individual profiles in salesforce. Each profile defines the level of access in salesforce organization for that user.

How many profiles the one user can have in salesforce?

The one user can have only one profile but multiple users can be of same profile. Ex. Consider the example of Support team, admin will create only one profile “Support Team” and that will be shared by all team members of support team.

Which database architecture salesforce is based?

Salesforce is based on multi-tanant architecture. The single copy of database is shared with multiple users or client.

What is Governer limit in sales force?

The salesforce applied limits to every user on data uses. These are known as Governer limits.

These are developed by suing Apex code. And strickly crossed verified by Apex run time engine.

Following are types of Governer limits

• Per-Transaction Apex Limits

• com Platform Apex Limits

• Static Apex Limits

• Size-Specific Apex Limits

• Miscellaneous Apex Limits

• Email Limits

• Push Notification Limits

What is Sandbox?

Sandbox is a copy  for production environment which is used  to test newly developed  visualforce pages or any application.

What are different types of sandboxes in salesforce?

Types of Sandboxes are:

• Developer

• Developer Pro

• Partial Copy

• Full

What is Salesforce?

Salesforce is  the Customer Relationship Management (CRM) product that is based on the terminology software-as-a-service (SaaS).

Explain custom object in Salesforce?

The custom objects  are used to refer specifically to database tables that store data related to company in

What are the functionality can be handled by Custom objects?

The custom object can be used to create custom fields as well as it can relate the custom object to other records. Even one can track events and tasks. You can build page layouts, also you can create a custom tab for the custom object, dashboards and reports. Analyzing custom object data, create, and share custom tabs, custom apps, custom objects  becomes more simpler because of custom objects.

Highlight various reasons to loss data in salesforce.

Following are the few reasons to

Changing data and date-time

If you tried to migrate the number, currency or percent from other data types

Changing from multi-select picklist, checkbox, auto number to other types

If you alter the multi-select picklist from any type except picklist

Changing to auto-number except from text

Changing from text-area to e-mail, phone, URL, and text

List out relationships in

Salesforce supports two relationship types: Master-detail relationships and Lookup relationships.

What is the trigger?

Trigger is the code which nearly acts with database and it is executed before or after the record is updated or inserted.

What is Workflow?

Workflow is an automated process which is used to validate evaluation criteria and rule criteria.

Differentiate Trigger and Workflow?

Workflow is automatically get fired on an action based on evaluation criteria or rule while Trigger is not used for validation but it will get executed on or  after the record is inserted or updated.

List out different object relations in Salesforce?

There are three types of object relations in Salesforce : One-to-many, Many-to-many and

Is there a limit for records?

Yes there is limit on and the user can see their limit form setup. Go to setup and click on administration/Users. Then select users section. Here in user section you can see monthly limit and  as well as how many records are exported during the month.

What are the different data types that a standard field record name can have?

The auto-number or text field with a limit of 80 chars are the two data types which standard field records can have.

Is there any reason that visualforce pages are served from different domain?

The purpose to do this is to improve the block cross site scripting and security standards

Differentiate WhoID and WhatId.

“WhoID” refers to people like contacts or leads.  Whereas “WhatId” refers to objects. Let us consider LeadID, ContactID are forms of “WhoId” and AccountID, OpportunityID are “WhatId”.

Explain the use of writing sharing rules?

Using Sharing rules we can give an access to user or individuals. These access can be edit access (public read and write) or public read only access.

Can we restrict data access using sharing rules?

Sharing rules are used to extend the sharing access to users in public groups or role. It’s used only when you want to allow greater access to records. But we cannot restrict data access by sharing rule. If you are not using sharing rule the organization-wide-default sharing setting like Public read only or private will be used.

Explain various email templates that can be created in Salesforce?

Based on the user access Salesforce bifurcate email template in following :

Text All user can Create and Edit this template

HTML with letterhead Restricted to Administrators and/or users having “Edit HTML Templates” permissions can create this template based on a letterhead.

Custom HTML Administrators and users having “Edit HTML Templates” permissions can create this template. No need of a letterhead

Visualforce Only administrators and developers can create this template. The functionality of merging data from multiple records is supported in this template.

Audit & Reporting Features:

Write a note on bucket field in reports?

A bucket field is group of related records. These groups are defined by users as per their requirement. The main purpose to define bucket field is to display co-related records or values in a group on the report. So in other word bucket field are used to filter, arrange or group the report data.

What is static dashboard?

Static dashboards are the basic dashboard with fixed view (Single user perspective) and which is visible to any user who has made a report out of his data.

Explain dynamic dashboards used in reports?

Dynamic dashboards in salesforce reports are used to display information which is for specific user. Let us consider an example of Team leader who want to view the information regarding his team members only in this case dynamic dashboard is used because it shows the user specific data on the same dashboard.