You need to sign in to do that
Don't have an account?
soa
How to call a visualforce page from a button..
Hi,
I have created a visualforce page as the following link.
The page is created . You can view the page at :
I need to call this visual force page on click of a custom button as I used to do for Apex class.
How do I do it..
Please help..
regards,
Diti
Diti
Create a button and assign it as a URL value. Give the relative URL of the Visualforce page (/apex/name . . .) as the value and you should be good to go.
Hope this helps.
Custom button property
We had similar problems. Our solution was to create a commandlink which looks like a button:
<apex:commandLink value="Click Me" action="{!CallMethod}" target="_blank" styleClass="btn" style="padding:2px 5px 2px 5px; text-decoration:none;" >