Salesforce: Notes From Siva
Salesforce: Notes From Siva
1. Cloud Computing
2. Relationships
3. Validation Rules
4. Email Templates
5. Workflows
6. Company
Information
7. Data Management
8. Profiles and
Permission sets
9. OWD
12. Campaign
Management
13. Governor Limits
17. Actions
Page 1 of 87
SALESFORCE NOTES
1. Cloud Computing
What is Cloud Computing?
Cloud computing is the delivery of computational services such as storage, servers, database, software,
networking, analytics, intelligence and more over the cloud (internet). It brings the organization faster innovation,
economies of scale, and flexibility in allocating resources. Cloud computation brings down the costs that are
associated with the task of storage and thereby contribute to the development of an organization.
1) Public cloud
*****************
It has been provided by the third-party vendors such as Salesforce Amazon web services, Microsoft Azure, etc.
The third-party vendors maintain everything such as servers, storage, hardware, software. Via web browser you
can access and manage your services.
2) Private cloud
*******************
It is a cloud computing service exclusively used by a single organization. Private cloud is defined as a privately-
owned network which contains services and infrastructure required to manage cloud computing services.
3) Hybrid Cloud
******************
It is a combination of public cloud and private cloud and allows them to share data and applications among them.
Hybrid cloud will enable your business with more deployment options, greater flexibility and also allow you to
optimize your business infrastructure, compliance and security.
we have three cloud computing services which are IaaS, PaaS and SaaS
It is a rental type cloud computing infrastructure which includes Server and virtual machine, networks, storage,
operating systems, facilitated by a cloud provider.
Page 2 of 87
SALESFORCE NOTES
it is a cloud computing on-demand environment for designing, developing, testing, delivering and maintaining
different applications. It is intended to create a user-friendly platform where a developer can quickly build web
and mobile apps without worrying about the software infrastructure.
What is CRM?
CRM stands for Customer Relationship Management. This technology allows you to manage relationships with
your customers and prospects and track data related to all of your interactions.
What is Salesforce:
1) Salesforce is equipped with a wide variety of tools, and you can have a facility here to develop whatever you
want rather than wasting time on building Infrastructure and tools on your own, this could help in saving millions
of dollars and years as well.
2) Salesforce platform is a group of technologies that supports the development of other technologies on top of it.
This platform offers a Sales cloud for CRM, Service Cloud for customer support and a lot of building blocks like
Mobile SDK, Salesforce APIs, etc.
3) Salesforce is famous for three reasons which are,
Fast: It is straightforward and quick enough to deploy when compared to traditional CRM. Traditional CRM
platform takes weeks, months, and even sometimes years to implement.
Easy: Salesforce is very easy and simple to use; it makes the complicated process simple and into user
understandable format.
Effective: Salesforce is highly flexible and easy to customize according to the needs of an organization. It is
perfect and effective to meet the business requirements.
4) Salesforce is operated from the cloud, so it enables your employees to work from anywhere in the world all
they need is an internet connection.
5) Salesforce will allow you to connect with different other 3rd party apps seamlessly. It will enable you to
integrate with many other apps compared to other CRMs.
6) Salesforce is cost effective and affordable by all types of organizations irrespective of mode of operation or
size.
Salesforce CRM is power packed with different cloud products that help in fulfilling all your business needs.
Sales Cloud:
==============
* Sales could be one of the modules in salesforce in which entire sales process is being executed, and revenues are
generated.
* It helps organizations in negotiating the deals faster, managing the customer, closing the deals.
Page 3 of 87
SALESFORCE NOTES
Service Cloud:
===============
* Service cloud will take care of the tasks which are related to customer service and support team.
* It manages customer-related services such as call center, knowledge base, live conversations, assistance with
products to customers.
Marketing Cloud:
==================
* Salesforce marketing cloud helps in navigating a customer journey on a single platform.
* It provides insights into the marketing conditions and supports the marketing team in delivering the right
messages to the right customer at the right time.
* It automates marketing tasks and creates marketing campaigns to drive user engagement.
Commerce Cloud:
=================
Salesforce commerce cloud creates a better customer experience for the customers.
* It creates a space for customer data integration so that it generates personalized feeds to engage the customers.
Community Cloud:
==================
* If you want to engage with your customers, employees, and partners, then there is a requirement for the social
platform to pass the information on a timely basis.
* Salesforce community cloud will fulfil this gap and facilitates a great platform for effective communication.
Analytics Cloud:
====================
* Salesforce analytics cloud is also called as Salesforce wave analytics, which is a business intelligence tool
optimized for mobile access and to present the large volumes of data into user understandable format.
* Analytics cloud is designed to integrate with all other platforms of salesforce such as sales cloud, marketing
cloud, service cloud, to access data from all these platforms to perform analytics.
IoT Cloud:
===========
* If your organization needs to store and process the Internet of Things (IoT) data, then you need an effective
cloud platform.
* Salesforce is one of the powerful cloud IoT platforms to store the massive amounts of data that is continuously
generated by different devices, such as applications, websites, sensors, patterns and customers.
Health Cloud:
==============
* If you are into Health IT organization and need to manage the health-related data such as patient prescription,
health records, doctor-patient relationship data, then you probably in need of salesforce health cloud which will
take care of everything.
* It is specially designed to store and organize the patient information to provide the best health assistance.
Environment:
=============
1. Environment is nothing but instance of force.com
2. Environments are classified into three types
a. Production Environment
b. Developers Environment
c. Testers Environment.
Page 4 of 87
SALESFORCE NOTES
Production Environment:
=======================
a. It is an instance of force.com
b. This will contain the live data or the data required to run business logics.
Developer Environment:
=====================
a. It is an instance of force.com
b. On this environment we can perform all the development activities without Disturbing the production
environment.
Testers Environment:
======================
a. It is an instance of force.com
b. On this environment we can perform all the testing operations without Effecting the production
environment.
Sandbox:
==========
a. It is an instance of force.com
b. It is an identical copy of productions Metadata or Metadata and data.
c. It is designed for development, testing and training activities.
d. Sandboxes are classified into four types
1. Developer Sandbox
2. Developer Pro sandbox
3. Particle Copy Sandbox
4. Full Sandbox
Developer Sandbox:
====================
a. It is an instance of force.com
b. It is an identical copy of production's metadata.
c. This sandbox is designed for development activities by individual developer.
d. Data Size : 200 MB
e. File Size : 200 MB
f. Refresh Interval : 1 time in a day.
g. Actions : Development, Unit Testing by individual developer.
Page 5 of 87
SALESFORCE NOTES
Partial Copy Sandbox:
=================
a. It is an instance of force.com
b. It is an identical copy of Production's Metadata and sample data.
c. This environment is designed for testing activities by group of testers.
d. Sample data of 10,000 records per table can take from production.
e. Data Size : 5 GB
f. File Size : 5 GB
g. Refresh Interval : 1 time in every 5 days.
h. Actions : All types of testing, except load testing and performance testing.
Full Sandbox:
=============
a. It is an instance of Force.com
b. It is an identical copy of production's Metadata and complete data
c. This environment is designed for testing activities by a group of testers.
d. Data size : Exact Size of Production.
e. File Size : Exact Size of Production.
f. Refresh Interval : 1 time in every 29 days.
g. Actions : All types of testing activities including Load Testing and
performance testing.
Editions:
=========
1. Editions will specify which set of features are offered by the salesforce on your environment.
2. Editions are going to change from cloud to cloud
3. Sales Cloud and Service Cloud:
a. Lightning Essentials:
1. This edition is designed for those organizations who need access to basic CRM application.
2. Maximum of 5 users can login.
b. Lightning Professional:
1. This edition is designed for those organizations who need complete CRM application for any number of
users.
2. On this edition we will not have access to Apex programming.
3. We get complete access on Declarative Development.
c. Lightning Enterprise:
1. This edition is designed for those organizations who need access to complete CRM with both
declarative and programmatically access.
2. Any number of users can work on it.
3. This is most popular edition.
d. Lightning Unlimited:
1. This edition is designed for those organizations who need access to complete CRM application with
both declarative and programmatically access.
Page 6 of 87
SALESFORCE NOTES
2. Any number of users can work on it.
3. These editions will get 24/7 Customer support
4. Development Support
5. Online Training.
6. 100+ Admin options
Developing without code is known as declarative development. The platform also offers programmatic
development, which uses things like Lightning components, Apex code, and Visualforce pages.
* Force.com, allows admins and developers to create websites and applications into the main Salesforce.com
application.
* AppExchange is an online application marketplace for third-party applications that run on the Force.com
platform.
* Heroku Enterprise gives developers the flexibility to create apps using their preferred languages and tools.
* Salesforce Thunder is big data and rules processing engine designed to analyze events and take personalized
actions.
License:
========
1) License in the salesforce will specify what set of base features are offered by the salesforce to the user.
2) Every user, who want to login to the salesforce need one license.
Page 7 of 87
SALESFORCE NOTES
3. Click on "Sign Me Up" button.
Observation:
As soon as the details has been received by the salesforce server, it will create a New
Organization inside the associated Region's available server.
And the Account activation link will be sending to the specified email id.
Observation:
It will activate the Salesforce Account and will re-direct the user to the salesforce account.
View: The view represents the presentation of the data i.e the user interface. In Salesforce, the view constitutes of
the visualforce pages, components, page layouts and tabs.
Controller: The controller is the building block of the actual application logic. You can perform actions whenever
the user interacts with visualforce.
Global Search:
===================
The Salesforce global search bar appears at the top of every page. Use this area to search across any object in
Salesforce. It is best practice to search for a record before creating a new one to avoid duplicate data.
-> Use an asterisk (*) to find records that match at the middle or end of your search, and
-> use a question mark (?) to find records that match only one character at the middle or end of your search.
What is OID?
Organization Id: Salesforce by default creates 15 character UniqueId for Every instance of force.com.
This 15-character Id is called organization Id.
Based on this Id salesforce will recognize instance of force.com.
Setup Menu: The menu gives you quick links to a collection of pages that let you do everything from managing
your users to modifying security settings.
Page 8 of 87
SALESFORCE NOTES
Main Window: Weíre showing you the Setup home page, but this is where you can see whatever it is youíre
trying to work on.
Company Information:
====================
This will have basic details about the organization like Communication details, Organization ID, Edition,
Instance, License, Time Zone, Currency format.....
1) Time zone: This will specify the time zone which your company is following for business.
2) Default Language: This is the language what your company follows for documentation and display on UI.
3) Corporate Currency: This is format of the currency your company is following for representing the currency
values.
Document:
=========
1. It is a standard object.
2. In this object we can store documents, files, images....
Internal Documents:
===================
a. If you define document as internal, it can be shared with only internal users.
b. Content of this file is not visible directly. We need to open it manually.
If you want to use this document as logo for your application what are the rules we need to obey??
a. Size of the document should be less than 20KB
b. It should be externally available image.
App:
====
* An app in Salesforce is a set of objects, fields, and other functionality that supports a business process.
1. Standard Application
2. Custom Application
Standard Application:
Page 9 of 87
SALESFORCE NOTES
========================
Note:
=======
We can customize the Standard applications based on the need and we can leverage the functionalities.
But, we can't delete the standard applications from the organization.
Custom Application:
=====================
Note:
=====
We can customize / leverage the functionalities of the custom applications in future.
And we can remove the custom application from the organization, if it is no longer needed.
Governor Limits:
----------------
1. In Free Developer Edition, we can create max. of 10 Custom Applications.
2. In Unlimited Edition, we can create Unlimited number of custom applications.
Objects:
=========
Objects are tables in the Salesforce database that store a particular kind of information.
1. Standard Objects:
These are the Predefined objects provided by the salesforce by default, which has been created
upon building the Salesforce CRM Application.
Ex: Campaign, Lead, Account, Contact, Opportunity, Case, Solution, Task, Event, Document,
Order, Contract, Feedback, ...., etc.
We can customize the standard objects based on the need. But, we can't delete the standard
objects from the Organization.
Note: Standard Objects are common to all the Organizations.
2. Custom Objects:
As per our business needs we can create their own objects upon customizing the salesforce CRM
Application or upon building the custom applications.
Note:
All the Custom object names will be post-fixed with "__c" (Which represents it is a
Custom Object)
Governor Limits:
----------------
1. In Free Developer Edition:
We can create max. of 400 Custom Objects.
2. In Unlimited Edition:
We can create max. of 2,000 custom objects.
Every Standard and custom object has some standard fields attached to it.
Observation:
Once the object has been created, it will generate all the 3-layers of the application as below.
Ex: Object Name: Student
Table Name: Student__c
Page 11 of 87
SALESFORCE NOTES
Tab (UI): Students
Business Logic (Class): Student__c
Salesforce provides the below 5 fields for each custom object by default.
1. ID
2. Name
3. Owner
4. Created By
5. Last Modified By
Tabs:
=====
Tab provides a collection of user interfaces to manage the records inside the associated object.
Each Tab is associated with an Object. An object can have only one Tab. (i.e. Object to Tab, we have One-One
association)
Upon creating the object, if the user didn't select the checkbox "Launch a New Custom Tab Wizard After
Creating the Custom Object", then salesforce will provide the Table and the Business Logic.
It won't Provide the Tab for the object.
To create the Tabs inside the salesforce instance, we have to use the below 4 types.
1. Custom Object Tabs
2. Web Tabs
3. Visualforce Page Tabs
4. Lightning Page Tabs.
Records:
=========
Records are rows in object database tables. Records are the actual data associated with an object.
Fields:
=======
Page 12 of 87
SALESFORCE NOTES
* Fields are columns in object database tables. Both standard and custom objects have fields.
* Every field has a data type.
* A data type indicates what kind of information the field stores. Salesforce has a bunch of data types like
currency, date, checkbox, etc.
* We can even add custom fields to both standard and custom objects.
There are seven system fields
a. Id
b. isDeleted
c. CreatedDate
d. CreatedById
e. LastModifiedDate
f. LastModifiedById
g. SystemModStamp
Id:
===
a. Salesforce by default creates 15-character unique Id for every record.
b. This is a like a primary key.
c. Salesforce recognize the record based on this Id.
d. This is a case sensitive.
e. By adding three additional characters they have made it 18 character which is case in-sensitive.
f. First three characters in the Id represent object g. Last Four characters will represent record.
isDeleted :
==========
a. It is a boolean field
b. When we delete a record from the object, value of this field is set as true.
c. Any record that is deleted from the object will be still the database for 15 days
d. after 15 days record will be deleted permanently
CreatedDate:
============
This will store data and time when the record was created.
LastModifiedDate :
===================
This will store the date and time when the record was lastly modified by user manually.
SystemModStamp :
================
This will store the date and time when the record was modified manually or programmatically by a user.
CreatedById :
=============
This will store 18-character id of the user who created this record.
LastModifiedById:
==================
This will store 18-character id of the user who modified this record lastly.
In Salesforce, we think about database tables as objects, we think about columns as fields, and rows as records.
Standard objects are objects that are included with Salesforce. Common business objects like Account, Contact,
Lead, and Opportunity are all standard objects.
Page 13 of 87
SALESFORCE NOTES
Custom objects are objects that you create to store information thatís specific to your company or industry.
Governor Limits:
----------------
1. In Free Developer Edition:
An object can have max. of 500 Custom Fields.
2. In Unlimited Edition:
An object can have max. of 800 custom fields.
We can list out all the fields inside the object as below.
Note:
Upon creating the Custom Field, we need to specify the Datatype. Which represents what type of Data the
column can hold.
1. Text:
Page 14 of 87
SALESFORCE NOTES
It allows us to enter max. of 255 characters length information, which includes Alphanumerical values along
with the special characters also.
2. Text Area:
This datatype allows us to enter the information in multiple lines. Which accepts upto 255 Characters.
5. Email:
This datatype allows us to enter the valid email id to be get resides inside the field.
6. Currency:
This field allows us to enter an 18-digit number along with the Decimal points also.
7. Number:
* This datatype allows to store the numerical values along with the decimal points also.
* It allows us to enter the number, which can have max. of 18-digits.
8. Phone:
This field type allows us to store the Phone number in "US" phone number format by default.
9. URL:
This field type is used to store the website names / URLs. It will display the URL in the form of a
Hyperlink. Upon click on the Hyperlink, it will re-direct the user to the specific application /website.
10. Picklist:
This control is used to populate a set of elements inside the Picklist, and the user can select only one
element from the values.
11. Picklist-Multiselect:
This control is used to select one or more elements from the collection of elements.
13. Checkbox:
This field type is used to store either "TRUE / FALSE" values inside the column.
14. Date:
This field type allows us to store the Date values by selecting from a Pop-up calendar.
16. DateTime:
Page 15 of 87
SALESFORCE NOTES
This datatype allows us to store DateTime stamp inside the column.
Ex: CreatedDate, LastmodifiedDate, Deletion Date, etc.
17. GeoLocation:
This field type is used to store both Latitude and Longitude values inside the column.
Related List:
-------------
* It describes the list of associated child records with corresponding Parent Record.
* Related Lists will be visible on the "Detailed Page" of the parent record.
2. Relationships
Relationship:
==============
* If we want to establish the connection between two objects we need Relationship.
* A relationship field is a custom field on an object record that contains a link to another record.
Types of Relationship:
=====================
setup-> Build-> Customize-> users-> fields-> custom fields & Relationship-> Hierarchical Relationship-> Label
(Regional Manager) -> Save.
setup-> Administer-> manage Users-> choose users->Edit-> scroll down we can see on creating two user fields.
Master-Detail Relationship:
==============================
1. Master-Detail association will provide One-Many association between the objects by default.
(i.e. A Parent record can have zero or more child records)
2. We can't create the Master-Detail relationship between the objects, where child object contains the records.
3. Upon creating the child record, selecting the Parent record is Mandatory. (i.e. Lookup field is a Required field).
It is tightly coupled relation.
4. Cascade record deletion is their (i.e. if you delete the parent record corresponding child records will be
deleted).
5. Re-Parenting option is not available by default in Master-Detail association.
We need to enable it manually, by selecting the "Allow Re-Parenting" checkbox upon creating the field.
6. An object can have max. of 2 Master-Detail relationship fields.
7. Parent record will have the "Owner" field and Child record will not having the "Owner" field.
(i.e Child record will be completely coming under the control of Parent record.)
8. Sharing Settings and Security settings of the child record will be depending upon the parent record.
9. Upon removing the Parent record, all the associated child records will remove automatically.
10. We can't make a Standard object as the Child for a Custom object with Master-Detail association.
Go to child object (Student) -> Custom fields & Relationships -> New-> Choose Master field-> choose Master
object (Department) -> Next -> Save
2. Lookup Relationship
=======================
Page 17 of 87
SALESFORCE NOTES
1. Lookup Relationship provides One to Many associations between the records by default.
(i.e. A parent record can have Many associated child records.)
2. Upon creating the child record, Lookup field is optional by default.
(i.e. We may or may not select the parent upon creating the child record)
3. Lookup Relationship provides the Re-Parenting option by default. (i.e. we can change the parent of the child
record
4. Upon deleting the Parent record, child record will not be removed. It will be existed as it is.
5. We can make the Lookup field as Mandatory by selecting "Required" checkbox upon creating the
Relationship field.
6. If the Lookup field is required upon creating the child record. Then If the user removes the Parent record,
then salesforce doesn't allow to delete the Parent if any child exist.
Sol: We need to re-parent all the child to some other parent record and then delete the parent record.
7. We can create the Lookup Relationship on an object which contains the records.
8. We can have max. of 40 lookup relationships per an object.
9. In Lookup Relationship, Parent and Child records will have the Owner fields.
i.e. Sharing Settings and Security Settings will be independent of each other.
10. By using Lookup Relationship, we can make a Standard object as a child object with your Custom Object as
parent.
Go to Child Object (student) ->Custom fields & Relationships -> Choose Lookup field-> choose object (Extra
Curricular) -> Save
Example:
==========
Page 18 of 87
SALESFORCE NOTES
M-D1
====
M-D 2:
=======
Step1:
******
Step 2:
*******
Step 3:
********
* When an object has a lookup, itself it is called as Self (Look Up) Relationship.
Ex: The account object has a lookup a himself is called parent account.
1) Lookup
2) indirect Lookup
3) External lookup relationship
(https://trailhead.salesforce.com/en/content/learn/projects/quickstart-lightning-connect)
Lookup Relationship:
====================
Page 19 of 87
SALESFORCE NOTES
* When a child object is External object/salesforce standard/custom object and parent object is salesforce
standard/custom object/External Object then we go for both Lookup relationship.
* When External object contains a column with salesforce RecordID(i.e. 18 digit ) then we create lookup
Relation.
Indirect Lookup:
=================
* When a child object is External object and parent object is salesforce standard/custom object/External Object
then we go for both Lookup relationship.
* when the External object doesn't store any 18- digit Record Id instead has got an external Id map with salesforce
standard object/custom then we go for Indirect Lookup Relation
Orders-> Fields-> New Custom Field -> Choose Indirect lookup-> Choose object (Account)-> Field
(Customer_ID__c) -> save
External LookUp:
=================
When the Parent have External object and child have salesforce standard/custom/External object then we go for
External Lookup Relationship.
Orders-> Fields-> New Custom Field -> Choose External lookup-> Choose object (Order Details)-> save.
* A roll-up summary field calculates values from related records, such as those in a related list.
* You can create a roll-up summary field to display a value in a master record based on the values of fields in a
detail record.
* The detail record must be related to the master through a master-detail relationship.
1. Count
2. Sum
3. Min
4. Max
SUM-Totals the values in the field you select in the Field to Aggregate option. Only number, currency, and
percent fields are available.
MIN-Displays the lowest value of the field you select in the Field to Aggregate option for all directly related
records. Only number, currency, percent, date, and date/time fields are available.
MAX-Displays the highest value of the field you select in the Field to Aggregate option for all directly related
records. Only number, currency, percent, date, and date/time fields are available.
creation:
==========
Page 20 of 87
SALESFORCE NOTES
Go to Master Object (Department)-> custom fields and relations -> Choose Roll Up Summary -> enter Required
fields-> choose summarized object (i.e. Child Object) -> Next -> Save.
3. Validation Rules
Formula Fields:
===================
• Formula Field are the read-only system generated fields, whose value will be generated by the salesforce
automatically based on the "Formula / Expression" specified by the user.
• Formula field values can't be edited by the user.
• Formula fields should be visible in the "Detailed Page" of the record.
Note: Upon creating / Updating an existing record, formula will be re-calculated by the salesforce, and the value
will reside inside the field, will be displayed in record detail page.
Note:
• We can change the Formula field value, by changing the "Source Field Value".
• A formula field can be referenced inside another formula field.
Saleforce provides a set of predefined methods / functions can be referenced inside the "Formula Field".
Page 21 of 87
SALESFORCE NOTES
Functions:
1. Abs(Number): This function returns the Absolute value of the specified number.
Ex: Abs(-45.345) --> O/p: 45.345
Abs(456.90) --> O/p: 456.90
2. Sqrt(Number): It returns the square root value of the given number.
Ex: sqrt(144) --> O/p: 12
3. Len(string): It returns an integer value, which indicate the number of characters exist in the specified string.
(Spaces also counted as a character)
Ex: Len('Welcome') --> O/p: 7
4. Trim(): It removes the blank spaces exist before/ after the specified string.
5. Upper(string): It converts all the character exist in the string into upper case letters.
Ex: Upper('welcome') --> O/p: WELCOME.
6. Lower(string): It converts all the characters exist in the string into Lower case letters.
Ex: Lower('WELCOME') --> O/p: welcome.
7. Floor(number): It returns the nearest lower value of the given number.
8. Ceiling(Number): It returns the nearest higher value of the given number.
9. Left(string,<Number Of Characters>):
It returns the specified number of characters from the Left side of the string.
Ex: Left('Welcome',3) --> O/p: Wel
10. Right(string,<Number Of Characters>):
It returns the specified number of characters from the Right side of the string.
Ex: Right('Welcome',3) --> O/p: ome
11. Substring(string, <Integer startingPosition>, <Integer NumberOfCharacters>):
It returns the specified number of characters getting from the specified starting position in the string.
Ex: Substring('Welcome to Hyderabad',4,5) --> O/p: 'come '
12. Today(): It returns the Today's system date. (mm/dd/yyyy)
13. Year(Date): This function will returns the "Year" portion of the specified date.
Ex: Year(Today()) --> O/p: 2020
14. Month(Date): This function returns the month value of the specified date.
Ex: Month(Today()) --> O/p: 06
15. Day(Date): This function returns Date value of the specified date.
Ex: Day(Today()) --> O/p: 26
16. If(<Conditions> , <True>,<False>):
If is a conditional statement, which evaluates all the specified conditions and returns TRUE, if all the
conditions satisfied.
Else it returns FALSE.
17. Image(<Path Of the Image>,
Alternate Text
[,Height, Width]
)
By using this function, we can display the images dynamically at time in the record detailed page.
18. Case( <Expression> ,
<Case1>,<value1>,
<Case2>,<Value2>,
<Case3>,<Value3>,
....
...
<CaseN>,<ValueN>,
<default Value>
)
Note:
Upon creating the "Formula Field", the formula result can be any of the below 8 types.
Page 22 of 87
SALESFORCE NOTES
1. Text Type
2. Number Type
3. Currency Type
4. Percent Type
5. Checkbox Type
6. Date Type
7. Time Type
8. DateTime Type
Example 1:
Create a Formula Field, to calculate the 5% Service Tax on the Annual Revenue.
Formula Expression:
(Annualrevenue * 5) / 100
Example 2:
Create a Formula Field, to Calculate the Remaining Amount (i.e. After Deducting the Service Tax).
Formula Expression: Annualrevenue - Service_Tax__c
Example-4: Create a Formula Field, to find out the number of days left to close the position.
Formula Expression: Close_date__c - Today ()
Example-5: Create a Formula field and find student Annual Fee whether the student have correspoding or
Regular
if(IsPickval(Student_Type__c,'Regular'),35000,250000)
Cross-Object Formula:
• By using Formula Fields, we can reference the associated Parent records information from the Parent
object.
• And we can display the Parent record information inside the Child record.
i.e. Through Formula Fields, we can traverse the objects from "Child to Parent".
Ex:
Page 23 of 87
SALESFORCE NOTES
Child --> Parent --> Grand Parent --> Grand Grand Parent, ...
Example-1:
Create a Formula Field inside the Contact Object, to display the associated Parent Account's Industry Value.
Formula Expression: Text (Account.Industry)
Example-2:
Create a Formula Field inside the Department Email field to display the associated Student object.
Formula Expression: Department__r.Email__c
Note:
• We can have max. of 10 Object references inside the Cross-Object formula fields.
• We can extend the number of references limit, by contacting salesforce.
Validation Rules:
• Validations are used to enforce the users to provide the proper entry of data inside the fields upon creating
/ updating the records.
• By using Validations, we can prevent the incorrect information inside the application. So that we can
maintain the Quality and Accuracy of the Data.
Note:
Each validation rule contains 2 parts.
1. Validation Condition: This is used to validate the data by writing the user defined conditions based on the
requirement.
2. Error Message: It should be visible to the user, upon validation fails.
Governor Limit: An object can have max. of 100 active validation rules.
Page 24 of 87
SALESFORCE NOTES
Salesforce provides the below pre-defined functions to be used to validate the data.
Functions:
1. Boolean IsBlank(<FieldName / Expression>)
• It is used to comparing the Text fields
• This method is used to check the specified value is Blank or not.
• It returns TRUE, when the specified field is Blank / Empty. Else it returns FALSE.
Ex:
isBlank(Name)
isBlank(Pan_Number__C)
Example: Create a validation rule, to make the "Website" field required on the Account object.
Validation Condition: isBlank(website)
Assignments:
1. Create a Validation Rule on "Lead Object", to make the "Title Field" required.
2. Create a validation Rule on Contact Object, to make the "Email Field Required".
3. Create a Validation Rule on Candidate Object, to make the "Contact Number" field required.
4. Create a Validation Rule on Account object, to make the BillingCity field required.
BillingAddress = (BillingStreet +
BillingCity +
BillingState +
BillingPostalCode +
BillingCountry)
Boolean IsNull(<FieldName>):
• This function is used to check, whether the specified field is Null or not.
• It is used to comparing the Text fields
• It will support the validate the fields of type either "Number / Percent / Currency".
• It returns TRUE, when the specified field value is Null. Else it returns FALSE.
Ex: IsNull(Annualrevenue)
IsNull(Amount)
Example: Create a validation rule on the Account object, to make the "Annual Revenue" field required.
Validation Condition:
isNull(Annualrevenue)
Boolean IsChanged(<FieldName>):
• It returns TRUE, when the specified field value has been modified / changed. Else it returns FALSE.
• In this function we used we can't changed the old/existing values.
Ex:
IsChanged(Annualrevenue);
IsChanged(Current_ctc__C);
Example: Create a validation rule, to prevent the changes of the "Last Name" value in student Object.
Validation Condition:
IsChanged(LastName)
Text(<Picklist Field Name>): This function is used to get the currently selected value inside the specified picklist.
It specify only picklist values.
Ex:
Text(Rating)
Text(Location__c)
Text(Country__C)
Example1: Create a Validation Rule, to make the "Rating Field" is required in AccountObject.
Page 25 of 87
SALESFORCE NOTES
IsBlank(
Text(Rating)
)
Example2: Create a Validation Rule, to make the "Country Field" is required in Student Object.
IsBlank(
Text(Country__c)
)
Logical Functions:
These are used to prepare the compound conditions together.
Salesforce provides the below 3 Logical Functions
1. AND(<Condition1>, <Condition2>,....., <ConditionN>)
It returns TRUE, if all the specified conditions are satisfied. And it will return FALSE, if any of
the condition fails.
2. OR(<Condition1>, <Condition2>,....., <ConditionN>)
It returns TRUE, if any of the specified condition satisfied.
And it will return FALSE, if all the conditions are failed.
3. NOT()
This function is used to change the sign of the operation result from "TRUE to FALSE" and vice-versa.
Example1: Create a validation rule on "Contact Object", to make the Fax value as Mandatory, if the Phone value
has been entered.
Validation Condition:
AND(
NOT IsBlank(Phone),
isBlank(Fax)
)
Error field: Fax
Example2: Create a validation rule on "Account Object", to make the Ownership value as Mandatory, if the
Industry value has been entered.
Validation Condition:
AND(
NOT IsBlank(Text(Industry)),
isBlank(Text(Ownership))
)
Error field: Ownership
Boolean IsNew():
• It Returns True, upon creating a New Record, else it returns false
• This function is used to know, that currently we are working on a "New Record" or we are working on an
"Existing Record".
Example 1: Create a Validation Rule, to make sure the New Account record should be always in Active
status.
Validation Condition:
AND(
IsNew(),
NOT IsPickVal(Active__c, 'Yes')
)
Now Before click on save New Account
New Record: (Which doesn't have the Record ID in the URL)
url: https://ap5.salesforce.com/001/e?retURL=%2F001%2Fo
Existing Record: (It contains the Record Id in the URL)
https://ap5.salesforce.com/0017F00000okM4v/
Ques: How to identify the whether the URL is New Record or existing record or not.
Ans: In Salesforce once create a record and save a record it automatically generated 15 characters Id of the URL.
Page 26 of 87
SALESFORCE NOTES
Example 2: Create a validation rule on Student Object, to make the Date of Birth Mandatory upon creating a
New Student.
Validation Condition:
AND(
IsNew(),
isBlank(DateofBirth__c)
)
Boolean IsPickVal(<Picklist FieldName>, <stringLiteral>):
• This function is used to check, whether the currently selected value inside the specified picklist field with
the string literal.
• It returns TRUE, when the currently selected value is equals to the string literal. Else it returns FALSE.
Ex:
IsPickVal(Rating, 'Hot')
IsPickVal(Location__c,'Chennai')
Example 1: Create a validation Rule on Account object, to make sure the Rating value should be HOT for
Banking Customers.
Validation Condition:
AND(
IsPickVal(Industry, 'Banking'),
NOT IsPickVal(Rating, 'Hot')
)
PriorValue(<PicklistFieldName>):
This function will return the Previous / Old value of the specified field.
Ex:
PriorValue(Name)
PriorValue(Rating)
PriorValue(Location__c)
Example: Create a Validation Rule, to prevent the changing of the Rating value from Cold To Hot directly.
Validation Condition:
AND(
isPickVal(Rating, 'Hot'),
IsPickVal( PriorValue(Rating),'Cold')
)
Explanation: In this scenario we cannot directly changed cold to hot. First, we changed cold to warm then we
changed on warm to hot.
Regex(<FieldName>, 'Regular Expression'):
• By using this function, we can validate the specified field value with the specified format / expression.
• We can prepare the Regular expression with the help of "Wild Card Characters".
• Salesforce provides the below wild card characters to be used to prepare the regular expressions.
[ ] --> Represents a Collection of Characters
[ A - Z ] --> Represents a Collection of characters, where each character should falls between A to
[ a - z ] --> Represents a Collection of characters, where each character should falls between "a" to "z".
4. Email Templates
Email Templates:
================
* By using Email Templates, we can prepare a Draft, which contains the required subject and the content to be get
delivered to the required people based on the need.
* Email Templates are used to notify the people (i.e. Partners, Customers, End Users, Employees) based on the
New Releases into the Market, Festival Seasons, New Year Greetings, Birthday Wishes, and Upon raising the
Cases by the customers.
* Once the Email template has been prepared, then we can use the same template to send to notification to one or
more people based on the need.
Note:
Email Templates are also called as "Communication Templates".
Page 28 of 87
SALESFORCE NOTES
This folder can be accessible by the currently logged-in user.
3. Custom Folders:
The Administrator / Developer can create their own Application / Module specific Folders, to store the
email templates related to the application / module.
Use case:
========
Configure an Email Template to Notify the Lead Person, upon creating a New Lead Record.
Subject:
Congratulations...!! Your Lead Record has been Created Successfully.
Content:
Dear Customer,
We are pleased to inform you, that your Lead record has been created successfully in side
our database for future reference. One of our sales person will contact you shortly.
Page 29 of 87
SALESFORCE NOTES
Thanks & Regards,
Sales Team,
Dell Inc.,
Email us: sales@dell.com
Visit us: https://www.dell.com
Contact us (Toll Free): +1 (800) 465-8989
Observation:
It will send the Email Notification to the specified email id with the required subject and the content.
Merge Fields:
=============
Merge Fields are used to include the selected record content into the email template dynamically at runtime.
We can include the Merge Fields in both "Email Subject and Email Content".
By using Merge Fields, We can make the Email Subject and the Content dynamic.
Syntax:
Page 30 of 87
SALESFORCE NOTES
{! <ObjectName>.<FieldName / APIName> }
Ex:
{!Account.Name}
{!Account.Rating}
{!Account.Industry}
{!Account.Active__c}
{!Account.Pan_Number__C}
{!User.FirstName}
{!User.LastName}
{!User.Email}
{!User.isActive}
Use Case:
------------
Configure an Email Template to Notify the Customer, upon creating an Account Record. Customer
Details should be included inside the Email Notification.
Subject:
Congratulations {!Account.Name}..!! Your Account Record has been Created Successfully.
Content:
Dear {!Account.Name},
We are pleased to inform you, that you are a very valuable customer to our organization.
We can stored your account details inside our database for the future reference.
Customer ID : {!Account.ID}
Customer Name : {!Account.Name}
Rating Value: {!Account.Rating}
Industry Name : {!Account.Industry}
Active Status: {!Account.Active__c}
Annual Revenue: {!Account.Annualrevenue}
Phone : {!Account.Phone}
Fax : {!Account.Fax}
Page 31 of 87
SALESFORCE NOTES
Address : {!Account.BillingStreet},
{!Account.BillingCity},
{!Account.BillingState},
{!Account.BillingPostalCode},
{!Account.BillingCountry}.
Assignments:
============
1. Configure an Email Template, to include the "Lead Record" information into the Template.
2. Configure an Email Template, to Notify the Hospital upon creating a Sample Record, by including the
Hospital details inside the Template.
Page 32 of 87
SALESFORCE NOTES
Step 1: We need to prepare the LetterHead
Step 2: We have to use the LetterHead upon sending the
email notification.
Creating LetterHead:
----------------------------
Upon creating the LetterHead, we have to follow the below steps.
We need to include the "Email Content" inside the "Content Part" of the LetterHead.
Use Case:
------------
Configure a HTML Type of Email Template, to Notify the Hiring Manager, Upon Assigning a New
Position to the Person.
Subject:
Dear {!Account}..!! A New Position {!Account.Name} has been assigned to you.
Content:
Dear {!Account.Name},
Page 33 of 87
SALESFORCE NOTES
Thanks for purchasing the products from our organization.
We are pleased to inform you, that you are a very valuable customer to our organization.
We can stored your account details inside our database for the future reference.
Customer ID : {!Account.ID}
Customer Name : {!Account.Name}
Rating Value: {!Account.Rating}
Industry Name : {!Account.Industry}
Active Status: {!Account.Active__c}
Annual Revenue: {!Account.Annualrevenue}
Phone : {!Account.Phone}
Fax : {!Account.Fax}
Address : {!Account.BillingStreet},
{!Account.BillingCity},
{!Account.BillingState},
{!Account.BillingPostalCode},
{!Account.BillingCountry}.
Page 34 of 87
SALESFORCE NOTES
5. Enter the Email Id, to send the email copy inside the textbox.
6. Click on "OK" button.
Observation:
It will send the email notification to the specified email id, with the "LetterHead" format.
Use Case:
Configure an Email Template, To Notify the Candidate upon submitting the Candidature for the required
Position.
And include the "HyperLink", which will re-direct the user to the specified Candidate Record
automatically.
Subject:
Congratulations {!Student__C.Name}..!! Your Candidature has been submitted Successfully.
Content:
Dear <b> {!Student__C.Name} </b>,<br/><br/>
We are pleased to inform you, that your Candidature has been submitted successfully for the
Department: <b>{!Students__c.Department__c} </b> <br/><br/>
Your profile has been sent for the screening process. And One of our Recruting person will
contact you shortly, if the profile got shortlisted. <br/><br/>
Note:
Upon preparing the email template, the Whole content will be delivered in the form of a "Paragraph".
Which can't be understandable by the users.
To make the content to be get arranged in the required order, we have to use "HTML Tags".
1. Break Tag: (<br/>)
By using this tag, we can move the cursor to the next line.
2. Bold Tag (<b>):
This tag is used to display the specified content in the bold format.
Ex:
<b> Message </b>
3. Italic (<i>):
This tag will display the specified content in "Italic" style.
Ex:
<i> message to display </i>
4. Underline (<u>):
This tag is used to display the specified content with underline.
Ex:
<u> message to display </u>
5. Anchor Tag (<a>):
This tag is used to display teh Hyperlinks inside the content.
Ex:
<a href="URL to Re-Direct"
target="_blank/ _New / _Search">
Message for Hyperlink
</a>
Observation:
It will send the email notification to the specified email id.
5. Workflows
Workflows:
* Workflow in Salesforce is basically a container or business logic engine which automates certain actions based
on particular criteria.
* If the criteria are met, the actions get executed. When they are not met, records will get saved but no action will
get executed.
Example
1. Send the confirmation mail after every credit card transaction.
2. Whenever new Customer is created send the email confirmation with his application details
3. Send Notification email to customer before three days of his trail version expires
1. Evaluation Criteria:
* This will specify when should we check the workflow rule
* There are threee options to choose for evaluation criteria
1. Created: If we choose this option whenever a new record is created on the selected object it checks the
workflow rule
2. Created and every time it is edited: If we choose this option whenever a new record is created or every
time existing record is modified it will check the workflow rule
3. Created and any time it is edited to meet criteria:
If we choose this option whenever a new record is created or any time the existing record which is not
meeting the condition is modified it will check the workflow rule.
2. Rule Criteria:
a) This will specify when an action should be performed.
b) We can build the rules in two formats
1. Criteria based rule
2. Formulae based rule
Page 37 of 87
SALESFORCE NOTES
c. Criteria based rule:
* When we want form a simple workflow rule using the fields of the records with simple
operators.
* In this rule we can use the fields of the object on which workflow is defined
* Fields of the Master object
* Fields of the Currently logged in user
* We can frame 25 condition for a single rule
d. Formulae based rule:
When we want to frame rule using complexed logic then we use formulae based rule
Actions:
a. This will specify types of actions that need to be performed when the rule is met.
b. There are two types of Actions
1. Immediate Action
2. Time Dependent Action
Immediate actions:
Actions that get executed immediately when a record is created or edited.
Time-dependent actions:
Actions that get executed after a certain duration of time, such as 10 days, before a record’s close date. After this
time period, the workflow rules in salesforce will re-evaluate the record just to make
sure, that the rule criteria are met. If the record meets the criteria, the aligned actions will be executed.
Workflow rules in Salesforce can have n number of actions at a time. The following actions can be triggered
using workflow rules in Salesforce:
Action Types:
a) Task
b) Field Update
c) Email Alert
d) Outbound Message
Task:
1. Task is nothing but assigning the work to user|Role |Owner and specifying due date for completion.
2. Task that are assigned to the user can be see on the page as My Taks
3. Taks that are assigned on a record for a user can be seen as OpenActivities on the detail page of the record
4. Taks can be assigned to : user |Owner | Role
* When a task is assigned to owner of the record , Whoever is the owner of record on which workflow is fired he
will be assigned user for task.
* When is Task assigned to role , and there are more than one user with the same role then whoever is owner of
the record on which workflow is fired ,he will be the owner user for the task
* When a task is assigned for the owner and owner is a Queue then who ever has intiated the workflow rule he
will be the owner of the task
Setup=> Quickfind searchbox (Work flow) -> Task => New Task => Choose field (Account) => Assigned to
User1 => Fill all Req details => save.
Setup=> Quickfind searchbox (Work flow) => New Rule => object (Account) => Next
Page 38 of 87
SALESFORCE NOTES
Rule Name: Account Task Creation
Evaluate the rule when a record is: created
Rule Criteria: Account:industry = Banking Save and Next
Immediate Workflow Actions: Add Existing Action Drag n drop on the task assignment and click on Save =>
Done => Activate.
Email Alert:
Setup=> Quickfind searchbox (Work flow) => New Rule => object (Student) => Next
Setup=> Quickfind searchbox (Work flow) => New Rule => object (Lead) => Next
Setup=> Quickfind searchbox (Work flow) => New Rule => object (Account) => Next
Evaluation Criteria: created or created, and any time it's edited to subsequently meet criteria these two criterias are
working on time dependent actions.
created, and every time it's edited this is not working.
Time-Dependent Workflow Actions: Add Time Trigger => 1 Hour After Account Created Date => Save
OutBound Message:
When the criteria is met then send the message to 3rd party application is known as outbound message.
Setup=> Quickfind searchbox (Work flow) => Outbound Messages => New Outbound Message => choose
object(Account) => Next => Enter all required details including 3rd party Url => save and Activate.
6. Company Information
Company's information:
=========================
The company information page contains the company's address, the company's contact details, corporate currency,
organization default time zone, and language and locale setting. You can also use the page to find details about
licenses such as the licenses available, used, and remaining.
Locale settings:
===============
Under the Locale Setting tab, the user can update the Default Locale, Default Language, Default Time Zone, and
Currency Locale fields for the organization.
Manage Currency:
Page 40 of 87
SALESFORCE NOTES
=====================================
A fiscal year or financial year is a period used for calculating annual (yearly) financial statements in businesses and
other organizations. The system administrator can set the fiscal year for your organization. The fiscal year settings are
used to report on the fiscal year timeline.
Salesforce supports two types of fiscal years:
Standard fiscal year
Custom fiscal year
Storage Usage:
==================
* Each organization has storage limits. Storage is divided into two categories: data and file storage. To view your
storage limits, storage usage, and percentage utilized, navigate to your company settings.
* Click View next to Used Data Space or Used File Space to view your organization’s current storage use.
Page 41 of 87
SALESFORCE NOTES
7. Data Management
Data Management:
================
Data means the Records inside the objects.
Data Migration:
Data Migration is used to migrate / move / copy the records from One Organization to another, Or from One
Application to another, Or from One Object to Another, Or from One Instance to Another.
Code Migration:
Code represents the features implemented inside the organization like Applications, Objects, Tabs, Validation
Rules, Workflows, Formulas, Apex Classes, Triggers, Visualforce Pages, etc.
Note: Code Migration is also called as "Deployment".
3. Data Loader:
It's an On-Premise Tool, provided by the Salesforce to perform bulk imports & export operations on All
Standard and Custom Objects inside the organization.
4. Third Party Tools:
Page 42 of 87
SALESFORCE NOTES
We can use the below third party tools to manage the records.
1. Workbench
2. DataLoader.io
3. DataLoader CliQ
4. Aside.io
5. Informatica Cloud
By using Page Layouts, we can insert / update / delete only one record at a time inside the object.
Data Loader:
============
It is an On-Premise Tool provided by salesforce to manage the Bulk records at a time.
(i.e. We need to install the DataLoader into our local system)
By using DataLoader, we can perform Bulk Imports & Bulk Export operations on all Standard and Custom objects in
salesforce.
By using DataLoader, We can process max. of 5 Million records at a time.
We need to supply the input records to the DataLoader in-terms of ".csv" file format. (Comma Separated Value)
Note:
Upon processing the records, DataLoader allows the "Partial Processing". (i.e. Upon processing the records, if any of
record operation failed, then it will continue with the rest of the records as it is)
Once the operations has been Done, then DataLoader provides 2 Output files as below.
1. Success File: (.csv)
Which represents the records has been processed Successfully.
2. Error File: (.csv)
Which contains the records information, which has been failed.
Note:
We need to configure / install the Java into our local system, before installing the "DataLoader". As the
DataLoader has been built upon the "Java Programming".
Page 43 of 87
SALESFORCE NOTES
Note:
Upon processing the records by using DataLoader, it will use the Batch Programming.
(i.e. It will divide the whole records into the various batches of equal size by using either Apex API / Bulk API".
Apex API: (Default)
Minimum Batch Size: 1
Maximum Batch Size: 2,000
Default Batch Size: 200
Bulk API:
Minimum Batch Size: 1
Maximum Batch Size: 10,000
Default Batch Size: 2,000
To perform the operations on the records, DataLoader provides the below Buttons on the User Interface.
1. Insert:
By using this button, we can insert either one or more records into the associated object.
We need to supply all the records information by placing inside a ".csv" file as the input to the
DataLoader.
2. Update:
This option is used to update the existing records with some new values.
Upon updating the records, the record should be supplied along with the "Record ID".
3. Delete:
This option is used to remove the required records from the object. To delete the record, we need the
"Record Id".
Note: Deleted records will get resides inside the "Recycle Bin" for 15 Days.
4. Upsert:
By using this option, we can perform both "Insert and Update" operations at a time.
Note: The records which are having the "Record ID", will be get updated.
And the records, which are not having the "Record ID", will be get inserted into the object.
5. Export:
This button is used to get either One / More / All record from the object.
Upon fetching the records, we can add the required user defined conditions to filter the data.
6. Export All:
This button is used to fetch all the records in the associated object, along with the "Deleted Records also".
Note: Salesforce maintains a standard field "isDeleted" in each object, which is of type "Checkbox".
If the record has been removed, then "isDeleted" field contains the value as "TRUE". Else it contains the
value as "FALSE".
7. Hard Delete:
This button is used to remove the unused records from the salesforce object permanently.
Note: By default, "Hard Delete" button will be in "Disabled" state.
Page 44 of 87
SALESFORCE NOTES
To remove the records permanently from the object, we need to have the permission "Bulk API Hard
Delete" in the Profile level.
Observation:
It will generate the Security Token, and will send the security token to the user's email id automatically by default.
Hard Delete:
---------------
By using this feature, we can remove the required records permanently from the salesforce object, without moving to
the recycle bin.
Note: Upon performing the Hard Delete operation, the user should have the "Bulk API Hard Delete" permission in the
profile level.
Click on "Setup" menu.
1. Goto the "Administer" menu in left panel.
2. Click on "Manage USers" and expand it.
3. Click on "Users" link.
4. Select the Required "User" (Ex: Development User) and click on "Profile Name" (Ex: CIS Salesforce
Profile).
5. Click on "Edit" button, to update the Profile Settings.
6. Select the checkbox "Bulk API Hard Delete".
7. Click on "Save" button.
Note:
Page 45 of 87
SALESFORCE NOTES
We can login into the DataLoader, without providing the "Security Token", with the help of by configuring the
"Login IP Ranges".
i.e. The user should access the DataLoader from the System / Device, which is comes under the specified Login
IP Range.
We can configure the Login IP Range inside the Profile as below.
Setup --> Administer --> Manage Users.
1. Click on "Users" link.
2. Goto the "Required User Name" and click on his associated Profile Name.
3. Goto the "Profile" and Goto the "Login IP Ranges" section.
4. Click on "New" button.
5. Enter the Starting IP Address: 0.0.0.0
6. Enter the Ending IP Address: 255.255.255.255
7. Click on "Save" button.
Observation:
Now the user can login into the DataLoader, just by using his "User Name and the Password", without any Security
Token.
Page 46 of 87
SALESFORCE NOTES
Profile:
======
* Profile defines the how users access objects and data and what they can do with in the application such as
(Create,Read,Edit,Delete).
* It defines the what are all apps they ca access, restriction of login hours and login IP ranges, apex classes and
visualforce pages etc. they all are access by the profile.
* One user can have only one profile but one profile can have multiple users.
Page 47 of 87
SALESFORCE NOTES
1 Standard Profile and
2 Custom Profile
Standard Profile:
By default salesforce provides some predefined profiles is called standard profiles.
* Read Only
* System Administrator
* Standard User
* Marketing User
* Contract Manager
Each standard profile includes a default set of permissions for all standard objects available on the platform.
System Administrator profile has the widest access to data and the greatest ability to configure and customize
Salesforce. The System Administrator profile also includes two special permissions:
* View All Data
* Modify All Data
Custom Profile:
* As per our business requirement we need to create a profile is known as custom profile.
* Custom profile can be created edited and deleted.
* If we want to delete the custom profile and, in that profile, they have no users until the profile contains any users the
profile can't be deleted.
Profile controls:
===========
Objects, tabs, apps, pagelayouts, Recordtypes, user permissions, Apex and visualforce pages etc...
User:
=====
User is a person who have credentials to log in to Salesforce and use the application.
Page 48 of 87
SALESFORCE NOTES
By default, every user in salesforce will have a user account.
The User account identifies the user and the settings determines it’s features.
User Licenses:
A user license determines the baseline of features that the user can access.
Every user must have exactly one user license.
Creation of User:
=============
Setup-> Administer->Manage Users-> New User -> fill all required fields -> Profile (Sales Profile) -> save
Deactivate a User
=============
* You can't delete a user, but you can deactivate an account so a user can’t log in. Deactivated users lose access to all
records. (That includes records that are shared with them individually and records shared with them as team
members.) However, you can still transfer this data to other users and view the names on the Users page.
* In Setup, use the Quick Find box to go to Users.
* Click Edit next to the name of the user you want to deactivate.
* Clear the Active checkbox and click Save.
* If you can’t immediately deactivate an account (for example, when the user is selected in a custom hierarchy field),
you can freeze their account. That prevents the user from logging in to your organization while you’re working on
deactivating them.
* On the Users page in Setup, click the username of the user whose account you want to freeze.
* Click Freeze.
Password policies:
*******************
Set password and login policies, such as specifying an amount of time before all users’ passwords expire and the level
of complexity required for passwords.
Page 49 of 87
SALESFORCE NOTES
User password expiration:
***********************
Expire the passwords for all the users in your org, except for users with “Password Never Expires” permission.
Permission sets:
============
* A permission set is a collection of settings and permissions that give users access to various tools and functions.
* The settings and permissions in permission sets are also found in profiles, but permission sets extend users’
functional access without changing their profiles.
Permission sets make it easy to grant access to the various apps and custom objects in your org, and to take away
access when it’s no longer needed.
Page 50 of 87
SALESFORCE NOTES
* Users can have only one profile, but they can have multiple permission sets.
You'll be using permission sets for two general purposes: to grant access to custom objects or apps, and to grant
permissions—temporarily or long term—to specific fields.
9. OWD
Page 51 of 87
SALESFORCE NOTES
These 4 are the most controlling ways of record level access in salesforce
1 OWD
2 Role Hierarchy
3 Sharing Rules
4 Manual Sharing.
a. Private:
==============
If you define OWD as Private on an object. Only owner of the record can access the record and perform read, write
delete, transfer operation on the records.
b. Public Read:
==============
a. If you define OWD as Public Read on an object, every user can access every record in the object.
b. Records for which he is the owner on those records he can perform Read/Write /Delete/Transfer
c. Records for which he is not the owner, on those records he can only perform Read operation.
Page 52 of 87
SALESFORCE NOTES
Controlled by Parent:
==================
1. if two objects are connected to each other using master-detail relation then child object will not have its own
Owner.
2. What the OWD defined on the master object same OWD will be applied on child object. which we call it as
controlled by Parent.
View All:
==============
a. On an object for a profile if we enable view All permission, all the users with this profile can access all the records
of the object irrespective of OWD.
b. They can perform read operation on others record.
Modify All:
===========
a. On an object for a profile if we enable Modify All permission, all the users with this profile can access all the
records of the object and perform Read | Write | Delete | Transfer operations on all the records
Example:
Opportunity -> we make as Private
Now the opportunity records no one can access.
click on user=2 and check on the opportunity we didn't get the records.
Scenario:
=======
To share all records of users with role 'Customer Support International' with Customer support USA
OWD of Opportunity is Private.
User-1
Profile: System Administrator
Role: Customer Support International
User-2
Profile: Custom Profile
Role: Customer support USA
Step-1: Setup=> Quick find searchbox (Sharing settings) -> OWD => Opportunity (Private) => save
Step-2: Setup=> Quick find searchbox (Sharing settings) -> Scrolldown -> Opportunity -> New ->
Label: Sharing with USA
Select Your Rule Type: Based on criteria
Select which records to be shared: Role = Customer Support International
Select the users to share with: Role = Customer support USA
Select the level of access for the users: Read Only => Save
Page 55 of 87
SALESFORCE NOTES
Creation:
===========
Step-1: Setup=> Quick find searchbox (Sharing settings) -> OWD => Lead (Private) => save
Step-2: Setup=> Quick find searchbox (Sharing settings) -> Scrolldown -> Lead -> New ->
Label: USA Sales Reps
Select Your Rule Type: Baed on criteria
Select your rule type : Country = USA
Public group = USA Sales Reps
Access = Read Only => Save.
Public Group:
===========
A public group is a collection of individual users, other groups, individual roles, and/or roles with their subordinates
that all have a function in common.
Manual Sharing:
=============
Manual sharing rules are used to manually share the specific records to the other users.
Page 56 of 87
SALESFORCE NOTES
* This sharing button will appear only when the OWD is Private/Public Read Only.
* Sharing button will be available only to
+ Record Owner
+ System Administrator
+ Users above the record owner in role hierarchy.
+ Users with full access.
* Records can be shared with other users, roles, roles and subordinates, public groups, manager groups or Manager
subordinate groups.
* The visibility of the button can be controlled with the help of the page layouts.
* This feature will available on Classic only.
Example: Open leads object and choose any record and open the record to find on the sharing button. If the sharing
button is not appearing on record detail page then go to the page layouts her we find on buttons section and choose
sharing button drag n drop on the buttons section and click on save
Now click on sharing button record detail page click on Add button search :public group and choose USA sales Reps
and save.
It automatically the record is shared to the group of users.
Users=> click on any users=> here sharing button is appear and click on save.
PageLayout:
* Pagelayout is nothing but the graphical user interface provided by the salesforce to manage the records in the
objects.
* By using the pagelayouts we can perform all DML operations i.e. we can insert, update, delete,upsert and view the
records inside the objects.
1 Standard Pagelayout: Salesforce by default they created a pagelayout is known as Standard Pagelayout.
2 Custom pagelayout: As per business requirement we create a some pageloyouts then we called as a Custom
pagelayouts.
Creation of pagelayout:
Pagelayout-1:
Pagelayout-2:
Setup-> Quickfind searchbox(Objects)-> Departments-> Pagelaoyouts-> New ->
Page Layout Name: Old Department -> Save -> Drag & drop the fields -> save
Pagelayouts are created now we need to assighn the pagelayouts to the profiles
Page 58 of 87
SALESFORCE NOTES
Pagelayouts-> Pagelayout Assignments -> Edit Assignment
System Admin -> New Department
Sales Profile -> Old Department
Now we open the departments and click on new here display on the specified paylayout fieldds.
-> At present we displayed on fields and section now I need to control the buttons and related lists (i.e. child records,
notes and attachments etc...)
Goto Pagelayouts-> buttons-> drag n drop on the buttons and -> save
Goto Pagelayouts-> Releated Lists > drag n drop on objects -> save
If one object has many pagelayouts but one profile has only one pagelayout.
Minipagelayout:
Record Types:
Record types in Salesforce allow you to have different business processes, picklist values, and page layouts to
different users based on profile. You might create record types to differentiate your regular sales deals from your
professional services engagements, offering different picklist values for each.
Recordtype Creation:
Record Type-2:
Record Type Label -> Old Department
Active -> True
Profile -> System Admin -> True -> Next
Apply a different layout for each profile -> Yes
System admin -> Old Department pagelayout
Save
Record Type-3:
Record Type Label -> Regular Department
Active -> True
Page 59 of 87
SALESFORCE NOTES
Profile -> System Admin -> True -> Next
Apply a different layout for each profile -> Yes
System admin -> Deafult Department pagelayout
Save
* Field History tracking is a method where we can track the changes that happens to a field.
* This field history tracking can be done for custom objects and standard objects.
Step-1:
Goto Department Object -> Edit Object and check Optional Features and Check Tarck Field History and click Save.
Step-2:
Goto Department object Custom Fields and Relationships and click on Set History Tracking Button and choose fields
and click save.
Step-4: Now edit the existing record in Department object and check on the Department History modification
notifications.
Report Types:
***************
* A report type defines the set of records and fields available to a report based on the relationships between a primary
object and its related objects.
Page 60 of 87
SALESFORCE NOTES
* Reports display only records that meet the criteria defined in the report type.
Setup
|-----Build
|---Create
|-----Report Types
|---------New Custom Report Types
a. If you want to include any child objects for the primary object
we can select up to three levels
Step 7: Click on Edit layout and select the list of fields available in the report and Save.
Reports:
=======
It contains a collection of records retrieved from one or more objects and can be represented in a pre-defined format.
Salesforce provides 2 categories of Reports
1. Standard Reports:
Which has been provided by salesforce by default for all the standard and custom objects.
2. Custom Reports:
The Developer / Administrator can create / configure their own customized reports based on the business
need.
Note: All the Reports will get resides inside the "Report Folder".
2. Report Scheduler:
This feature / Tool is used to make the report to be get Scheduled for the future runs based on the specified
periodical intervals.
Tabular Report:
-----------------
This will return you the list of records which are meeting the filter criteria in the form of table.
Example:
Reports-> New Report ->
1. Choose -> Opportunities
2. Click Filters, then apply the following filters:
3. For the Show Me standard filter, select All opportunities and click Done.
4. For the Opportunity Status standard filter, select Open and click Apply.
5. For the date standard filter, select Created Date and Current FY for the range and click Apply.
6. For the fastest results, always set the smallest date range you can. If your report has to sift through a great many
dates, it can take longer to show the information you’ve asked for.
7. The following columns should already be included in your report: Opportunity Name, Type, Lead Source, Amount,
Close Date, Next Step, Stage, Probability (%), Fiscal Period, Age, Created Date, Opportunity Owner, Owner Role,
Account Name.
8. Click Save.
9. Name your report Open Opportunities This Year.
Page 63 of 87
SALESFORCE NOTES
10. Enter a description and save the report in the Public Reports folder.
11. Click Run.
Summary:
=========
* List of records will be form in a group.
* Grouping of the records in row wise is called Summary Report.
Reports-> New Report -> Create->
Example: Reports -> New Report-> Accounts -> Continue ->
Filter -> Show Me All Accounts -> Apply
Filter -> Created Date -> All Time -> Apply.
To make this report a summary report, you need to group rows. To group rows, first click Outline.
Under GROUP ROWS, from the Add group... picklist, select Rating and Save the Report and Run the Report.
Matrix :
=======
Grouping of records in row wise and column wise is known as Matrix Reports.
1. On the Reports tab, click New Report, choose the ‘Opportunities’ report type, and click Continue.
2. Click Filters, then apply these standard filters:
3. For the Show Me standard filter, select All Opportunities and click Done.
4. For the Opportunity Status standard filter, select Closed Won and click Apply.
5. For the Date Field standard filter, select Close Date. For Range, select Current FY. Click Apply.
6. For the fastest results, always set the smallest date range you can. If your report has to sift through a great many
dates, it can take longer to show the information you’ve asked for.
7. To summarize the report by Sum of Amount, click the More actions dropdown arrow on the Amount column. Then,
click Summarize and select Sum.
8. To change the report format to matrix, first group rows by Close Month and columns by type. To start grouping,
click Outline.
9. Under GROUP ROWS, from the Add group... picklist, select Close Month.
10. Under GROUP COLUMNS, from the Add group... picklist, select Type.
11. You may want to hide the report details when viewing a matrix report. Matrix reports are usually easiest to
consume with details hidden. To hide the report details, turn off Detail Rows.
12. Save your report as Opportunities by Sum of Amount and accept the auto-generated unique name.
13. Click Run Report.
JoinedReport :
==============
We can join two or more report types and form a single report which we call it as joined report
Page 64 of 87
SALESFORCE NOTES
Report Type Label : Account Phone
Description : Account Phone
Store in Category : Others
Deployment Status : Deployed -> Next -> Save.
Reports-> New Report -> Accounts & Contacts (Account Phone)-> Create -> Change Report Type (Joined) -> Add
Report Type -> Save.
Note : If we want to join two report types both of them should have same primary object.
Schedule Reports:
==============
Reports-> Choose any Report Type (Ex: Tabular Report Form)-> Run Report(Drop Down)-> Schedule Future Runs->
Here we can schedule reports and Save Report schedule
Dashboards:
=============
* A dashboard is a pictorial representation of data generated by reports.
* Visualization of data in pictorial format helps us to understand the stats in a quick manner.
* It lets you show the data from reports using different charts like Pie, Bar, Line, Donut charts etc.
* Each dashboard component has one report supply.
* The same report can be supplied to different dashboard components.
* Now, we will create a Dashboard for the ‘Property Report’ we have created.
Creating a Campaign:
=================
Before creating a Campaign in salesforce in campaign feature is not available bydefault. this basically requires a
Feature license.
How to check:
Setup-> Users-> goto system admin user and click on the user -> here Marketing User checkbox is enabled then we
have to access on the campaigns.
If the Marketing User checkbox is checked that means this user can access on the campaigns object.
Basically, in Marketing user we require a Featured License.
Campaign Hierarchy :
==================
Page 66 of 87
SALESFORCE NOTES
* Hierarchy is nothing but parent and child relationship.
* Campaign Hierarchy means that parent and child relationships in campaigns.
Page 67 of 87
SALESFORCE NOTES
10. Max number of Sharing Rules (Criteria-based Only) - 50
11. Max number of Custom Objects - 400
12. Max number of User Licenses - 2
13. Max number of Rollup Summary Fields - 25
14. Max number of Custom App - 10
15. Max number of Tabs - 100
16. Max number of Master Details Relationship - 2
17. Max number of Custom Report - 400
18. Max number of File attachment - 2GB
19. Max number of people you can add to chat - 10
20. Max number of HTML - 5MB, PDF - 25MB, Word - 25MB, XLS - 5MB
21. Max number of custom logo - 20KB
22. Max number of mass email to 5,000 external email addresses per day
23. Max number of Active Flows - 500
24. Max number of Code coverage - 30,00,000 characters
25. Max number of Data storage - 20MB
26. Max number of Record Limit - 5MB
27. Max number of rows you can insert into a custom object is 2,000
28. Max number of source report columns you can map to target fields is 100.
29. Dynamic dashboards per org - 3
30. Report builder preview shows a maximum of 20 rows for summary and matrix reports and 50 rows for tabular.
31. Reports display a maximum of 2,000 records.
32. Summary and matrix reports display the first 2,000 groupings when Show Details is disabled.
33. Matrix reports display a maximum of 4,00,000 summarized values.
34. Matrix reports display a maximum of 2,000 groupings in the vertical axis when Show Details is disabled.
35. Up to 5 metrics display in the Lightning Experience report header.
36. In a joined report, each block can have up to 100 columns. A joined report can have up to 5 blocks.
37. You can add up to 10 custom summary formulas to each block in a joined report.
38. A joined report can have a total of 50 custom summary formulas.
39. Each joined report can have up to 10 cross-block custom summary formulas.
40. When you filter on standard long text area fields, such as Description or Solution Details, only the first 1000
characters of the field are searched for matches in reports.
41. Summary fields on tabular, summary, and matrix reports can display up to 21-digits.
42. Joined reports require that the new user interface theme is enabled. Users without the new theme are unable to
create, edit, or run joined reports.
43. Forecast reports include only opportunities that are set to close within the forecast period, except those assigned to
the Omitted forecast category.
44. A dashboard filter can have up to 50 options. By default, 10 options are enabled. Contact Salesforce to extend
your limit
45. Each dashboard can have up to 20 components.
46. A dashboard table or chart can display up to 20 photos.
Page 68 of 87
SALESFORCE NOTES
47. You must wait at least one minute between dashboard refreshes.
48. You can add up to 1000 fields to each custom report type.
49. The maximum number of rows you can insert into a custom object is 2,000.
50. The maximum number of runs you can store is 200.
51. The maximum number of source report columns you can map to target fields is 100
52. You can only add report charts from the enhanced page layout editor. The mini console and the original page
layout editor are not supported.
53. On detail pages, users can refresh up to 100 report charts every 60 minutes.
54. Your org can refresh up to 3,000 report charts every 60 minutes.
55. Each report can include up to five bucket fields
56. Each bucket field can contain up to 20 buckets.
57. Each bucket can contain up to 20 values.
Page 69 of 87
SALESFORCE NOTES
Lead Status - 100
Task Status - 100
Opportunity Stage - 100
Mass Email Limits
You can send mass email to a maximum of 5,000 external email addresses per day per org based on Greenwich Mean
Time (GMT).
Role hierarchy -
salesforce license - 2
active flows - 500
rules - 2000
code coverage - 30,00,000 characters
data storage - 20MB
Record Limit - 5MB
Assignment, Auto-Response, and Workflow Rules Limits
Chatter Answers Limits
A question in Chatter Answers can receive up to 500 replies.
Custom Field Limits
Custom Picklist Limits
Limits for customized selection lists that let users pick values from a predefined list of entries.
Custom single-select picklists can have:
Up to 1,000 values
Up to 255 characters per value
Custom multi-select picklists can have:
Up to 500 values
Up to 255 characters per value
Users can select up to 100 values at a time on a record.
General Email Limits
an email with a 25 MB attachment
Mass Email Limits
You can send mass email to a maximum of 5,000 external email addresses per day per org based on Greenwich Mean
Time (GMT).
Active validation rules per object - 100
Custom applications - 10
Custom fields per object - 500
Custom objects - 400
Custom Tabs - 100
Users: maximum created - 2
Max number of custom obeject - 400
Max number of fields per object - 500
Max number of user account - 2
Max number of validation rule - 100
Page 70 of 87
SALESFORCE NOTES
Max number of custom app - 10
Max number of Tabs - 100
Max number of Master Details Relationship - 2
Max number of Custom Report - 400
Max number of file attachment - 2GB
Max number of people you can add to chat - 10
Max number of HTML - 5MB, PDF - 25MB, Word - 25MB, XLS - 5MB
Max number of Approvel Prcess - Approvel process per org - 1000, Approvel process per object - 300
Max number of custom logo - 20KB
Create a record:
This will allow you to create new records and set certain field values for the new record.
Page 71 of 87
SALESFORCE NOTES
Email alerts:
IN order to send an email from a process, you must create the email alert. To send an email alert that email should be
associated with the same object on which process is started. Email template contains the standard text, list of
recipients, and template
Trigger a flow:
You can launch a flow from your process to automate complex business processes.
Post to Chatter:
Process builder post to chatter action helps to post information to any user or group chatter feed within Salesforce.
The post will appear in the chatter field as if the person who triggered the process had written it. You can reference
groups or topics and add merge fields.
Update records:
Update one or more records that are related to the record that started the process. You can update the record with
manually entered values or by using the values from related records. We can update records of parent or child whereas
workflow only updates same or parent object from the child.
Quick actions:
You must already have global actions or an object specific action created within Salesforce to use these quick actions.
You can then select to log a call, send an email, or update a record.
Process:
This action will call another process to another process. For this action, you need to choose process type as it invoked
by another process.
Setup => Quick Find box, type Process Builder. => New.
Name the Process: Create child case.
The process starts when A record changes.
Click Save.
Add Criteria:
Page 72 of 87
SALESFORCE NOTES
Name the criteria: Create a Child Case
The criteria should execute actions when the conditions are met.
Set Conditions
Field: Case | Reason
Operator: Equals
Type: Picklist
Value: Installation
Select All of the conditions are met (AND).
Click Save
Immediate Action:
Add Action =>
Action Type: Create a Record.
Name the action: Child Case
Record type: Case
Set Field Values:
Row 1:
Field: Status
Type: Picklist
Value: New
Click Add Row
Row 2:
Field: Case Origin
Type: Picklist
Value: Email
Click Add Row
Row 3:
Field: Parent Case ID
Type: Field Reference
Value: Case. ID
Example -2:
Page 73 of 87
SALESFORCE NOTES
Step -1: First we need to create a Email Template
Step -2: create a Email Alerts in workflow section.
Add Criteria:
Criteria Name: opportunity is closedwon
Set Conditions: stage = picklist closedwon.
All of the conditions are met (AND) Save
Add Action:
Action -2:
Action Type: Email Alert
Action Name: Notify the Opp Owner
Email Alert: opportunity Email Alert and Save
Example- 4:
Whenever a department records get created with department details is numm and update the field on depart name and
department code after one day.
Object : Department__C
only when record is created and Save
Add Criteria:
Page 75 of 87
SALESFORCE NOTES
2) Post a Chatter:
Setup => Build => Customize => Chatter => Chatter Settings => Edit => Approval Post (Enable Allow Approvals)
=> Save.
Feed Tracking:
Feed Tracking => Student => Enabled Feed Tracking => Mode => Save.
3) Post Template:
Setup => Workflow & App => Post Template => New Template=>
Select Object: Student
Name: Student Fee Post Template
Choose objects and click save.
Page 78 of 87
SALESFORCE NOTES
16. Queues
Queue:
======
* Queues are a collection of records that doesn’t have any owner. Users who have access to the queue can examine
every record that is in it and claim ownership of one’s they want.
* Queues help to prioritize, distribute, and assign records to teams who share workloads.
* Queue records can be accessible by the "Queue Members".
Queues doesn't support all standard objects.
Ex: Lead, Case, Order, Feedback, Feedback Question, Feedback QuestionSet, Performance Cycle, Goal, Metric,
Macro, Knowledge Article Version, User Provisioning Request and All Custom Objects.
Note: All the Queue's information will get resides inside the "Group" object. (Where Type='Queue')
Ex: Select id, name, type from Group Where type='Queue'
Note: We can have one or more Queues inside the organization based on the need.
Use case:
------------
Configure a "USA Sales Queue", which can hold Only the Lead Records. And add the "User-2 User" as the
member for the Queue.
Setup --> Administer --> Manage Users --> Queues
1. Click on "New" button
2. Enter the "Queue Label and the Name"
3. Enter the Queue Email Id.
4. Select the checkbox "Notify All Queue Members". To notify to all Queue members, upon placing the a
record inside the Queue.
5. Select the Queue Supporting Objects by using "Add / Remove" button.
(Ex: Lead Object)
Page 79 of 87
SALESFORCE NOTES
6. Add the Queue Members by using Picklist
(Ex: User-2 User)
7. Click on "Save" button.
Use case:
Create a Lead Record inside the Object, and Transfer the Ownership of the record to "USA Sales queue"
manually.
Observation:
The Lead Record's ownership will get transferred to "USA Sales Queue". And the Queue members will
receive an email notification.
Page 80 of 87
SALESFORCE NOTES
3. Select the "Queue Name" (Ex: USA Sales Queue) from the "List View Options.
4. It will list out all the records awaiting inside the queue.
5. Select the checkbox, for the required records to get accept.
6. Click on "Accept" button.
Observation:
The record ownership will get transferred from "Queue" to the "User" automatically by default.
By using Assignment Rules, we can assign a Lead / Case record to either a "User / Queue" dynamically at runtime
based on the user defined conditions.
Use case:
------------
configure a "Lead Assignment Rule", to assign the Lead record to the specified Queue based on the State as
below.
Observation:
Once the Lead Record has been created, then it will assign the Lead to the associated Queue based on the
conditions
Note: We can have one or more assignment rules inside an organization. But, Only one assignment rule will be in
"Active" status at a time.
Note: Assignment Rules will get fired always "After Insert/ After Update" the record inside the object.
Page 82 of 87
SALESFORCE NOTES
Use case:
------------
Configure the Case Assignment Rule, to assign the Case Records to the associated Queue based on the Case
Status and Priority as below.
Pre-Requisite:
We have the configure the below 3 Queues, by adding the "Case" as the Supporting Object and "Development
User" as the Queue Member.
Web to Lead:
============
By using this feature, we can capture the Lead Records through the Organization website.
i.e. By placing a Form inside the Organization website, we can capture the Lead Records through online.
To achieve this, we have the enable the Web To Lead feature inside the organization as below.
Setup --> Build --> Customize
1. Click on "Leads" and expand it.
2. Click on "Web To Lead" link.
3. Goto "Web To Lead Settings" section
4. Click on "Edit" button.
5. Select the checkbox "Web To Lead Enabled".
6. Click on "Save" button.
Note: By default, Web To Lead feature is enabled for every salesforce.com organization.
Implementation Steps:
Step 1: Create a HTML Web to Lead form, to capture the Lead Details.
Page 83 of 87
SALESFORCE NOTES
We need to generate an HTML form to be get placed inside the Organization's website, to capture the
Lead Record details.
Step 2: Provide the HTML generated code to the Organization
web designer to place inside the Website.
Note: Upon sharing the HTML code to the organization web designer, we can recommend the required changes, like
"Fields to be Mandatory, Field Length, etc.".
Step 3: Once the User submit the details by filling up the form, salesforce will receive the details and will create a
New Lead record inside the Lead Object automatically.
3.1. Once the New Lead Record has been created, then it will apply the "Lead Assignment Rule"
on the record automatically by default.
So that record should get assigned to the required User / Queue based on the conditions.
Limits:
=======
Web to Case:
============
By using this feature, we can create the Case records inside the Case object through the Organization Website /
Online.
To receive the Case records through online, we have the enable the "Web To Case" checkbox as below.
Note: By default, web to case checkbox will be enabled for every organization.
Step 1: Enable the Web to Case feature.
Setup --> Build --> Customize
1. Click on "Self Service" and expand it.
2. Click on "Web To Case" link.
3. Click on "Edit" button, inside the "Web To Case" Settings section.
4. Select the checkbox "Web To Case Enabled", select the Default Case Origin as "Web" and
Select the Default Case "Owner" from the Lookup icon.
5. Click on "Save" button.
Page 84 of 87
SALESFORCE NOTES
Website and can create the Case Records.
Limits:
-------
1. Salesforce will capture max. of 5,000 Case records through online in 24-hours time frame.
2. Additional Case records will store into the "Salesforce Queue" upto 50,000.
3. We can increase the Daily Limits by contacting "Salesforce.com" organization.
An auto-response rule is a set of conditions for sending automatic email responses to lead or case submissions based
on the attributes of the submitted record. Applicable leads include those captured through a Web-to-Lead form.
Page 85 of 87
SALESFORCE NOTES
17. Actions
Actions:
1. Object Specific Action
2. Global Specific Action
Scenario: When the user creates a Department Record at same time we create a Student Record also.
Setup-> Object Manager -> Departments-> Buttons Links & Action -> New Action->
Click on save
Drag and Drop on the fields
Click Save.
Goto Pagelayouts -> Department pagelayout-> Edit-> Mobile & Lightning Actions
Drag & drop on the New student Action to the Salesforce Mobile and Lightning Experience Actions and click Save.
Now open any Department Record ->
Here we find on New Student Action.
Page 87 of 87