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
Narasimha ReddyNarasimha Reddy 

I would like Salesforce to return to the Account Page after adding a record to a custom object

I would like Salesforce to return to the Account Page after adding a record to a custom object
Hargobind_SinghHargobind_Singh

Narasimha, you can pass the URL you want to return to, by passing an additional parameter in the URL of your custom object creation page: "retUrl". Check here, this might give you some ideas http://raydehler.com/cloud/clod/salesforce-url-hacking-basics-with-returl-saveurl-and-cancelurl.html

This might mean that you would need to over-write your "New" button for your custom record.