Admin Entire Notes
Admin Entire Notes
Introduction to CRM:
Why CRM?
Introduction to Cloud Computing & Salesforce.com
Cloud Computing - Overview
What is Software-as-a-Service (SAAS)?
What is Platform-as-a-Service (PAAS)?
What is Infrastructure-as-a-Service (IAAS)?
What is Salesforce.com?
Salesforce Certifications
Certified Force.com Developer(401)
Certified Administration (201)
Certified Advanced Force.com Developer(501), etc.,
Database Introduction:
Types of Tab:
Custom Application:
Limitations
Field Creation and its Relationships a. Different Data types
Standard Data types :
Salesforce Application elements: Home Page, Tabs, Tab Home Pages, Detail Page, Side
Bar, Apps, Record
Page Layouts:
Record Types:
Field Dependencies:
Validation Rules:
Workflow rules:
Define workflow
Create Email template
Set up workflow rules
Set up workflow actions
Workflow Approval process:
Email Templates:
Data Management:
Personal Setup:
Creating Users
User Licenses Overview
Understanding Record Ownership and Access
Role Hierarchy
Profiles
Security:
AppExchange:
Installing an App
Uninstalling an App
Salesforce Material
Salesforce editions:
Contact Manager:
Group Edition:
Professional Edition
Enterprise Edition
Unlimited Edition
To Login : https://developer.salesforce.com/
Sandboxes:
Developer Sandbox:
Partial Copy:
Partial Data sandboxes include all of your organization’s metadata and add a
selected amount of your production organization's data that you define using
a sandbox template. A Partial Data sandbox is a Developer sandbox plus the
data you define in a sandbox template. It includes the reports, dashboards,
price books, products, apps, and customizations under Setup (including all of
your metadata). Additionally, as defined by your sandbox template, Partial
Data sandboxes can include your organization's standard and custom object
records, documents, and attachments up to 5 GB of data and a maximum of
10,000 records per selected object. A Partial Data sandbox is smaller than a
Full sandbox and has a shorter refresh interval. You can refresh a Partial Data
sandbox every 5 days.
REFRESH LIMIT :- 5 Days
DATA LIMIT :- 5GB
Full Sandbox:
Full sandboxes copy your entire production organization and all its data,
including standard and custom object records, documents, and attachments.
You can refresh a Full sandbox every 29 days.
Sandbox templates allow you to pick specific objects and data to copy to your
sandbox, so you can control the size and content of each sandbox. Sandbox
templates are only available for Partial Data or Full sandboxes.
REFRESH LIMIT :- 29 Days
DATA LIMIT :- Same as Production
Professional edition :
https://www.salesforce.com/form/signup/freetrial-sales-ee.jsp
Users in Salesforce:
Freeze User: -
In some cases, you can’t immediately deactivate an account, such as when a
user is selected in a custom hierarchy field. To prevent users from logging in
to your organization while you perform the steps to deactivate them, you can
freeze user accounts
APPS :
TABS:
Custom Object Tabs: For your custom object data. Custom Object Tabs
display the data of your custom object in a user interface tab. Custom object
tabs look and function just like standard tabs.
Web Tabs: For other web content Custom Web Tabs display any external
Web-based application or Web page in a Salesforce tab. You can design Web
tabs to include the sidebar or span across the entire page without the sidebar.
Visualforce Tabs: For Visualforce pages Visualforce Tabs display data from a
Visualforce page. Visualforce tabs look and function just like standard tabs.
Flexible Page Tabs: For Flexible Pages, to include them in the Salesforce1
navigation menu. Flexible Page Tabs let you add Flexible Pages to the
Salesforce1 navigation menu.
Also,
Lightning Page tabs: let you add Lightning Pages to the Salesforce1
navigation menu.
Salesforce Objects:
Objects are database tables that allow us to store data specific to the
organization in salesforce.
Two type of objects in Salesforce. They are.
Fields:
Auto Number
Checkbox
Currency
Date
Date/Time
Email
External Lookup Relationship
Formula
Geolocation
Hierarchical Relationship
Lookup Relationship
Master-Detail Relationship
Number
Percent
Phone
Picklist
Picklist (Multi-select)
Roll-Up Summary
Text
Text (Encrypted)
Text Area
Text Area (Long)
Text Area (Rich)
Time
URL
External ID:
Another example can be taken for the food items where deciding from the long list is
usually time-consuming and boring, you can limit the search by keywords like breakfast,
lunch, dinner etc. The values for picklist could be defined as controlling fields and
dependent fields as shown below:
Relationships in salesforce:
Lookup relationships are used when you want to create a link between two
objects, but without the dependency on the parent object. Similar to Master-
Detail relationship, you can think of this as a form of parent-child relationship
where there is only one parent, but many children i.e. 1:n relationship.The
difference here is that despite being controlling field, deleting a record will not
result in automatic deletion of the lookup field in the child object. Thus the
records in the child object will not be affected and there is no cascade delete
here. Neither will the child fields inherit the owner, sharing or security
settings of its parent.
This kind of a relationship can exist when there is a need to create two
master-detail relationships. Two master-detail relationships can be created by
linking 3 custom objects. Here, two objects will be master objects and the
third object will be dependent on both the objects. In simpler words, it will be
a child object for both the master objects.
Hierarchical
A special lookup relationship available for only the user object. It lets users
use a lookup field to associate one user with another that does not directly or
indirectly refer to itself. For example, you can create a custom hierarchical
relationship field to store each user's direct manager.
IQ: Account and contact relationship in salesforce.
Contacts and Accounts have a lookup relationship, but this relationship has a
property called Cascade Delete set to true. This is why the contact is deleted
when the parent object is deleted.
Page Layouts:
Control which fields, lists of related records, and custom links users see
Customize the order that the fields appear in the page details
Determine whether fields are visible, read only, or required
Control which standard and custom buttons appear on records and
related lists
Control which quick actions appear on the page
Record Types:
Validation Rules:
Validation Rules help you improve the quality of your data by verifying that
the data entered by a user meets the standards you specify. If the data doesn’t
meet your specifications, then the user cannot save their changes to the
record.
IQ:
ISBLANK() or ISNULL()
ISNULL() works only for number data type fieds, if we don't populate with value for
number fields it will return true.
ISNULL() won't support TEXT data type fields because text fields never become null.
ISBLANK() supports both number as well as text data types.
Workflows :
The first option will only check if the rule applies when the lead is created,
which means it will ignore updates to existing leads. This definitely doesn’t
apply, since we want our rule to apply to existing records.
The second option means that if the rule criteria is met, the rule will run, no
matter what. Say we have a lead whose lead score is greater than 50. The rule
will run when the record is edited to show that the lead score is above 50, but
the rule will also run every single time that record is edited for any reason and
the lead score is still above 50. This will result in an email about that lead,
even after it’s already been determined that they’re a hot lead.
The third option means that the rule will run if a new record is created that
meets the criteria, or if an existing record is changed from not meeting the
criteria to meeting the criteria. This is the best option for our rule. If a hot lead
is added as a new record, we’ll receive an alert. If a record is subsequently
updated to have a lead score over 50, we’ll receive an alert only once that
happens.
Rule criteria:
EX :
New Task
New Email Alert
New Field Update
New Outbound Message (this action allows you to send a SOAP message with
field values to an endpoint such as an external server)
IQs:
1. There is a time-based workflow which will update one of the fields if the
criteria meet. User submits the record with valid criteria, workflow triggered
so that the field update is queued in the 'time based flow' queue which will
fire after one day. If the user modifies the record which is submitted before
the scheduled date, after modification, a record criterion is not meeting.
Whether the field will be updated or not in schedule date?
Sol: It won't trigger in the schedule date because if we modify the record to
not meeting criteria that queued field update will be removed from the 'time
based flow' queue.
2. For the same scenario explained in the above question what happens when
we deactivate or modify the criteria of the workflow to different criteria?
Whether the field will be updated or not in schedule date?
3. There are two workflow rules on the same object say namely wf1 and wf2.
If wf1 fires then a field will be updated on the same object, if the field updated
and due to this wf2 criteria meets then what will happen, wf2 will fire or not?
Sol : It won't fire. To fire wf2 we should enable 'Re-evaluate Workflow Rules'
checkbox of the field update which is there in wf1.
For the workflow Evaluation Criteria if you choose created, and any time it’s
edited to subsequently meet criteria option, we can avoid recursive workflow
rules.
If you don't enable Re-evaluate Workflow Rules after Field Change checkbox
in the Field Update of a workflow rule we can avoid.
5. Can we update parent record with workflow field update?
Sol: It is not possible to delete the workflow when the workflow is having any
pending time dependent actions.
Sol: We can clear time based workflow action queue in two ways they are
1.Make the criteria false.
2.Removing scheduled actions from the queue.
Approval Process:
Types:
– The Jump Start wizard creates a one-step approval process for you in just a
few minutes
– The Standard Wizard is useful for complex approval processes.
Jump Start Wizard
• The jump start wizard is useful for simple approval processes with a single
step.
• Use the jump start wizard if you want to create an approval process quickly
by allowing Salesforce to automatically choose some default options for you.
Standard Wizard
• The standard wizard is useful for complex approval processes.
• Use it when you want to fine tune the steps in your approval process.
• The standard wizard consists of a setup wizard that allows you to define
your process and another setup wizard that allows you to define each step in
the process.
IQ : Scenario: After activating the approval process, I want to add one more
step. Is it possible?
Sol : It’s not possible, to add one more step deactivate the approval process
and clone the deactivated approval process and add the new steps.
Sol: Yes. Process builder or apex trigger can be used to initiate approval
process when record is created.
IQ. How we can achieve dynamic approval process like approve of position
record should be user defined in hiring manager field of position?
The difference between Profile and Permission Sets is Profiles are used to
restrict from something where Permission Set allows user to get extra
permissions.
IQs:
There are administrative permissions for View All Data and Modify All
Data that are assigned via profile or permission set. View All Data will grant
read access to all objects and records (ability to see all data in
Salesforce). Modify All Data will grant create, read, edit, and delete to all
objects as well as full access to all records (ability to edit and delete all data in
Salesforce).
View All and Modify All can also be enabled on a per-object basis. View All
grants read access to the object and read only access to all records within that
object. Modify All grants create, read, edit, and delete access to the object and
full access to records within that object.
Sharing Settings:
OWD is the default access level on records for any object in sales force.
For custom objects we can see below access levels -
Private
Public Read only
Public Read/Write
By default after creating custom object OWD access level is Public Read/Write.
Private: only owner and above hierarchy users can have Read/Write access
and below hierarchy users don't have any access.
Public Read only: only owner and above hierarchy users can have Read/Write
access and below hierarchy users can have only Read Only.
Public Read/Write: Irrespective of role hierarchy everyone can have
Read/Write permissions on the records.
1. OWD(Organization Wide Default )
Private.
Public Read.
Read / Write.
Read/Write & Transfer.
2. Role Hierarchy
3. Sharing Rules
4. Manual Sharing
IQ. I want to have read/write permission for User 1 and read only for User 2, how can
you acheive?
IQ. I have an OWD which is read only, how all can access my data and I want to give
read write access for a particular record to them, how can i do that?
Create a Sharing Rule to give Read/Write access with "Based on criteria" Sharing
Rules.
IQ. How we can change the Grant access using role hierarchy for standard objects?
ANS:Not possible.
Go to detail page of record and click on manual sharing button and assign that record to
other user with Read or Read/Write access.
Manual Sharing button enables only when OWD is private to that object.
IQ.Can you tell the difference between Profile and Roles?
Roles
Sharing Rules.
Manual Sharing
View all.
Modify all.
Process Builder:
The Lightning Process Builder is a new workflow tool that helps you easily automate
your business processes by providing a powerful and user-friendly visual representation
of your process as you build it. Instead of doing this repetitive work manually, you can
configure processes to do it automatically. The Process Builder’s simple and powerful
design allows you to automate processes.
You can use the Process Builder to perform more actions than with workflow:
Create a record
Update any related record
Use a quick action to create a record, update a record, or log a call
Launch a flows
Send an email
Post to Chatter
Submit for approval
Call apex methods
But the process builder doesn’t support outbound messages.
Workflow
Workflow is business logic that evaluates records as they are created and updated and
determines if an automated action needs to occur. In a way it allows records to speak
up or do something – update data, notify people or external systems.
Workflow does only 4 actions
Create Task
Update Field
Email Alert
Outbound Message
Interview Questions:
What is a report?
A report is a list of records that meet the criteria you define. It’s displayed in Salesforce
in rows and columns, and can be filtered, grouped, or displayed in a graphical chart.
Every report is stored in a folder. Folders can be public, hidden, or shared, and can be
set to read-only or read/write. You control who has access to the contents of the folder
based on roles, permissions, public groups, and license types. You can make a folder
available to your entire organization, or make it private so that only the owner has
access.
Matrix Report: Matrix report has groups of data based on columns and rows. This
report can be used to represent comparison between related total with total by row and
total by column.
Join Report: Join report has the more advanced way to represent data. This report will
allow you to relate different blocks and show them in single report. Each block has
unique attributes like name, filters, columns, data, and summary fields.
Custom Summary Formula field: User can define formula based on summary report is
generated.
Exception Reports (Cross Filters): These reports are used to show highlight the
position where data doesn’t exist. These reports are created using cross filters.
Custom Summary Formulas: These formulas are used on reports to calculate complex
data from summary level.
Analytical Snapshots: Snapshot captures data at schedule point with respect to time.
Historical Trend Reporting: This will allow you to track your data. This will allow you to
track upto 8 fields on Opportunity object and 3 fields up to custom objects.
Bucket Field: Salesforce allows us to categorize records without using any formula.
This is known as Bucketing. In bucketing user defines the bucket field (or bucket
multiple categories) to group report value.
Users with permission “Run Report” and access to report folder can only run the report.
1. Picklist
2. Number
3. Text
IQ:How many maximum groupings we can do for summary, matrix and join reports?
3 groupings
5 blocks.
The following items aren’t supported in joined reports, and aren’t converted:
Bucket fields
Cross filters
The Rows to Display filter
Yes.
Formula are not available in tabular reports but available for other report types.
Formula can be only in number, currency and percent format.
Analytical snapshot allows reports run at scheduled time to be stored as objects. Analytical
snapshots are used to perform trend analysis. As an example if we want to view how
monthly sales are growing, fields in a report with sales figure can be stored in a custom
object every month using Analytical snapshot. Data in this custom object can then be used
to perform trend analysis.
Analytical snapshot are available from the Data Management menu option. Source report in
Analytical snapshot can be of the type Tabular or Summary.
Setup Analytical reports require a four step process:
Select source report
Select custom object
Map source report fields to custom object fields
Schedule the frequency for taking the snapshots
IQ: What is Difference between “printable View” and “Export Details” button on
report?
Dashboards :
A dashboard shows data from source reports as visual components, which can be charts,
gauges, tables, metrics, or Visualforce pages. The components provide a snapshot of key
metrics and performance indicators for your organization. In Salesforce Classic, you can edit
dashboards in Accessibility mode.