Newer Version Available

This content describes an older version of this product. View Latest

Try It Out: Relate Hiring Managers to Positions

For our first relationship, let's associate a hiring manager with a position by putting a lookup relationship field on the Position object. The lookup field will allow users to select the hiring manager for the position by selecting from all the users of the Recruiting app.

For example, if Mario Ruiz, our recruiter, wants to assign Phil Katz as the hiring manager for the Benefits Specialist position, he'll be able to do so by clicking the lookup icon (Lookup icon) next to the lookup relationship field that we are going to create. His name will then appear on the Position detail page.

To create the lookup relationship field that accomplishes this, we'll need to go back to the now familiar Position object detail page.

  1. From Setup, click Create | Objects.
  2. Click Position.
  3. In the Custom Fields & Relationships related list, click New.
  4. Select Lookup Relationship, and click Next.
  5. In the Related To drop-down list, choose User, and click Next.

As we've mentioned, User is a standard object that comes with all organizations on the platform. It contains information about everyone who uses the app in your organization.

  1. In the Field Label text box, enter Hiring Manager. Once you move your cursor, the Field Name text box should be automatically populated with Hiring_Manager.
  2. Click Next.
  3. Accept the defaults in the remaining two steps of the wizard.
  4. Click Save.