You need to sign in to do that
Don't have an account?
chanbasha nbsk
how to create new contact from visualforce page to related list contacts in Account Details page?
Hi All,
how to create a new contact from visualforce page to related list contacts in Account Details page?
Thanks,
Basha
how to create a new contact from visualforce page to related list contacts in Account Details page?
Thanks,
Basha
Below is the sample code which creates an account and also a contact for that particular account so that it will be shown in the related list.If you want to create a contact for an existing account, then you need to query for account name and insert the contact.
Visualforce Page
Controller
Hope this helps you!
If this helps you please mark it as solved.
Thanks and Regards
Sandhya
Thanks for replying
I don't need the new account creation, In account related list in contacts section i add a button called"Add Multiple Contacts" by clicking the button it will be redirected to a visualforce page we are developed for entering the contact details.and then by clicking the save button it will be redirected to a account details page.Thats it.
Thanks,
Basha