You need to sign in to do that
Don't have an account?
Dvisha T
Create visualforce page which displays Account and its related oppurtunities
Hi,
Thanks in advance,
Am new to apex and visualforce,kindly helpme in the below requirement,
I need to create a custom button on account object and on clicking on it should lead to a visualforce page that contain some of the account and related oppurtunities of the account.kinldy help me out by providing a sample code.
Thanks in advance,
Am new to apex and visualforce,kindly helpme in the below requirement,
I need to create a custom button on account object and on clicking on it should lead to a visualforce page that contain some of the account and related oppurtunities of the account.kinldy help me out by providing a sample code.
create VF page and its Controller as below.
Then create a button in Account (in quick find type account----click on Buttons, Links, and Actions--- click on New button or link and fill in all details , in Content Source pick list select visualforce page and in Content pick list select above created vf page.--- Save).
Add Created button in account layout.
Please let me know, if it helps you.
Best Regards,
Dayakar.D
All Answers
create VF page and its Controller as below.
Then create a button in Account (in quick find type account----click on Buttons, Links, and Actions--- click on New button or link and fill in all details , in Content Source pick list select visualforce page and in Content pick list select above created vf page.--- Save).
Add Created button in account layout.
Please let me know, if it helps you.
Best Regards,
Dayakar.D
Thank you for your great help it worked,hope yoyu can help me on another requirement.
Continue from above scenraio,
Clicking on the Opportunity name in Vf page it should expand and display the product details with expand and collapse option
and also a button on the top as Contacts willl open as a pop up with list of contact information.