Tag: new-button

  • How to Get Parent Id in New Button Override?

    Question I am using an Aura component to override the New and Edit actions for a custom object (Child_Object__c), which has a master-detail relationship with Parent_Object__c. When clicking Edit, force:hasRecordId correctly provides the record Id of the child object. However, when clicking New from the related list on the parent record’s detail page, there is…