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
ShivaShiva 

How to redirect

I have custom page and  I would like to redrect to another page after some process. What is the command in apex?
Best Answer chosen by Admin (Salesforce Developers) 
aalbertaalbert

I assume you are invoking an Apex action from your Visualforce page. Therefore you will want to return a PageReference

 

 

All Answers

aalbertaalbert

I assume you are invoking an Apex action from your Visualforce page. Therefore you will want to return a PageReference

 

 

This was selected as the best answer
ShivaShiva
thanks