function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
bj9bj9 

Visualforce Page - quick question

Hello,

 

I have been following the Apex Workbook (which is awesome btw) and I have been developing some very basic visualforce pages (as given in the book).

 

But to access my visualforce page everytime I have to type in

 

https://c.ap1.visual.force.com/apex/catalog

 

Is there a way by which I can call this page from a custom button may be ?

 

 

Bhawani SharmaBhawani Sharma
You can create a custom VF Tab for this.
Click on Your Name -> Setup -> App Setup -> Create -> Tab -> Visualforce Tab

Select your page and click on save.
NuravNurav

Thanks !!!

Aruna@developerforceAruna@developerforce
Yes, you can call this page from custom button as a secondary option: on any object, create a custom button oif type "URL".
The only condition is, for that, you will have to use standard controller in this page.