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
rgdcrgdc 

Page in VisualForce

Hello Guys,

 

I want to open page in visualForce when I press a button. When I press this button the page should to open in other page. So I will have 2 pages. I also want that this page be like a search's page, without to be a default page of SalesForce

 

 

Can anyone help me?

 

 

Thank you very much !!

bob_buzzardbob_buzzard

[Post moved from Apex to Visualforce discussion board]

 

Is this button going to be part of a standard record view or list view page?  If so, you can simply define a custom button to open the page in a new window.  If the VF page uses the standard controller of the record in question, you can create the button to open the named visualforce page.  If not, you'll need to create the button to open the URL '/apex/<yourvfpage>'.