How to do it...

Carry out the following steps to override the standard New Account button and replace the new account creation functionality with our custom Lightning Component:

  1. Click on the Setup gear icon in the top right-hand corner of the main Home page, as shown in the following screenshot:
  1. Click the Setup option, as shown in the following screenshot:
  1. Navigate to the Account customization setup page, by clicking Objects and Fields | Object Manager | Account | Buttons, Links, and Actions.
  2. Locate the Buttons, Links, and Actions section on the right of the page.
  3. Locate the New button and click on the drop-down arrow selection.

 

  1. Click on Edit, as shown in the following screenshot:
  1. Select the Lightning Component Bundle option.
  2. Choose c:AccountSearchBeforeCreate in the drop-down selection box.
  3. Enter This overwrites the new account creation button to present a search screen to the user which requires searching before the option to create a new account record is permitted in the Comment textbox.
  4. Leave the Skip Record Type Selection Page checkbox unchecked (if shown).

 

  1. Click on Save, as shown in the following screenshot:
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset