+ Start a Discussion
dkorba2k5dkorba2k5 

Invalid RetURL on Overriden Page

We've overriden several pages with VF pages.  All works fine and when you click on the "Log a Call" button to create an activity it works fine.  But on Leads, the Log a Call button has an incorrect Return URL.  It doesn't have the lead records id included in it.  Any ideas?

 

A sample of the wrong URL looks like this:

 

https://cs1.salesforce.com/00T/e?title=Call&who_id=00Q00000004zANx&followup=1&tsk5=Call&retURL=%2Fapex%2Fleads

 

Notice the retURL is incomplete.  Here's a sample from a different overriden page object that is correct:

 

https://cs1.salesforce.com/00T/e?title=Call&what_id=a0200000000UqXV&followup=1&tsk5=Call&retURL=%2Fapex%2FQuote_Layout%3Fid%3Da0200000000UqXV%26sfdc.override%3D1

dkorba2k5dkorba2k5
Bump ... anyone?  How do we fix this given that we have no control over the button content that's generated here?
dkorba2k5dkorba2k5
discovered that it's doing this because it's in a tabpanel with the switchside parameter set to "ajax" instead of "client".  I don't know if this is a bug or intentional.