You need to sign in to do that
Don't have an account?
jgrenfell
Can't get retURL on Save to work
I'm trying to redirect the user to a particular page when saving a new record. Since the new record is being created from a custom button, it seem like I should be able to just include the retURL parameter. I can't get it to work though, no matter what is in the retURL parameter, saving brings the user to the record just saved. I know it's not a syntax error because using the same exact retURL parameter when editing a record works fine.
Example of new record url (does not work as expected):
https://cs2.salesforce.com/006/e?retURL=%2F006%2Fo
Example of edit record url (works as expected):
https://cs2.salesforce.com/006R00000029eY4/e?retURL=%2F006%2Fo
Am I missing something? Is there really no way to redirect a user when saving a new record?
Example of new record url (does not work as expected):
https://cs2.salesforce.com/006/e?retURL=%2F006%2Fo
Example of edit record url (works as expected):
https://cs2.salesforce.com/006R00000029eY4/e?retURL=%2F006%2Fo
Am I missing something? Is there really no way to redirect a user when saving a new record?
jgrenfell
Nevermind, just needed the saveURL parameter instead