+ Start a Discussion
nagennagen 

How Do I use SAveURL?

Hi,
How Do I use SaveUrl so that I can redirect it back to the edit details page

window.parent.location.href = "{!URLFOR($Action.Donation__c.Edit, Donation__c.Id,[retURL=URLFOR($Action.Donation__c.Edit, Donation__c.Id)], true)}";


Thanks
N
sapsap
window.parent.location.href = "{!URLFOR($Action.Donation__c.Edit, Donation__c.Id,[saveURL=URLFOR($Action.Donation__c.Edit, Donation__c.Id)], true)}";
fabsfabs

window.top.location.replace("{!URLFOR($Action.Contact.Edit, Contact.Id, [saveURL='/apex/YourVFPageHere, retURL='/'+Contact.Id, cancelURL='/'+Contact.Id], true)}");