Skip to main content
Build the future with Agentforce at TDX in San Francisco or on Salesforce+ on March 5–6. Register now.

Set Organization-Wide Defaults and Create a Role Hierarchy

Follow Along with Trail Together

Want to follow along with an expert as you work through this step? Take a look at this video, part of the Trail Together series.

(This clip starts at the 42:25 minute mark, in case you want to rewind and watch the beginning of the step again.)

Introduction

You have now assigned users to their correct roles. The meeting moves on to data access review, and you discuss what individual records users should be able to view and edit in each object they have access to on their profile. You have established a baseline level of access so that users have the correct level of access to the records they need. However, the discussion now concerns how this will impact the directors and VPs, who will no longer have all the access they need.

Create Custom Objects and Set the Organization-Wide Defaults

  1. From Setup, click Object Manager.
  2. Select Create and choose Custom Object.
  3. Complete the Custom Object Information for Applicant with these details.

    Field

    Value

    Label

    Applicant

    Plural Label

    Applicants

    Starts with vowel sound

    Select the checkbox

    Object Name

    Applicant

    Record Name

    Applicant Name

    Data Type

    Text

    Allow Reports

    Select the checkbox

    Allow Search

    Select the checkbox

  4. Click Save & New.
  5. Complete the Custom Object Information for Interviewer with these details.

    Field

    Value

    Label

    Interviewer

    Plural Label

    Interviewers

    Starts with vowel sound

    Select the checkbox

    Object Name

    Interviewer

    Record Name

    Interviewer Name

    Data Type

    Text

    Allow Reports

    Select the checkbox

    Allow Search

    Select the checkbox

  6. Click Save & New.
  7. Complete the Custom Object Information for Position with these details.

    Field

    Value

    Label

    Position

    Plural Label

    Positions

    Object Name

    Position

    Record Name

    Position Name

    Data Type

    Text

    Allow Reports

    Select the checkbox

    Allow Search

    Select the checkbox

  8. Click Save.

Create a status field on the Position custom object.

  1. From the Position custom object you just created, click Fields & Relationships.
  2. Click New and choose Picklist as the data type.
  3. Click Next.
  4. For Field Label, enter Status.
  5. For values, select Enter values, with each value separated by a new line.
  6. Enter the following values in the box, each value separate by a new line.
    • New
    • Open
    • Closed
  1. Select Restrict picklist to the values defined in the value set.
  2. Click Next, Next and Save.
  3. From Setup, click the Home tab and enter Sharing Settings in the Quick Find box, and select Sharing Settings.
  4. Click Edit and edit the access settings.
  5. Set Applicant, Interviewer, and Position default internal access to private.
  6. Click Save.
    Note: You will receive a notification that your change is being processed, "One or more sharing operations has been initiated. See below for additional details. Certain operations may not be available."

Create a Role Hierarchy

Build out the role hierarchy. 

Sample Role Hierarchy with sales reps beneath sales directors, who are all beneath the executive staff.

  1. From Setup, enter Roles in the Quick Find box, and select Roles.
  2. Select Set Up Roles and click Expand All.
  3. Below CEO, click Add Role, and then complete the new role details.
    • Label: VP of Services
    • Role Name as displayed on reports: VP of Services
  1. Click Save & New.
  2. Complete the next new role information.
    • Label: Accounts Receivable
    • This role reports to: VP of Services
    • Role Name as displayed on reports: Accounts Receivable
  1. Click Save & New.
  2. Complete the next new role information.
    • Label Customer Support Director
    • This role reports to: VP of Services
    • Role Name as displayed on reports: Customer Support Director
  1. Click Save & New.
  2. Complete the next new role information.
    • Label: Customer Support Rep
    • This role reports to: Customer Support Director
    • Role Name as displayed on reports: Customer Support Rep
  1. Click Save & New.
  2. Complete the next new role information.
    • Label: Sales Engineer
    • This role reports to: Director, Direct Sales
    • Role Name as displayed on reports: Sales Engineer
  1. Click Save & New.
  2. Complete the next new role information.
    • Label: Recruiter
    • This role reports to: SVP, Human Resources 
    • Role Name as displayed on reports: Recruiter
  1. Click Save.

Assign Users to Their Roles

Now that you've set up some new roles, assign them to users.

  1. From Setup, enter Roles in the Quick Find box, and select Roles.
  2. Select Set Up Roles and click Expand All.
  3. Next to VP of Services, click Assign.
  4. From the Available Users Picklist, select All Users and select Noah Larkin.
  5. Click the Add arrow Add arrow iconand click Save.

Roles selection screen showing Noah Larkin under Selected Users for VP of Services.

  1. Next to Accounts Receivable, click Assign.
  2. From the Available Users Picklist, select All Users and select Maya Lorrette.
  3. Click the Add arrow Add arrow icon and click Save.
  4. Next to Sales Engineer, click Assign.
  5. From the Available Users list, select Amy Daniels.
  6. Click the Add arrow Add arrow icon and click Save.
  7. Repeat the same steps to add Ted Kim to the Recruiter role and your name to the Customer Support Rep role.

Great work! You just created custom objects for Applicants, Interviewers, and Positions. Now those records are ready to be shared. In the next step, you set up opportunity sharing rules to allow members of the recruitment team to share information about applicants.

Share your Trailhead feedback over on Salesforce Help.

We'd love to hear about your experience with Trailhead - you can now access the new feedback form anytime from the Salesforce Help site.

Learn More Continue to Share Feedback