How to deploy the Record Validation Entry page (in Salesforce Lightning)

Last published at: 2024-08-26 11:32:57 UTC
Delete

Using Salesforce Classic? Read our guide for deploying Record Validation Entry in Salesforce Classic.

To make use of Record Validation upon inserting or editing a record, you need to replace your current entry page with the Record Validation Entry Lightning Component. This how-to will show you how in a few simple steps.

Step 1 Deploy Record Validation Entry for Leads

Override the 'New' button

  1. Go to the Salesforce Setup > Object Manager.
  2. Find the Lead Object in the list view and access it. 
  3. Navigate to Buttons, Links and Actions.
  4. In the list of buttons, find the entry for the 'New' button and click 'Edit'. 
  5. At 'Lightning Experience Override', select the Lightning Component called 'recordval:recordForm'. 
  6. Click Save.

Override the 'Edit' button

  1. Go back to the list.
  2. In the list, find the entry for the 'Edit' button and click 'Edit'.
  3. At 'Lightning Experience Override', select the Lightning Component called 'recordral:recordForm'.
  4. Click Save. 

Step 2 Deploy Record Validation Entry for Contacts

Override the 'New' button

  1. Go to the Salesforce Setup > Object Manager.
  2. Find the Contact Object in the list view and access it. 
  3. Navigate to Buttons, Links and Actions. 
  4. In the list of buttons, find the entry for the 'New' button and click 'Edit'. 
  5. At 'Lightning Experience Override', select the Lightning Component called 'recordval:recordForm'.
  6. Click Save.

Override the 'Edit' button

  1. Go back to the list.
  2. In the list, find the entry for the 'Edit' button and click 'Edit'.
  3. At 'Lightning Experience Override', select the Lightning Component called 'recordval:recordForm'.
  4. Click Save.

Step 3 Deploy Record Validation Entry for Accounts

Override the 'New' button

  1. Go to the Salesforce Setup > Object Manager.
  2. Find the Account Object in the list view and access it. 
  3. Navigate to Buttons, Links and Actions.
  4. In the list of buttons, find the entry for the 'New' button and click 'Edit'. 
  5.  At 'Lightning Experience Override', select the Lightning Component called 'recordval:recordForm'.
  6. Click Save.

Override the 'Edit' button

  1. Go back to the list.
  2. In the list, find the entry for the 'Edit' button and click 'Edit'.
  3. At 'Lightning Experience Override', select the Lightning Component called 'recordval:recordForm'.
  4. Click Save. 

You have now deployed the Record Validation entry page. You are now ready to validate your data upon entering a new Lead, Contact or Account.

Delete

Do you want to use Record Validation for an Object (standard or custom) other than Lead, Contact or Account? Read our guide on how to apply Record Validation to your other Objects.

Delete

RV Entry and DC Entry

Note that you can only configure one Entry page. To use both Duplicate Check and Record Validation when creating or editing a record, do not use DC Entry. Apply the RV Entry page as described below, in combination with DC Scenario settings. Read more in Integrate Duplicate Check with Record Validation‍.