+ Start a Discussion
Pankaj Chauhan 11Pankaj Chauhan 11 

Show 2 buttons, Create Contact and Update Contact

How to Achieve this using lightning Component
Show 2 buttons in cutom tab Contact Details, Create Contact and Update Contact.
On click of Update contact, all the details of existing contact (associated with case) should be displayed.
Change city / country of contact and save successfully.
If create new contact is clicked then get all the details, validate them and save contact and associated with case as Secondary Contact (create contact lookup field on Case).
ANUTEJANUTEJ (Salesforce Developers) 
HI Pankaj,

Have you implemented it and are you facing an issue after implementing it or in case if you have not implemented it yet you can try checking the below link:

>> https://developer.salesforce.com/docs/component-library/bundle/lightning:recordEditForm/documentation

I hope this helps.

Regards,
Anutej