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
- Go to the Salesforce Setup > Object Manager.
- Find the Lead Object in the list view and access it.
- Navigate to Buttons, Links and Actions.
- In the list of buttons, find the entry for the 'New' button and click 'Edit'.
- At 'Lightning Experience Override', select the Lightning Component called 'recordval:recordForm'.
- Click Save.
Override the 'Edit' button
- Go back to the list.
- In the list, find the entry for the 'Edit' button and click 'Edit'.
- At 'Lightning Experience Override', select the Lightning Component called 'recordral:recordForm'.
- Click Save.
Step 2 Deploy Record Validation Entry for Contacts
Override the 'New' button
- Go to the Salesforce Setup > Object Manager.
- Find the Contact Object in the list view and access it.
- Navigate to Buttons, Links and Actions.
- In the list of buttons, find the entry for the 'New' button and click 'Edit'.
- At 'Lightning Experience Override', select the Lightning Component called 'recordval:recordForm'.
- Click Save.
Override the 'Edit' button
- Go back to the list.
- In the list, find the entry for the 'Edit' button and click 'Edit'.
- At 'Lightning Experience Override', select the Lightning Component called 'recordval:recordForm'.
- Click Save.
Step 3 Deploy Record Validation Entry for Accounts
Override the 'New' button
- Go to the Salesforce Setup > Object Manager.
- Find the Account Object in the list view and access it.
- Navigate to Buttons, Links and Actions.
- In the list of buttons, find the entry for the 'New' button and click 'Edit'.
- At 'Lightning Experience Override', select the Lightning Component called 'recordval:recordForm'.
- Click Save.
Override the 'Edit' button
- Go back to the list.
- In the list, find the entry for the 'Edit' button and click 'Edit'.
- At 'Lightning Experience Override', select the Lightning Component called 'recordval:recordForm'.
- 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.