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
Mike ChandlerMike Chandler 

Can I override a custom object's "save" behavior to redirect to a parent object?

I have a custom object with a Look-up Relationship to its parent object in Salesforce Classic.  When a user adds a new instance of the child object from the Related List on the parent detail page, I'd like to redirect BACK to the parent page when the child object is saved.  Is there a way for me to override that behavior to accomplish this?
Raj VakatiRaj Vakati
Yes .. Override the child object "New" Button. And Implement save logic to redirect the parent object record.

https://www.jitendrazaa.com/blog/salesforce/override-standard-links-with-visualforce-pages-in-salesforce/
http://succeedwithsalesforce.com/overriding-standard-tab-to-hide-unwanted-features-using-a-simple-visualforce-page/
http://blog.jeffdouglas.com/2009/06/26/overriding-standard-links-with-visualforce-pages/
https://www.forcewizard.com/blog/redirecting-standard-neweditview-and-clone-without-removing-override