Академический Документы
Профессиональный Документы
Культура Документы
Goal:
Create a custom object called Position.
Scenario:
Universal Containers (UC) is currently using a spreadsheet to track new positions. This is a very inefficient
process that is difficult to manage. In order to improve this process and make it more efficient, UC has decided to
create a custom object to track positions. All internal communication and activity relating to Positions should be
tracked on this object. In addition, users should be able to run reports on these objects.
Tasks:
Create a custom Position object.
Time: 5 minutes
Instructions
1. Create a Position custom object
a. Click Your Name | Setup | Create | Objects
b. Click New Custom Object
Label: Position
Plu r a l La bel: P o s i t i o n s
Instructions
1. Add custom fields to the Position object
Click Your Name | Setup | Create Objects | Position
In the Custom Fields & Relationships related list, click New
Follow the steps to create the custom fields listed in the table below
Accept the defaults to set all fields as visible to all profiles and to add to the Position Page Layout
Click Save & New to create the next field in the list
Custom Field Type Custom Field Label Picklist Values/Notes
Date/Time Date Closed
Click Continue
Edit the Field Dependencies based on the chart below (note: to create dependencies, highlight the values in each column that should
be available when a user selects that value, then click Include Values. You can use the Shift and Ctrl keys to select more than one
value at a time):
Click Save
Click New
Controlling Field: Status
Dependent Field: Sub-Status
Click Continue
Open: Pending, Approved
Closed: Not Approved, Filled, Cancelled
New: none selected
Click Save
When you receive a pop-up message that says, "1 controlling values have no dependent values included. Save
anyway?" Glick OK.
3. Add a field for the Social Security Number on the Candidate object.
d. Click Next
e. Accept the defaults to make the field visible to all profiles, then click Next
f. Accept the default to add the field to the Candidate Layout, click Save
Exercise 2-3: Creating Lookup Relationships
Goal:
Create lookup relationships to connect objects to one another.
Scenario:
Universal Containers needs to be able to see which Job Applications are related to each Position. Additionally, the
company needs to see which Hiring Managers are related to each Position.
Tasks:
Create a lookup relationship between Job Application and Position.
Create a lookup relationship between Position and Hiring Manager.
Time:
5 minutes
Instructions
1. Create a lookup relationship between Job Application and Position
F i e l d L a b e l : P osi t i on
Fi eld Name: Position, click Next
Scenario:
At Universal Containers (UC), every position should have one or more interviewers associated with it. An Interviewer
record should always be associated with a Position record. If a given position is deleted, then the associated interviewer
data should also be deleted.
To satisfy these requirements, UC needs to create a master-detail relationship between the Interviewer object and the
Position object. In addition, job application records and review records should have a similar relationship.
Tasks:
Create a master-detail relationship between Interviewer and Position.
Create a master-detail relationship between Job Application and Review.
Time:
5 minutes
Instructions
1. Create a master-detail relationship between Interviewer and Position
Click Your Name I Setup I Create I Objects I interviewer
In the Custom Fields & Relationships related list,
click New
C. Choose the Field Type
D a t a T y p e : M a s t e r D e t a i l R e l a t i o n s h i p , click N e x t
-
Accept the defaults to add the related list to the page layout, click Save
2. Create a master-detail relationship between Job Application and Review
Click Your Name I Setup I Create I Objects I Review
In the Custom Fields & Relationships related list, click New
Data Type: Master-Detail Relationship, Click Next
Related to: Job Application, click Next
Field Label: Job Application
Fi e ld N a me : J o b_ A pp l ic at i o n , c l i c k N ex t
Accept the sharing defaults, click Next
On Step 4. Establish field-level security for reference field, click Next
On Step 5. Add reference field to Page Layouts, click Next
Accept the defaults to add the related list to the page layout, click Save
Exercise 2-5: Creating a Custom Junction Object
Goal:
Create a Many to Many Relationship between Position and Job Posting Site.
- -
Scenario:
Universal Containers will have many positions advertised on various job posting sites. The company wants to be able to
connect and manage those records within Salesforce.
Ma$:iei-VetaP
Tasks:
Create a new custom junction object.
Create the master-detail relationships of Job Posting with Position and Job Posting Site.
Time:5 minutes
Instructions
2. Create the master-detail relationships of Job Posting with Position and Job Posting Site
a. In the Custom Fields & Relationships related list, click New
R ela t ed t o: J o b P o s t i n g S i t e , cl ic k N ex t
Scenario:
Now that Universal Containers has created several new objects and populated them with fields, the company needs to store them in
one logical, easy to access location.
Tasks:
Create a custom recruiting application.
Time: 5 minutes
Instructions
1. Create a custom recruiting application.
a. Click Your Name | Setup| Create | Apps
b. Click New
i . A p p L a b e l : Recruiting
c. Click Next
e. Click Next
Select Reports, Documents, Dashboards, Offers, Candidates, Job Applications, Reviews, Job
Posting Sites and Interviewers from the Available Tabs and move them to the Selected Tabs box
Set the Default Landing Tab to Home, click Next
Make the app visible to all profiles by checking the Visible checkbox in the column header
f. Click Save
Exercise 3-2: Creating Custom Tabs
Goal:
Create a custom tabs for the Position and Job Posting objects.
Scenario:
Universal Containers wants to make sure that users will be able to easily access the new custom objects it
has created. The company needs to create new custom tabs that will quickly guide people to this information.
Tasks:
Create a custom tab for the Positions Object Create custom tab for
the Job Postings Object
Time: 5 minutes
Instructions
1. Create a custom tab for the Positions Object
d. Click Next
e. Add to Profiles
SeiectApply one tab visibility to all profiles: Default On
f. Click Next
g. Add to Custom Apps
Ta b S t y l e : Building Blocks
Scenario:
Universal Containers wants to make sure that the newly created fields are displayed in a logical order on the page. The fields should
be arranged according to the chart and instructions below.
Tasks:
Arrange existing fields in the Position Page Layout
Create a new section and add fields for Description on the Position Page Layout Create a new section and
add fields for Compensation on the Position Page Layout Set the Status field to be required and add Position
History to the Related Lists section
Time:10 minutes
Section Name Fields
Information Title Owner
Type Priority
Department Status
Location Sub-Status
Pay Grade Date Opened
Hiring Manager Date Closed
Duration Start Date
Legacy Position Number
Eduction
Skills Required
Instructions
1. Arrange the fields within the sections as noted in the table above
Click Your Name | Setup | Create | Objects | Position
In the Page Layouts related list, click the Edit link next to the Position Layout
Arrange the fields on the page according to the chart above.
Create a new Section for Description.
a. Drag a new section from the palette below the Information section
Name: D e s c r i p t i o n
Layout: 1-Column
Click OK
Drag the Job Description and Responsibilities fields from the Information section into the
Description section
Name: Compensation
Layout: 2 -Column
Tab Order: Top-Down
Click OK
Drag the Min Pay and Max Pay fields into the section
4. Set the Status field to be required
Double-click the Status field
Check the Required checkbox
Click OK
Test these changes by clicking on the Positions tab in the Recruiting application and adding a new position.
Exercise 4-1: Creating Formula Fields
Goal:
Create a Review formula field to calculate overall score.
Create a Position Formula that tracks the number of days a position had been opened.
Scenario:
The VP of HR at Universal Containers is interested in tracking the overall score of each Candidate who has been interviewed, as
well as the number of days that a position stays open. You need to create formula fields to accomplish these tasks.
Tasks:
Create a custom formula field that calculates the overall score from the Review object.
Create a new custom formula field that calculates the Days Opened on the Position object.
Time:10 minutes
Instructions
I. Create a custom formula field that calculates the overall score from the Review object
a. Click Your Name I Setup I Create I Objects l Review
b. In the Custom Fields & Relationships related list, click New
Data Type: Formula
Click Next
c. Specify the field details
i . Label: Overall Score
i i . Name: Overall Score
i i i . Formula Return Type: Number
i v . Decimal Places: 2
0.C l i c k Next
Goal:
Use cross object formula fields to make fields from related objects visible on an object.
-
Scenario:
Universal Containers users would like to see the Candidate Full Name and Position Title on an Offer.
Tasks:
Create a formula field to pull the Candidate full name to display on the Offer.
Create a formula field to pull the Position title to display on the Offer.
Time: 5 Minutes
Instructions
1. Create a formula field to pull the Candidate full name to display on the Offer
a. Click Your Name I Setup J Create l Objects I Offer
b. In the Custom Fields.& Relationships section, click New
c. Data Type: Formula
d. Click Next
e. Specify the field details
i. Label: Candidate Name
f. Click Next
g. Add the formula
Job_Application__r.Candidate__r.First_Name__c & Job_
Application__r. Candidate__r.Last_Name__c
Click Check Syntax to verify the syntax
After verifying that there are no errors, click Next
h. Accept the defaults on the Profile Visibility page (all profiles checked) and click Next
Accept the defaults on the Add to Layout page and click Save & New
Create a formula field to pull the Position title to display on the Offer
Data Type: Formula
Click Next
Specify the field details
I. Job_Application__r.Position__r.Name
Goal:
Calculate the average of all review scores on a job application.
Scenario:
To ensure the company hires stand-out candidates, the HR Director of Universal Containers wants to see a list of the all of the
combined review scores on each Job Application.
Tasks:
Create a Roll-Up Summary Field for Total Reviews on the Job Application Object.
Create a Roll-Up Summary Field for Review Scores on the Job Application Object.
Create a formula field that calculates the Average Review Score for a job application.
Time: 10 Minutes
Instructions
1 Create a Roll-Up Summary Field for Total Reviews on the Job Application Object
a. Click Your Name I Setup I Create I Objects l Job Application
D a t a Ty p e : R o l l u p s u m m a r y , c l i c k N e x t
-
Accept the defaults to add to page layouts, click Save & New
ii.F i l t e r Criteria: All records should be included in the calculation, click Next
Accept the defaults to establish field-level security, click Next k. Accept
the defaults to add to page layouts, Save & New
Create a formula field that averages the review scores on the Job Application object
click Next
Click Check Syntax, after verifying that there are no errors, click Next
Accept the defaults to establish field-level security, click Next
Accept the defaults to add the field to the page layout, click Save
Create a new review record to see the new calculated fields