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
rakiraki 

How to redirect save button

How to redirect save button to a Managed Installed visual force page. In UI Page when save button is clicked it opens a pop up window of installed managed vf page in it after selecting the options record ill be saved. i am looking for same operation on visual force page

Ulas KutukUlas Kutuk

On visualforce page you can use pagereference to redirect.

 Here is the sample code for you, hope will help.

 

PageReference pageref = page.YOURPAGE;
pageref.getparameters().put('id',REDIRECTID);
pageref.setredirect(true);
return pageref;