You need to sign in to do that
Don't have an account?
CRMsimple
S-Control for "New" button override - Question?
I have a custom list button that overrides the standard "New" button on a custom object. The custom object has a master detail relationship with Account. The problem I'm having is this:
1. Causes double tabbing
2. Doesn't re-direct to the Account page that it was created from after saving.
I have the related account Id as the lkid and the retURL and the saveURL. I essentially just copied the URL from my browser when using the standard "New" button for that custom object and inserted the appropriate merge fields and then created the s-control. I'm thinking there must be some way to get me back to the parent location and to kill the double tabbing issue.
Any thoughts?
Message Edited by CRMsimple on 06-13-2008 11:50 AM
Message Edited by CRMsimple on 06-13-2008 11:52 AM
Message Edited by CRMsimple on 06-13-2008 12:03 PM
1. Causes double tabbing
2. Doesn't re-direct to the Account page that it was created from after saving.
I have the related account Id as the lkid and the retURL and the saveURL. I essentially just copied the URL from my browser when using the standard "New" button for that custom object and inserted the appropriate merge fields and then created the s-control. I'm thinking there must be some way to get me back to the parent location and to kill the double tabbing issue.
Any thoughts?
Code:
https://na5.salesforce.com/a0E/e?CF00N70000001aAkF={!Account.Name}
&CF00N70000001aAkF_lkid={! Account_Profile__c.Return_to_AccountId__c }
&saveURL=%2F{!Account_Profile__c.Return_to_AccountId__c}
https://na5.salesforce.com/a0E/e?CF00N70000001aAkF={!Account.Name}
&CF00N70000001aAkF_lkid={! Account_Profile__c.Return_to_AccountId__c }
&saveURL=%2F{!Account_Profile__c.Return_to_AccountId__c}
Message Edited by CRMsimple on 06-13-2008 11:50 AM
Message Edited by CRMsimple on 06-13-2008 11:52 AM
Message Edited by CRMsimple on 06-13-2008 12:03 PM
http://community.salesforce.com/sforce/board/message?board.id=general_development&thread.id=19406