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

Not able to go back to the current account id by creating a link
Hi All,
I have a requirement that i am navigating from a link on VF page to another VF page now i want to create a link to go that partcular account from where i drilldown means on that particular account.Could any one suggest please how to do that?
I have a requirement that i am navigating from a link on VF page to another VF page now i want to create a link to go that partcular account from where i drilldown means on that particular account.Could any one suggest please how to do that?
You need to sent the return url from first page link and you can use this return url to come back to perviuos record or from where you drilldown
Please let me know if this works or paste you code here so that I can suggest how you can achieve
Thanks,
This is a second page where i want a back link and navigating to a third page link :
As you can see i have given a back button that is working for one level but now i have a third page too from where i also want to go on first page means on same account from where i have drill down
I want Back to account link on second and third page that should navigate me on my first page on same account id.please suggest.
Now in second page controller you need to get the retURL and this return url you can use to go back to the first page or home page and append return url in third page as well and you can do same in thrid page controller
Please let me know if this works for you.
thanks
Hi Deepika,
I have create one new method(backToAccount) that you need to call from you page to go back to first page by assuming HierarchyPage is your first page
Also, done some small changes in all methos.
Please check if this works for you..
Thanks,
But its howing me the error on clicking on the BacktoAccount link is :
In page url return url is not appending that is the reason it is throwing the exception.
However, please check why return url is not coming.. also please try with button instead of command link.