Start tracking your progress
Trailhead Home
Trailhead Home

Create a Custom Candidate Record Page

When you generate a custom record page for the Candidate object, you can easily add, remove, or reorder Lightning components. That’s the next step in improving the Recruiting app for Ling Wu’s team.

Add a Lightning Component

Start by adding the Recent Items component to the Candidate record page.

  1. Click App Launcher icon to open the App Launcher, then click Recruiting.
  2. Click the Candidates tab.
  3. Click New to create a Candidate record, enter a first and last name, then click Save.
  4. Click Setup icon to reveal the Setup menu, then select Edit Page. This is a shortcut to get into App Builder and clone the default record page for the Candidate object. Notice the headings on this page: Lightning App Builder and Candidate Record Page.
  5. Drag the Recent Items Lightning component from the list of standard components to the top of the Page Canvas, above the component featuring the Related and Details tabs.

Candidate Record Page with Recent items component

6. Click Save, Activate, Assign as Org Default, then Save again.

Now view the new record page. Click Back to return to the Candidate record. The Recent Items component, showing recently added candidates, appears at the top of the record page. If you don’t see it, refresh your browser.

Create a Custom Candidate Compact Layout

The compact layout controls which fields appear in the Highlights Panel component on the record page. Create a custom compact layout that includes more than just the candidate’s name.

  1. Click Setup icon to reveal the Setup menu, then select Candidate Object.
  2. Click Compact Layouts, then click New and fill in the details:
    Field Value
    Label Includes Candidate Name
    Selected Fields Candidate Number
    First Name
    Last Name
  3. Click Save.
  4. Click Compact Layout Assignment, then Edit Assignment.
  5. Set the new compact layout you just created as the primary compact layout.
  6. Click Save.

Using their new customized Candidate record page, the recruiting team can view all the information they need on a candidate in one easily accessible place. Now let’s create record types on the Position object to further streamline the recruitment process.

retargeting