Override New button in Salesforce Lightning Experience:
Use lightning:actionOverride in the Aura and to override standard actions in Salesforce Lightning Experience
Example:
<aura:component implements="flexipage:availableForRecordHome,force:hasRecordId,lightning:actionOverride" access="global" >
</aura:component>
LWC:
Steps:
SetUp > Object Manager > Account > Button,Links and Actions > New > Override Properties > Lightning Experience Override > Lightning Component > c: theComponentName > Save
Resource(s): https://help.salesforce.com/
Comments
Post a Comment