Skip to main content

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, 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 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.

  1. Set the Label property to Recent Items.
  2. Click the Details tab, then select the Record Detail component inside the tab.
  3. In the properties pane, click Upgrade Now to start the Dynamic Forms migration wizard.
  4. Step through the wizard, select Candidate Layout, then click Finish.
  5. Click Save | Activate | Assign as Org Default.
  6. Select Desktop and phone on the Assign Form Factor page.
  7. Click Next, then click Save.

Now view the new record page. Click Back Back button 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 and select Setup.
  2. Click the Object Manager tab, and select Candidate.
  3. Click Compact Layouts, then click New and fill in the details:
    • Label: Includes Candidate Name
    • Selected Fields: Candidate Number, First Name, Last Name
  4. Click Save.
  5. Click Compact Layout Assignment, then Edit Assignment.
  6. Set the new compact layout you just created as the primary compact layout.
  7. 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.

Condividi il tuo feedback su Trailhead dalla Guida di Salesforce.

Conoscere la tua esperienza su Trailhead è importante per noi. Ora puoi accedere al modulo per l'invio di feedback in qualsiasi momento dal sito della Guida di Salesforce.

Scopri di più Continua a condividere il tuo feedback