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
Laxmi SFDCLaxmi SFDC 

How to create Contact form through lightning aura component

Hiii

How to create Contact form through lightning aura component
Mangesh Bhapkar213Mangesh Bhapkar213
  • Using direct URL 
   
window.open("/003/e, "_blank");

 

 
  • Salesforce createRecord method
sforce.one.createRecord("Event", recordTypeId, {FirstName : 'Jon', LastName: 'Doe'}); // if you want to pre populate data
 
  • Create custom aura component and add Record Edit Form
<aura:component>
    <lightning:recordEditForm objectApiName="Contact">
       <-- Fields-->
    </lightning:recordEditForm>
</aura:component>
SASSA SASSYSASSA SASSY
Have same question thanx you @Mangesh Bhapkar213 for sharing these code im working on my website Sassa Status Check (https://sassa-status-check.co.za/) and these code help me a lot to build Contact form through lightning aura component thanx again .