function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
NLTNLT 

Button to create new contact in lightning component

Hi All,

I want to include a button to create new contact in lightning component, Could some one provide the logic for it.

Thanks in Advance.
Raj VakatiRaj Vakati
Refer this link 

http://justanothersalesforceblog.com/2017/01/03/build-a-quick-create-lightning-component/
SEKAR RAJ.SEKAR RAJ.
Hi TNL,
1. Create lightning component for new contact creation
Refer the below link to create a contact using Lightning component.
http://www.vinaychaturvedi.com/blog/learn-salesforce-lightning-with-examples-part-1-create-records-using-lightning-components/
2. Create a Custom Button to call the Lighting component.
3. Add the custom button in the page layout


Thanks,
SEKAR RAJ