Salesforce Developer Project Report
Salesforce Developer Project Report
PROJECT REPORT
SALESFORCE DEVELOPER
TEAM MEMBERS
PAVITHRA M (611420104054)
DHIVYABHARATHI A (611420104018)
JAYASHREE T (611420104026)
NANDHINEESWARI D (611420104047)
1
WORKFORCE ADMINISTRATION SOLUTION
Technical Architecture:
2
Project Flow:
System Requirements:
Windows 8 machine
Bandwidth of 30mbps
SALESFORCE
Introduction:
Are you new to Salesforce? Not sure exactly what it is, or how to use
it? Don’t know where you should start on your learning journey? If
you’ve answered yes to any of these questions, then you’re in the right
place. This module is for you.
Welcome to Salesforce! Salesforce is game-changing technology, with
a host of productivity-boosting features, that will help you sell smarter
and faster. As you work toward your badge for this module, we’ll take
you through these features and answer the question, “What is
Salesforce, anyway?”.
What Is Salesforce?
Salesforce is your customer success platform, designed to help you sell,
service, market, analyze, and connect with your customers.
4
Salesforce has everything you need to run your business from
anywhere. Using standard products and features, you can manage
relationships with prospects and customers, collaborate and engage
with employees and partners, and store your data securely in the cloud.
So what does that really mean? Well, before Salesforce, your contacts,
emails, follow-up tasks, and prospective deals might have been
organized something like this:
[Link]
Use Case:
Before creating our developer account, we must know what are the
types of Editions Salesforce offers.
5
Types of Salesforce Editions:
6
managing and sharing all your information on
demand. Includes all Enterprise Edition
functionality, Premier Support, full mobile access,
unlimited custom apps, increased storage limits, and
other features.
7
5. County : India
6. Postal Code : pin code
7. Username : should be a combination of your name and company
This need not be an actual email id, you can give anything in the format
: username@[Link]
Click on sign me up after filling these.
Use Case:
8
Account Activation
1. Go to the inbox of the email that you used while signing up. Click
on the verify account to activate your account. The email may take
5-10mins.
9
4. Then you will redirect to your salesforce setup page.
10
OBJECT
What Is an Object?
Salesforce objects are database tables that permit you to store data
that is specific to an organization. What are the types of Salesforce
objects
Use Case:
11
To Navigate to Setup page:
Click on gear icon ? click setup.
12
3. Enter Record Name Label and Format
Record Name >>> Employee ID
Data Type >>>Auto Number
Display Format >>> EMS-{0000}
Starting Number >>> 1
13
Create Project Object
TABS
14
Types of Tabs:
1. Custom Tabs
Custom object tabs are the user interface for custom applications
that you build in [Link]. They look and behave like
standard [Link] tabs such as accounts, contacts, and
opportunities.
2. Web Tabs
Web Tabs are custom tabs that display web content or applications
embedded in the [Link] window. Web tabs make it easier
for your users to quickly access content and applications they
frequently use without leaving the [Link] application.
3. Visualforce Tabs
Visualforce Tabs are custom tabs that display a Visualforce page.
Visualforce tabs look and behave like standard [Link] tabs
such as accounts, contacts, and opportunities.
4. Lightning Component Tabs
Lightning Component tabs allow you to add Lightning components
to the navigation menu in Lightning Experience and the mobile app.
5. Lightning Page Tabs
Lightning Page Tabs let you add Lightning Pages to the mobile app
navigation menu.
Lightning Page tabs don't work like other custom tabs. Once
created, they don't show up on the All Tabs page when you click the
Plus icon that appears to the right of your current tabs. Lightning
15
Page tabs also don't show up in the Available Tabs list when you
customize the tabs for your apps.
Use Case:
To create a Tab:(Employee)
1. Go to setup page >>> type Tabs in Quick Find bar >>> click
on tabs >>> New (under custom object tab)
16
2. Select Object(Employee) >>> Select any tab style >>>
Next (Add to profiles page) keep it as default>>>Next (Add to
Custom App) keep it as default >>> Save.
To Create A Tab:(Project)
1. Go to setup page >>> type Tabs in Quick Find bar >>> click on
tabs >>> New (under custom object tab)
2. Select Object(Project) >>> Select the tab style >>> Next (Add to
profiles page) keep it as default >>> Next (Add to Custom App)
keep it as default >>> Save.
17
THE LIGHTNING APP
1. Go to setup page >>> search “app manager” in quick find >>> select
“app manager” >>> click on New lightning App.
18
4.
19
Search profiles (System administrator) in the search bar >>> click
on the arrow button >>> save & finish.
FIELDS
When we talk about Salesforce, Fields represent the data stored in the
columns of a relational database. It can hold any valuable information
that you require for a specific object. Hence, the overall searching,
deletion, and editing of the records become simpler and quicker.
Types of Fields
1. Standard Fields
2. Custom Fields
20
Standard Fields:
As the name suggests, the Standard Fields are the predefined fields in
Salesforce that perform a standard task. The main point is that you
can’t simply delete a Standard Field until it is a non-required standard
field. Otherwise, users have the option to delete them at any point
from the application freely. Moreover, we have some fields that you
will find common in every Salesforce application. They are,
? Created By
? Owner
? Last Modified
? Field Made During object Creation
Custom Fields:
On the other side of the coin, Custom Fields are highly flexible, and
users can change them according to requirements. Moreover, each
organizer or company can use them if necessary. It means you need not
always include them in the records, unlike Standard fields. Hence, the
final decision depends on the user, and he can add/remove Custom
Fields of any given form.
Use Case:
Now it’s time for you to think out of the box for your organization. You
have successfully created the database objects for the organization but
now all eyes turn on you as you have to define what sort of information
21
the objects store which you have created. As a life saver of your
organization you come up with the idea of creating fields to store
different types of data.
22
4. Click on Next
3. Click on Next.
4. Fill the above as following:
a. Field Label: Date of Birth.
23
b. Field Name : gets auto generated.
c. Click on Next >>> Next >>> Save and new.
24
Creating Remaining Fields In Employee Object
Now create the remaining fields using the data types mentioned in the
table.
S Object Field
l Name
N
o
Qualification Text
Phone no Phone
Email Email
On Site
Remote
25
Cab Allowance Check box
2 Project Complete
d
On Going
26
Not Yet
Started
Wor
king
27
Hou
rs
Em
ploy
ee
Na
me
Service Text
Text Area
Text Long
Technician
Subject
Description
28
Field Name Data type
Laptop
Charger
Mouse
Monitor
5 Asset CPU
Text
Model Name
Lookup relationship with
Employee
Employee Object
Name
Formula ( Joining date)
Formula Return type: date
Date Of Issue
Master-Detail Relationship
SETTING OWD
30
Use Case:
Data is the most precious thing of any organization and keeping it safe
is the first most priority of any Admin in the organization. As an
Admin, to ensure data privacy and compliance with regulations, you
need to restrict access to sensitive customer information using OWD.
31
5. Click on save.
6. This Setting is for all the Users Which have been Created.
Set OWD
USER ADOPTION
Use Case:
32
3. Click on the Employee tab.
4. Click New.
View A Record(Employee)
33
IMPORT DATA
[Link]
Data Import lets you upload data from external sources and combine it
with data you collect via Analytics. You can then use Analytics to
organize and analyze all of your data in ways that better reflect your
business.
The Data Import Wizard is a Tool makes it easy to import data for many
standard Salesforce objects, including accounts, contacts, leads,
solutions, campaign members, and person accounts. You can also
import data for custom objects.
In order to complete this milestone, you need to create CSV files and
give them data given in the picture below. After that from these CSV
files we will import data for the Employee object.
Use Case:
Congrats you have successfully made an app with all the default
settings for the organization. Now here comes the real admin work, to
import the old data of TheSmartBridge organization which was in CSV
format into the salesforce org without failing any of the record.
Note in real time you might also facing some additional task such as
data cleaning, elimination of duplicate values or records, etc.
34
Import Data
4. Click the Custom Objects tab and select the Employee object.
35
6. Click CSV and choose file Employee_CSV which we made
earlier. Click Next.
7. Since the field names in the CSV file (CSV Header) are the same
as the field names in your object (Mapped Salesforce Object), the fields
are automatically mapped. Click Next.
36
8. The next screen gives you a summary of your data import. Click
Start Import.
37
10. Scroll down the page and verify that your data has been imported
under batches.
11. Make sure you have 0 records under the records failed column.
PROFILES
1. Standard profiles:
By default salesforce provides below standard profiles.
Contract Manager
Read Only
Marketing User
38
Solutions Manager
Standard User
System Administrator.
We cannot deleted standard ones
Each of these standard ones includes a default set of permissions for
all of the standard objects available on the platform.
2. Custom Profiles:
Custom ones defined by us.
They can be deleted if there are no users assigned with that
particular one.
Use Case:
Great work Admin, you have done so good till now. TheSmartBridge
CEO wants you to differentiate the users based on their functionalities,
position and based on this those users need to have the minimum access
to the database object in the organization. Now it's time to use your
Admin skills to focus on the users, their functionality and position in
the organization in order to achieve the CEO requirements.
39
HR Profile
Manager Profile
1. Go to setup >>> type profiles in quick find box >>> click on profiles
>>> clone the desired profile (Salesforce Platform User) >>> enter
profile name (Manager) >>> Save.
40
2. While still on the profile page, then click Edit.
3. Scroll down to Custom Object Permissions and Give access
permissions for Employee, Project and Project Task objects.
4. Scroll down and Click on Save
ROLE
Use Case:
Creating HR Role
Creating HR Role:
1. Go to quick find >>> Search for Roles >>> click on set up roles.
41
2. Click on Expand All and click on add role under whom this role
works.
3. Give Label as “HR” and Role name gets auto populated. Check
to whom this role (HR) reports. Then click on Save.
42
USERS
Every user in Salesforce has a user account. The user account identifies
the user, and the user account settings determine what features and
records the user can access. Each user account contains at least the
following:
Username
43
Email Address
User's First Name (optional)
User's Last Name
Alias
Nickname
License
Profile
Role (optional)
Use Case:
Create User
1. Go to setup >>> type users in quick find box >>> select users >>>
click New user.
2. Fill in the fields
1. First Name : Niklaus
2. Last Name : Mikaelson
3. Alias : Give a Alias Name
4. Email id : Give your Personal Email id
5. Username : Username should be in this form: text@[Link]
6. Nick Name : Give a Nickname
44
7. Role : HR
8. User license : Salesforce
9. Profiles : HR
1. Save.
Go To Setup
1. Go to setup >>> type users in quick find box >>> select users >>>
click New user.
2. Fill in the fields
First Name : Kol
Last Name : Mikaelson
Alias : Give a Alias Name
Email id : Give your Personal Email id
Username : Username should be in this form: text@[Link]
Nick Name : Give a Nickname
45
Role : Manager
User license : Salesforce Platform
Profiles : Manager
3. Save.
PAGE LAYOUTS
Use Case:
Hurray!! you have completed the data model structure for your
organization but while looking at the detailed and edit pages it seems
to be so clumsy, so decide to organize the page in a pleasant way for
the sake of good and pleasant appearance and assembling all different
kinds of information in different sections.
46
2. Click on Page layout >>> Click on New.
3. Give Page layout Name as “On Site Employee Layout” and click
on Save.
4. Drag and drop the Section from the highlight panel below the
Information and name it as “Personal Information” and click Ok.
5. Drag Date of Birth, Address and Age fields from Employee
Information to Personal Information section.
6. Similarly perform the above step to create “Allowances” and add
allowances fields in it as shown below.
47
7. Click Save.
8. Make sure your page layout looks like the picture above.
CHATTER GROUP
48
Use Case:
Congratulations Admin you have made the job done for the
organization, Amar The Founder of the organization and Jai Prakash
The COO are very impressed with your work. But still there are some
updates which your COO wants in your organization. So he comes to
you with the idea that all the employees should have a common group
for work discussion inside the salesforce. You know how to get this
done with your admin skills.
3. Click New.
49
4. Fill in the new group information with these details:
Field Value
50
5. Click Save & Next. Skip the Upload Picture section and click
Next.
6. On the Manage Members screen, click Add next to users you
created in the previous activity.
51
7. Click Done.
52
8. This is how your group interface looks like.
9. Where it says Share an update, post this message to the group:
Welcome to the Internal Discussion Group, here you can post anything
which is related to ongoing projects.
10. Click Share.
Note: there is a default chatter group in the org with all the active users
in it, this activity is to show you how to create a chatter group and add
users into it.
RECORD TYPES
Record Types are a way of grouping many records of one type for that
object. These can be applied to any standard or custom object, and
allow you to have a different page layout, fields, required fields, and
picklist values. Record types allow administrators to create a different
page layout with custom picklist fields and values for the same business
process and various business processes.
Use Case:
All things done for the organization. But some of the organization
employees feel it difficult to fill up all the details while creating an
employee record, so Jai Prakash (COO) assigned you a task to create
53
different forms for employee records based on their mode of work. As
an Admin, you know how to achieve this.
1. Go to Setup >>> click on Object Manager >>> Search for the object
(Employee) >>> from drop down click Edit.
54
4. Uncheck for “Make Available”.
5. Scroll down and check for the Manager & System Administrator
profile and click on Next.
55
System Administrator.
7. click Save.
8.
PERMISSION SETS
56
Use Case:
Every day is a war for Admin with some unique challenges. A new
challenge awaits as you enter the office. After you arrive in office you
came to know that the manger is on leave and there’s a lot work pending
at his desk generally there are numbers of employee records that the
manager have to enter in the salesforce org and no other person have
the permission to create those records except him and your CEO wants
it to be done by the end of the day, as it’s not possible to create the same
profile and assigned it to some other person in the org. So using your
admin knowledge you came up with the idea to create a permission set
and assign it to someone who doesn’t have the access to do that job.
Let’s create a permission set.
REPORTS
Reports give you access to your Salesforce data. You can examine your
Salesforce data in almost infinite combinations, display it in easy-to-
understand formats, and share the resulting insights with others. Before
building, reading, and sharing reports, review these reporting basics.
57
The CEO of an organization wants to have a brief data on employees
working, projects in take, project progress, Assets assigned, what are
the conditions of the Assets assigned. So he can have a clear picture of
his organization and be able to make any decisions required based on
this data. So he calls you on this task and wants you to represent the
data in an appropriate way.
Create Report
3. Select report type from category or from report type panel or from
search panel >>> click on start report.
58
4. Customize your report
Add fields from left pane as
shown below
59
DASHBOARDS
Use Case:
Create Dashboard
60
3. Select add component.
61
APPROVAL PROCESS
Use Case:
Prerequisites:
62
Description Submitted
Status Approved
Rejected
63
2. In the Manage Approval Processes For list, select Leave.
3. Click Create New Approval Process and select Use Jump Start
Wizard.
Parameter Value
64
Select Approver select Automatically assign to approver(s)
and for users select the name of the user
with the Manager role.
Approval Process
Use Case:
Prerequisites:
65
Object Fields Datatype
66
2. In the Manage Approval Processes For list, select Leave.
3. Click Create New Approval Process and select Use Jump Start
Wizard.
Parameter Value
67
Add the Submit for Leave this selected/checked
Approval button and
Approval History related
list to all Travel
Approval page layouts
Approval Steps
68
3. Under specify step criteria select “Enter this step if the following
(Criteria are met)”,
Select field : “Leave: No. of Days”,
Operator : equals
Value : 5
4. Click next.
5. Under select approver : select Automatically assign to approver(s)
and for users select the name of the user with the HR role.
6. Click on Save.
7. No, I'll do this later. Take me to the approval process detail page to
review what I've just created and click Go.
69
Final Rejection Action
1. Under initial submission action click on add new and then select
field update.
70
APEX TRIGGER
Use Case:
71
2.
Give the Apex Trigger name as “PhnValidTrigger”, and select
“Passenger__c” from the dropdown for sObject.
3. Click Submit.
72
4. Now write the code logic here
Trigger Code:
73
Testing The Trigger
74