Ask Search:
Good GirlGood Girl 

Override standard button save

Hi,

I want to override the standard functionality of save button for a custom object so that after saving the record of custom object it should come back to the parent object page.
For this overriding i used the following href
parent.location.href="/a0L/e?nooverride=1&retURL=/{Opportunity.ID}&saveURL=/{Opportunity.ID}";
   
But it is not overriding the save button and doesnt come back to Opportunity page.

Kindly guide me in solving this issue ASAP.
Joseph UcuzogluJoseph Ucuzoglu
Sorry I am kind of missing out on the ASAP part. But there is some good information in the developer forum on this topic (I know because I asked this very question and a couple of people answered)

Let me point you to the thread, hopefully it will be useful.

http://boards.developerforce.com/t5/Force-com-Sites/How-do-I-redirect-the-user-after-an-Update/m-p/269777#M4749