You need to sign in to do that
Don't have an account?

Inserting data into account object using lightning web component
Hi,
I have a requirment where I have to develop a lightning web component UI to insert more than 1 record into Account object by clicking Add Row button and then inserting all the records by clicking Submit button. Can anyone help me on this?
I have a requirment where I have to develop a lightning web component UI to insert more than 1 record into Account object by clicking Add Row button and then inserting all the records by clicking Submit button. Can anyone help me on this?
Please try this way
https://www.salesforcecodecrack.com/2019/08/create-record-in-lightning-web.html
Thank You
www.nubeselite.com
Developement | Training | Consulting
Please Mark this as solution if your problem resolved.
Your shared link shows how to insert a record at a time. I want to insert more than 1 record at a time using lightning web component.
Yes it has to be taken in the list to save. Tricky is to design the ui.
Greetings to you!
Please refer to the below link which might help you further with the above requirement.
https://github.com/seanpat09/dynamicFieldsLWC
I hope it helps you.
Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.
Thanks and Regards,
Khan Anas
Thanks for noticing and taking your time out to reply and thinking about the community! It is really appreciable.
I can see there are 3 lwc components. Do I have to deploy all the sources to my org to check the functionality? Can't it be done on account or any sobject?
Rgds,
Vai
Rgds,
Vai
My requirement is almost same. Only thing is I want to add one lightning:combobox and lightning:checkbox in the columns of the datatable.
This means whenever a user will click on Add row, 1 row will be added with 2 columns as textbox, 1 column will be combobox(some values like abc,xyz) and the other one will be checkbox.
Looking forward for your reply.
Thanks!
P