You need to sign in to do that
Don't have an account?
Dilip Kulkarni
VF page for accounts list
Hi Experts,
I want to create a account list VF page where it will have two links Edit and Del, when clicked on Edit,account record should be editable and when you click on Del,it should show dialog box,when you confirm it, it should delete record and if you cancel it should not delete record.
Kindly provide me the code for the same.
Regards
I want to create a account list VF page where it will have two links Edit and Del, when clicked on Edit,account record should be editable and when you click on Del,it should show dialog box,when you confirm it, it should delete record and if you cancel it should not delete record.
Kindly provide me the code for the same.
Regards
try this one:
page:
class:
Thanks
Ankur Saini
http://mirketa.com
The following code helps you as want to do. In following Visualforce page there are two link edit and delete which is edit and delete only a particular account record.
The code is here -
Visualforce Page:
Apex Class Controller: In above controller, you can show account record as per your requirement.
I hope it will help you.
Regards,
Akshay
I am getting error 'AccountListController Compile Error: Illegal assignment from List<Account> to List<Account>' at line accList = new list<Account>(); in the class. Please help
I solved the above error by putting 'Schama.Account' in class names. The page is saved and created.
But when I click edit it gives error as below:
'When referencing account.name with inputField, you must select isPersonAccount in your SOQL query'
How to rectify this.