Salesforce newbie, so bear with me.
I've created a new button
and added it to a page. The idea is that it pops up a visualforce
page in a new window. This works, however, I don't seem to have a way of controlling the size of the popup (either directly via the window.open
call that must be happening somewhere or otherwise).
Do I have to change the button
behaviour to onclick
and write it in javascript instead (with my own window.open
code)? And if so, how would I pass on the correct link to my visualforce
page to the JS? The page that i'm adding the button to doesn't appear to obviously expose an API towards dumping in links for visualforce
pages.
Thanks
Best Answer
You need to use the window open properties button on the button detail page
This will allow you to set all properties for your popup