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
RRESRRES 

Using retURL

Hey Everyone,
 
I have a custom link that will create a new custom object record called sales credit. After the link has been pressed and the user enters information and saves the record, I want the user to be directed back to the opportunity he/she created the sales credit from. I've created the following link however it doesnt seem to work correctly. Any ideas?
 
Code:
https://na3.salesforce.com/a03/e—CF00N50000001SiGJ={!Opportunity.Name}&CF00N50000001SiGJ_lkid={!Opportunity.Id}&00N50000001SiG3={!Opportunity.Booked_Amount__c}&00N50000001SiGI={!Opportunity.Margin_Dollars__c}&retURL=%2F{!Opportunity.Id}

 
smoodysmoody
It should look more like this...
Code:
https://na3.salesforce.com/a03/e—retURL=%2F{!Opportunity.Id}&CF00N50000001SiGJ={!Opportunity.Name}&CF00N50000001SiGJ_lkid={!Opportunity.Id}&00N50000001SiG3={!Opportunity.Booked_Amount__c}&00N50000001SiGI={!Opportunity.Margin_Dollars__c}

 
Guess that is about the same. Looks like the code insert doesn't like the ?

Message Edited by smoody on 04-10-2007 12:18 PM

AlexCRMmanagerAlexCRMmanager
smoody, moving the retURL parameter to the front doesn't help the Save button redirect back to the parent record.

Does anyone know how to get a Save button to redirect back to the parent record?