Multipurpose VF Component to Add Multiple Records on a Button's Click | Salesforce Tutorials

In this video, I will create a multipurpose VF component to add Contact records in a list on the click of a button then I will save all records together on a single button's click.

As well as with the add button I will also create a delete button in the list, to delete a particular contact record from the list.

I am using this page on the Account Details page that's why I am getting the Account ID from URL. If you are running it as a separate VF page so you have to put the Account ID manually in the Controller.

It could be useful in a scenario where you want to add multiple records on a single button's click. I.E an order taking an application for a restaurant or a billing system in a supermarket.

Blog Post: https://www.salesforcebolt.com/2020/05/add-multiple-records-together-in-object.html

Website: https://www.salesforcebolt.com/

Responses

Popular Salesforce Videos