Create Record Types on the Position Object
Ling Wu would like hiring managers at AW Computing to be able to create new positions only for their own departments. For example, she wants technical hiring managers to create positions only for their IT and Engineering departments.
You can do this with a custom record type. Record types determine which features are available on page layouts, including fields, location, and properties; and they limit picklist options. The record type you create here limits the picklist choices available to hiring managers.
Create Profiles
Before diving in to creating record types, however, there’s a bit of prework to do. The recruiting team needs a couple of profiles to assign to users, depending on whether they do technical or nontechnical recruiting. Let’s set those up.
- From Setup, enter
Profiles
in the Quick Find box and select Profiles.
- From the list of profiles, select Standard User. (Choose S from the alphabet list to narrow the list of options.)
- Click Clone next to Standard User.
- For Profile Name, enter
Recruiter: Technical
.
- Click Save.
- On the Recruiter: Technical profile page, click Clone.
- For Profile Name, enter
Recruiter: Nontechnical
.
- Click Save.
Create Record Types
Now create a new Technical Position record type.
- From Setup, click Object Manager.
- Click Position, then Record Types.
- Click New and fill in the details.
Field |
Value |
---|---|
Existing Record Type |
Master |
Record Type Label |
Technical Position
|
Description |
Use this record type for technical positions only.
|
Active |
Select |
- Deselect the checkbox next to Make Available and select these profiles:
-
Recruiter: Technical
-
System Administrator
- Click Next, then Save.
- Under Picklists Available for Editing, click Edit next to Department.
- Remove all but IT and Engineering from the Selected Values column.
- Click Save.
Now create a Nontechnical Position record type and make it accessible to different profiles.
- While you’re still viewing the Position object in the Object Manager, choose Record Types.
- Click New and fill in the details.
Field |
Value |
---|---|
Existing Record Type |
Master |
Record Type Label |
Nontechnical Position
|
Description |
Use this record type for nontechnical positions only.
|
Active |
Select |
- Ensure the checkbox next to Make Available is deselected, then select these profiles:
-
Recruiter: Nontechnical
-
System Administrator
- Click Next, then Save.
- Under Picklists Available for Editing, click Edit next to Department.
- Remove all but Finance, Support, and Sales from the Selected Values column.
- Click Save.
Next, add the Record Type field to the Position page layout.
- While you’re still viewing the Position object in the Object Manager, choose Page Layouts.
- Click next to Position Layout and select Edit.
- Drag the Record Type field from the palette into the Information section and drop it just below the Department field.
- Click Save.
By creating two new record types, you’ve checked off one more box on your to-do list from Ling Wu. Now you can customize the page layout for the Position object so the hiring managers at AW Computing can give the right specifications when they create new positions. That's going to make the recruiting team’s job easier and more efficient.