You need to sign in to do that
Don't have an account?
etess
Back to List link on VF page?
I'd like to have a link back to the previous page on my custom VF page that I'm using to override the standard Opportunity page. How do I do this? It can either go back to the last page the user was viewing or Back to Opportunity List.
Also - my VF page is tabbed; not sure how that affects things. Thanks.
Hi
You can use a action method on your controller which will redirect you to the required page
call controller method like below :
public Pagereference goBack(){
return new Pagereference('/apex/CustomVFPageName");
}
If some parameter required:
return new Pagereference('/apex/CustomVFPageName?id=xyz&name=abc");