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

Controlling the Return URL (retURL)
I have a VisualForce page with many different rendering options based on different vars being set. One of the pages (if step=2) will display a Lead object. But on that page if the user clicks any of the buttons, the Return URL is set to the generic name of the VisualForce page. Is there any easy way to override the Return URL for all buttons on the page? I've seen examples where you can override a single button's retURL but I'm looking for a more global option.
Hi,
Are you talking about standard buttons, or commandButtons on a visualforce page ?
Regards,
Arun
The Standard buttons, all of them. I'd need the return URL to pass a static paramater back to the VF page.
ie, current retURL:
/apex/MyCode
and the reURL I want to be able to define:
/apex/MyCode?param=1