You need to sign in to do that
Don't have an account?

Creating Custom Button
I have a VF page that uses a custom object that has a master/detail relationship to account.
I want to use this VF page as a button on the account page. I need to account ID to drive my VF page. If I convert from a standard controller to a custom controller will I be able to access this VF page from an account?
/apex/PageName?id={!Account.Id}
All Answers
/apex/PageName?id={!Account.Id}
Thanks for such a quick response. I greately appreciate that.
you can also pass more variable values to the VF page by adding '&' after id={!Account.Id}&xyz={!Account.something} ......
In your VF page controller you need to get these values from the Environment variable by using getParameters().
Id acctId = ApexPages.CurrentPage().getParameters().get('id');
let me know if you have any question.
Thanks
Utsav
[Do mark this answer as solution and give Kudos if this helps you resolve the issue]
Thanks for the additional informqation.