mass update visualforce component

A visualforce component for mass update of records.
Just pass the list of records to be updated and the fields to be displayed in table to the visualforce component. <c:massEditComponent inputsObjectList="{!accList }" InputFieldList="{!sObjectfieldList}"/>      


Visualforce componet. Name :massEditComponent
Visualforce component controller
An example that will call the above visualforce component is as below (You need to create a fieldset on whichever object you wish also create a list of records and pass it to component)
Visualforce page that call the above visualforce component
Visualforce controller for above vf page

2 comments:

  1. I am getting an error like accontractfield_set is not a fieldSet of Account

    ReplyDelete
  2. Got the solution it is working now Thanks

    ReplyDelete