You need to sign in to do that
Don't have an account?
Pappu
How to change the owner name for selected records?
Hi Guys,
I have created a VF page for a custom sobject list view.
A checkbox field is placed at every row and button (Change Owner) is kept at top of the VFpage (refere the attached)
Now, the user should able to select the record(s) using checkbox field and also change the owner name for selected records by clicking the change owner button.
If a user selects directly the button without select any check box field, a pop up should appear stating "Please select atleast one record".
Kindly suggest me a code or any reference for this requirement.
Thanks!!!
I have created a VF page for a custom sobject list view.
A checkbox field is placed at every row and button (Change Owner) is kept at top of the VFpage (refere the attached)
Now, the user should able to select the record(s) using checkbox field and also change the owner name for selected records by clicking the change owner button.
If a user selects directly the button without select any check box field, a pop up should appear stating "Please select atleast one record".
Kindly suggest me a code or any reference for this requirement.
Thanks!!!
There are few ways to achieve this. Please refer the below links to get an idea of above requirement.
- https://developer.salesforce.com/forums/?id=906F0000000kBLMIA2
- https://salesforce.stackexchange.com/questions/152022/mass-owner-id-edit-list-view-button-user-selects-certain-records-new-vf-page-p
- http://www.x2od.com/2008/11/13/project-change-owner-button-in-visualforce
Please mark this as solved, it may help others, those who are looking for the similar requirement/functionality.Thanks,
Rakesh Thota