2 risposte
Hi Raghav,recordEditForm is a standard component provided by the salesforce.You can use it to save a new record or update i.e edit the existing record.To edit the existing record you will have to provide the id of the record to the recordEditForm. For example,
<lightning:recordEditForm objectApiName="Object" recordId="{!v.recordId}">
and will have to add the field inside the form you need to edit.
but I don't think that currently, there is any functionality to clone a record using lightning:recordEditForm You can refer the link for the proper documentation on the lightning:recordEditForm.https://developer.salesforce.com/docs/component-library/bundle/lightning:recordEditForm/documentationIf this helped you please mark it as the best answerThanks and Regards Suraj Tripathi