SFDC Admin Class Note
SFDC Admin Class Note
---------------------
Each organization will use, few set of applications to automate their business
processes.
Ex: C Language, C++, Java, .Net, MS Office, Oracle, SQL Server, etc.
Cloud Computing is a concept, which provides the various approaches, to access each
IT services over the internet by using any device, and by paying the rental amount
to the vendor.
Companies offering these computing services are called Cloud Providers. And charge
for cloud computing services based on usage, similar to how you are billed for
water or electricity at home.
-----------------------------------------------------------------------------------
-----------------------------------------------------------------------
Uses of Cloud Computing: By using Cloud Computing, we can achieve the below
services.
Benefits of Cloud Computing: Here are 6 common reasons organizations are turning to
cloud computing services.
1. Cost:
Cloud computing eliminates the capital expense of buying hardware and software and
setting up and running on-site datacenters.
2. Speed:
Most cloud computing services are provided self service and on demand, so even vast
amounts of computing resources can be provisioned in minutes.
3. Performance:
The biggest cloud computing services run on a worldwide network of secure
datacenters, which are regularly upgraded to the latest generation of fast and
efficient computing hardware.
4. Reliability:
Cloud computing makes data backup, disaster recovery and business continuity easier
and less expensive, because data can be mirrored at multiple redundant sites on the
cloud provider’s network.
-----------------------------------------------------------------------------------
-----------------------------------------------------------------------
Most cloud computing services fall into three broad categories. These are sometimes
called the cloud computing stack
3. Infrastructure As a Service(IAAS):
• When the customers are accessing the "Server Resources (Memory, Performance,
Security)" on rental basis, then it is called as "Infrastructure as a service".
• With IaaS, you rent IT infrastructure—servers and virtual machines (VMs),
storage, networks, operating systems—from a cloud provider on a pay-as-you-go
basis.
-----------------------------------------------------------------------------------
----------------------------------------------------------------------
Few Companies offer Cloud Computing services to their customers, hence named as
“Cloud Computing Providers/ Companies”. They charge its users for utilizing such
services and the charges are based on their usage of services.
We have the top Cloud Computing Vendors like Amazon, Microsoft, Salesforce.com,
Google, Adobe, VMware, IBM, Rackspace, Red Hat, Oracle, SAP, Verizon, Navisite,
Dropbox, Egnyte
-----------------------------------------------------------------------------------
-----------------------------------------------------------------------
CRM Basics:
CRM stands for Customer Relationship Management
A CRM system is an Application / Tool, that allows you to manage all your
customers, partners and prospects information all in one place.
By using CRM applications, we can track the existing customer and new customers
information of an organization.
With the help of CRM, we can maintain 360 degree view of your customer. (i.e. from
Capturing the customer to, till offering the services to the customer)
-----------------------------------------------------------------------------------
-------------------------------------------------------------------------
CRM Terminology / Vocabulary:
Campaign:
It is a way to promote the organization products / services. We can use the other
ways to do the marketing like Conducting Stalls, Trade Shows, TV Advertisements,
Theatre Advertisements, Posters, Pamphlets, Banners, Hoardings, Digital Marketing,
Email Marketing, Tele Marketing, Free Samples, etc.
Lead:
Note: Once the Leads has been Captured, then Leads information will be shared with
“Sales Team”. Sales Team will contact the Leads over the Phone / Sending an Email /
Meeting Directly and provide the required information and offer the discounts and
close the deals.
And they will convert the Leads as Customers, once the Lead person is ready to buy
the product. Upon converting the Lead as a Customer, Salesforce will generate 3
records as below.
3. Opportunity Record: It describes, how much business we did with the customer.
It describes about the products purchased by the customer and revenue generated
from the customer.
Between Account and Opportunity, we have One-Many association. i.e. An Account
record can have one or more associated opportunities.
Case:
Solutions:
-----------------------------------------------------------------------------------
-----------------------------------------------------------------------
Salesforce Cloud Services:
1. Sales Cloud:
• By using Sales Cloud Features, we can automate all the Processes followed
during the sales of our products / services.
• To automate sales processes, salesforce provides "Marketing and Sales"
applications.
Objects: Campaign, Lead, Account, Contact, Opportunity, Product, Order, Quote,
PriceBook, etc. and Analytics (Reports, Dashboards).
2. Service Cloud:
By using service cloud features, we can automate all the business processed
following upon giving the services to the customers.
Ex: SLA's, Feedbacks, Suggestions, Cases, Solutions, etc.
3. Marketing Cloud:
• By using Marketing cloud we can automate Campaign Management, Lead
Management, Contract Management, Order Management, etc.
• Salesforce provides a Marketing Cloud feature by using “Exact Target” Tool.
Which offers the features like Email Studio, Mobile Studio, Jouney Builder, Web
Studio, Social Studio, SMS Studio, etc.
4. App Cloud :
By using this feature, We can built our own custom applications. Salesforce
provides the below 2 features as part of App Cloud.
1. Force.com Platform:
Platform provides a set of resources, to build your custom application.
By using Force.com,
1. We can customize the existing salesforce CRM application.
2. We can leverage / extend the salesforce CRM functionalities, by adding the
Additional features based on the need.
3. We can build the custom application.
By using Force.com platform, we can build and deploy the next generation cloud
applications. Force.com Platform offers 2 Programming Languages as below.
1. Apex Programming:
It is a Cloud based Object Oriented programming, used to build the custom business
logic based on the need.
2. Visualforce Programming:
It is a web development framework, used to design attractive and dynamic user
interfaces.
2. Database.com:
• It is a customized database of Salesforce, where the actual objects and
records will get resides. Which supports ORM Technology (Object Relationship &
Mapping)
• It ensures the Data Security, by having the ISO 27001 & SAS 70 Type II
Certifications.
• Which are purely concentrating on "Information Security and Confidentiality".
• Salesforce maintains a Disaster Recovery Center in each region (NA/EU/AP), to
get back the Data if any data loss due to some environmental issues.
• All Salesforce implemented applications will use the "Database.com" as the
Backend.
5. Data.com (Jigsaw):
By using Data.com, we can purchase the required Leads / Organization's information
without conducting the marketing approaches.
To buy the Data from Data.com, Salesfore provides the 2 below Licenses.
-----------------------------------------------------------------------------------
----------------------------------------------------------------------
Salesforce Releases:
1. Winter Release.
2. Spring Release
3. Summer Release
• Each release contains the latest features associated with SAAS (Salesforce
CRM), PAAS (Force.com) and Infrastructure.
• Salesforce provides the latest releases of salesforce features on Free of
cost to all customers.
• Each release name will be post-fixed with the Current Financial year number.
Spring '19 --> (Previous Release) Summer '19 --> (Current Release) Winter '20 -->
(Next Release)
-----------------------------------------------------------------------------------
----------------------------------------------------------------------
In a single instance, salesforce will allocate the memory for 8000+ customers. i.e.
8000+ customers Applications, Data, files, records will exist inside the same
server.
For each customer, salesforce will creates an account inside the server instance.
Each salesforce account will be called as an "Salesforce.com Organization / Org.
Each salesforce organization will be identified by using an unique Identification
Number called as "Salesforce.com Organization Id", Which starts from "00D".
The customers can extend their memory space, by contacting the salesforce /
partners, by paying additional amount to salesforce.
The extended memory space will be allocated in the same server instance.
We can cross-check the server instance status, maintenance calendar by using the
website "https://status.salesforce.com".
Upon creating the Salesforce account, based on the country name selected by the
user, Salesforce will allocate the required amount of space in the associated
Region's available server.
Note: Salesforce maintains the "Disaster Recovery Centers" in each region wise, to
provide the backup / re-store facilities to the customs, if something went wrong
due to environmental issues.
-----------------------------------------------------------------------------------
------------------------------------------------------------------------
Editions of Salesforce:
Salesforce provides the various Editions of Licenses, which can be purchased by the
customers to automate their business processes.
Salesforce offers 6 Editions of Licenses.
1. 30-Days Trail Account: Which can be accessible for 30-Days. Goto the
Salesforce.com website "http://www.salesforce.com"
Start a Free Trail (30-Days Account)
-----------------------------------------------------------------------------------
---------------------------------------------------------------------
APPLICATIONS IN SALESFORCE
By using these Tabs, we can perform all the DML operations on the Objects. (INSERT,
UPDATE, DELETE, UNDELETE) and View.
1. Standard Applications:
By using these applications we can manage the existing and new customers
information.
2. Custom Applications:
The Administrator / Salesforce Developer can create their own custom applications
based on the need. (Ex: Banking, Finance, Insurance, HealthCare,...etc.)
Note: We can customize / Leverage the Custom Applications based on the need. And we
can remove the custom application from the organization, if it no longer needed.
Governor Limits:
Ex: Campaign, Lead, Account, Contact, Opportunity, Case, Solution, Contract, Order,
Product, Feedback, Performance Cycle, ..etc
The user can able to manage the records inside the objects. i.e. The user can
perform all the DML manipulations inside those object. (i.e. Insert, Update,
Delete, Undelete) and View records also. To manage the records inside the objects,
salesforce provides a set of Tabs.
-----------------------------------------------------------------------------------
---------------------------------------------------------------------
TABS IN SALESFORCE
Tab Provides a set of graphical user interfaces, by which we can manage the records
inside the associated object. By using Tab, we can insert, update, delete, view,
Undelete the records inside the object.
For each object, salesforce provides a separate Tab. Which is used to manage the
records inside the associated object.
Note: An object can have only one Tab. (i.e. Object To Tab, we have one-one
association) Note: All Tab Names will be represented with "Plural Names" as below.
Tab Name Object Name
Accounts Account
Contacts Contact
Opportunities Opportunity
Leads Lead
Campaigns Campaign
Cases Case
Positions Position
Customers Customer
Candidates Candidate
.... etc ... etc
-----------------------------------------------------------------------------------
---------------------------------------------------------------------
CREATING CUSTOM TABS IN SALESFORCE
Upon creating a Custom object, if the user didn't select the last checkbox "Launch
a New Custom Tab Wizard After Saving the Custom Object", then Salesforce will not
provide the "Tab" for the object. We need to create the Tab for the object
manually.
Note: An object can have only one Tab. (i.e. Object To Tab, we have one-one
association) Salesforce provides 4 types of Tabs.
1. Custom Object Tabs: This feature is used to create a Tab to be used to manage
the records exist inside
the object.
2. Web Tabs: These are used to re-direct the user to the specified URL / path of
the External Application upon click on the Tab.
Ex: Re-direct the user to "Office 365", Re-direct the User to "Weather Map
Application", etc...
3. Visualforce Tabs: By using this feature, we can re-direct the user to the
specified Visualfore page, Upon click on the Tab.
4. Lightning Page Tabs: By using this feature, we can re-direct the user to the
specified Lightning page, upon click on the "Tab".
-----------------------------------------------------------------------------------
------------------------------------------------------------------------
CREATING CUSTOM FIELDS IN OBJECT
Field represents a column inside the associated object. An object can have one or
more fields inside it. Fields / Columns are used to store the application specific
data.
Ex:
1. Standard Fields: These are the readymade fields given by the Salesforce by
default. Ex: ID, Name, Owner, CreatedBy, LastModifiedBy
2. Custom Fields: Upon customising the Salesforce application or building our
own custom applications
we can create our own custom objects also based on the need.
(I.e. Developers can able to add some new fields to the objects (either Standard
Object / Custom Object)
Governor Limits:
• In Unlimited Edition: We can create max. of 800 custom fields per an object.
• In Free Developer Edition: We can create max. of 500 custom fields per an
object.
-----------------------------------------------------------------------------------
-------------------------------------------------------------------------FIELD
TYPES / DATA TYPES IN SALESFORCE
Creating the Fields are nothing but, creating the columns inside the table. Upon
creating the Columns inside the Table, we need to specify, what type of data can be
hold inside the column.
i.e. Upon creating the Field in an object, we need to select any of the datatype as
below.
1. Text Type:
This Datatype is used to create a Textbox field in the object.This field will
allows us to enter max. of 255 Characters of data in a single line. This field type
will allows us to enter Alphanumerical values along with the special characters
also. And, we can restrict the field to allow the specified number of characters.
Properties:
1. Field Label: To enter the Lable / Text to be displayed along with the field
inside the user interface.
2. Field Name / API Name: To specify the column name, to be used to create a
field inside the object. Note: Custom field's API Name should be always post-fixed
with " C"
3. Description: This property is used to specify the description of the field.
4. HelpText: This property is used to enter the Online Help / Tooltip text
message to be displayed along with the field.
5. Required checkbox: This checkbox is used to make the field required /
mandatory.
6. Unique Checkbox: This checkbox, will make the field value as unique inside
the entire column.
7. Length: This property is used to specify, the number of characters to be
allowed inside the textbox.
8. External ID: An external ID is a custom field that has the “External ID”
attribute, meaning that it contains unique record identifiers from a system outside
of Salesforce
Note: External ID field type can be either Number / Text / Email field type. An
object can have max. of 25 External ID field's.
2. Text Area:
Allows us to enter the data in multiple lines, max. of 255 characters.
(Alphanumerical + Special Characters)
5. Email:
This field is used to enter the valid email addresses, which will be verified by
the Salesforce upon saving the record.
6. Phone:
6. Unique Checkbox :
7. External ID:
This field is used to store the 10 digit phone numbers. Once the user enters the 10
digit phone number, then it will convert the phone number into US phone number
format.
Ex: Contact Number : 9988776655 ---> Save --> Contact Number : (998) 877 - 6655
7. Currency:
To store the Currency values. (Numerical values --> Integer + Decimal value). Field
will allows to store max. of 18-Digit Number.
Once the record gets saved, it will display the currency value by prefixing with
the Currently configured currency symbol in the Salesforce.
Step 2: Contact the Salesforce Support, to determine the best time, to activate
this feature from the salesforce side.
8. URL:
10. Picklist-Multiselect:
By using this control, the user can select one or more elements from the collection
of elements.
Note: The selected items will be concatenated with help of a seperator ";", and
will store the value inside the field.
11. Date:
This field type, allows us to store the Date values inside the column by selecting
from a pop-up calendar. Ex: BirthDate, JoiningDate, Open Date, CloseDate, DueDate,
etc.
12. DateTime:
This field type is used to store both Date and Time stamp value inside the column.
Ex: Meeting Start Time, Meeting End Time, CreatedDate, LastModifiedDate, etc. Ex: I
have a meeting / Client Call : 08/13/2017 06.00 PM
13. Number:
This field type is used to store numerical type value, which includes both Integer
and Decimal values also. Note: We can store a 18-digit number inside the field.
14. Percent:
It will allows us to store the Numerical values, which will be stored by post-
fixing with "%" symbol. It will allows us to store an 18-digit number, which can be
either Integer / Decimal value.
15. Checkbox:
This field type is used to store the Boolean values inside the column. Which may be
either TRUE /
FALSE.
Password : ********* ---> All the Characters ATM PIN Number : XXXX ---> All Digits
A/C No : XXXX XXXX 1234 --> Last 4 Digits will be visible as it is.
Credit Card : XXXX XXXX XXXX 4004 --> Last 4 Digits will be visible as it is.
So, Auto Number field is called as a "System Generated Field". Auto Number field
will generate the value for the field upon saving the New record.
Note: System Generated Fields are "Read-Only" fields.
Question: What are the various System Generated Fields exist in salesforce.
Ans: ID, CreatedBy, LastModifiedBy, Auto Number, Formula Fields, Rollup Summary.
19. Time:
This field type is used to store the Time value inside the field. Which is a New
field type available from "Winter'18" Release.
-----------------------------------------------------------------------------------
------------------------------------------------------------
What is PageLayout:
PageLayout is Custom Graphical User Interface on the Object which allow us to
interact with the object. And we can perform all
DML operation(Delete, Update, Insert, Undelete). And Retrive data on the Objects.
Salesforce Provide by default Pagelayout for each object. If we want based on our
business requirement we can create one more Pagelayout.
Note:
1.All Record Type will resides in "Record Type".
2. Record Type can be applicable for both standard and custom object. A pageLayout
can be referenced by multiple RecordType.
Example:
Configure the recordType for Account Object.(New Customer Type, Existing Customer
Type).
Solution:
Step1: PageLayout
1. New Customer Layout
2.Existing Customer Layout
Record Type:
New Customer Type, Existing Customer Type
Example:2
Bank Account--Custom Object---Durring create object take BANK ACCOUNT Number for
auto number data type
Fields--Custom
Account Holder's Contact Number--Data type=Phone
Account Holder's Email----------> Data Type Email
Account Holder's Name ---------->Text(255)
Account Holder's Address--------->Text Area(255)
Account Type(Picklist)--->Saving General,Saving Minor, Saving Senior, Current
General, Current Forex
BANK ACCOUNT Number--Auto
Initial Balanc------Data Type Currency
Registered Date-----Data Type
Trading Limit(Demant or Current Account)----Currrency
PageLayout--
1.Employee Page Layout
2.Manager Page Layout
Record Type:
Employee Record Type:Saving General,Saving Minor, Saving Senior
Manager Record Type:Saving General,Saving Minor, Saving Senior, Current General,
Current Forex
Profile--
Manager Profile, Employee Profile
Users:
1.Paul Davisdson----Profile---Manager Profile
2.Mark Edwards-----Profile---->Employee
MyName---System Admin
-----------------------------------------------------------------------------------
-------------------------------------------------------------------------
Account---Parent object
Contact---Child Object
1. LookUp Relationship:
Custom:
Student----Parent Object
Class------Child Object
1.Lookup Relatioship provide one to Many(one Parent many child) between two
objects/tables
2.Upon deleting the parent, child records will not delete(Only We can Parent
records will be removed)
3.While creating the child records, lookup fields is optional by default.(we may or
may not selected the parent object)/We can Make mandatory or not(It is Optional
lookup fields)
4.Reparenting option is available default in lookup relationship.
5.Upon deleting the parent records child, Child record will not delete.(Only You
can delete parent records)
6.Maximum lookup 38 lookup relationship/Object
7.Both Parent and Child having own owner fields.
8.We can make a standard object as a child object with the custom Object in lookup
relationship.
9.We can't apply Rollup summary fields on lookup Relationship object.
10. In LookupRelationship security we provide independents. Because each object
having own Owner Fields.
-----------------------------------------------------------------------------------
---------------------------------------------------------------
Note:b/w--Account and Contact ----Lookup Relationship
Task:
Object1--Parent
Object2:Child
UseCase1:Create the lookup relationship between Student and Class Object and
describes the observations.
Student----Parent Object
Class------Child Object
Account--Standard object---Child
Position--Custom Object---Parent
Task:
UseCase:UseCase1:Create the master Detail relationship between Book and Book Object
and describes the observations.
A>. Cutomer: Parent Object
Payment: Child Object
Account--Parent
Object1---Child
-----------------------------------------------------------------------------------
-----------------------------------------------------------------------
What is difference Between Lookup and Masster Details:
Lookup Relationship:
1. Lookup field is not a required field
while creating the child record / detailed record
2. When you delete the parent record,
child record will not be deleted(only parent record will removed)
3. We can have max of 40 lookup relationships on an object
4. Re-parenting option is available by default(i.e. we can change the parent of the
child record)
5. Sharing Setting and Security settings are not dependant on parent record
6. Rollup summary fields can’t be applicable
7. Standard object can be the detail object for a custom object
8. Owner field is available on detailed record
9. We can create the lookup relationships on an object, which is having the
records.
We have a common field in Opportunity object, with the name "AccountID". Which
holds the Account Record Id to which the opprtunity is associated.
In few cases, we have to map Many to Many association between two objects, Which
provides One- Many association from both the sides.
An Author can participate while preparing the Multiple books (i.e. One to Many from
Author To Book). A Book can be prepared by multiple Authors (i.e. One to Many
Association from Book to Author)
===================================================================================
=========================================================================
Salesforce provides a set of junction objects, which has been created upon
Salesforce CRM Application Development.
Campaign--Lko,Delhi,Pune
Lead--Person
O2----Child
O3-----Parent----Secondary Object
-----------------------------------------------------------------------------------
--------------------------------------------------------------------
21/06/2024
Example: We can create the rollup summary fields to calculate the Number Of
Contacts available for an Account.
1.Count()
2.Sum()
3.Max()
4.Min()
1.Count():It returns an integer value, which indicates the number of child records
exist in the child object for each parent record.
2.Sum():This function is used to calculate the Sum value for all the child records
fields.
Note: This function can be applicable only on number Type/Percent
type/Currency Type fields.
3.Max():This function returns the Highest value from all the associated child
records.
Note: This function can be applicable only on Number Type/Percent
type/Currency Type Date type fields.
4.Min():This function returns the Smallest value from all the associated child
records.
Note: This function can be applicable only on Number Type/Percent
type/Currency Type/ Date type fields.
Important Note: 1.An Object can create max 25 Rollup Summary Fields.
2.while summarizing the records, we can consider all the records or
only the records matching the specific criteria.
3. Rollup summary field will be displayed on Details page of the
Master Records.
Today task:
Cloud Computing
Basic CRM
Salesforce
App
Object
Tabs---Tabs visibility
Fields
Data Types
PageLayout
Record Type
Relationship-->Lookup,Master Detail, Many to Many, Junction Object, Rollup Summary
Fields.
-----------------------------------------------------------------------------------
-----------------------------------------------------------------
22/06/2024
How we can create rollup Summary fields On Parent Object then calculate child
records?
==>Create NumberOfContacts Field with Rollup Summary data type on the Parent
Object. Summarized Object====Child Object Select
Today Task:
-----------------------------------------------------------------------------------
-----------------------------------------------------------------