Activity Forums Salesforce® Discussions Redirecting from one page to another in a Salesforce Visualforce page

  • Satyakam

    Member
    December 14, 2016 at 7:56 am

    Hi Vikas Kumar,

    Try below code in controller to redirect from one vf page to another.

    PageReference FirstPage = Page.SecondPageName;
    FirstPage.setRedirect(false);
    return FirstPage;

    Thanks

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos