Create a Visualforce Page
Now we need a Visualforce page to bring the
AccountViewer controller to
life.
-
Create a Visualforce page
with the label Account Viewer and the name
AccountViewer.
-
Replace your page’s default contents with this code.
-
Save AccountViewer.page.