function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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)}");