You need to sign in to do that
Don't have an account?

Calling standard account page from VF page
I need to build a URL to call a standard account page from the selected account on a VF page. I am getting to my class method, but my build of the URL is not correct.
How do I build that pagereference?
In your pagerefernce give something like this
'https://ap1.salesforce.com/'+accid
accid= will hold the id of the Acount where you want ot be redirected.
Also ap1 should be replace to yur login region
All Answers
In your pagerefernce give something like this
'https://ap1.salesforce.com/'+accid
accid= will hold the id of the Acount where you want ot be redirected.
Also ap1 should be replace to yur login region
Hi
Try this code
My Controller is
Did this post answers your question If so please mark it as solved.
Hit kudos If this post really helps you.
Thanks
Thanks for the information. Modified version worked just great. used to format of '/' + accid.