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
Lil_Ranger1111Lil_Ranger1111 

Custom Button URL Hack

I'm trying to create a button on a child record that will give the user the option to go back to the parent record.  I created the following button and it's redirecting to the parent record but it's in edit mode.  I don't want it in edit mode I just want it to go to the parent.

/{!Information__c.UserContractId__c}/e?retURL=%2F{!Information__c.UserContractlId__c}
The parent record is a lookup to UserContract__c
The child record is AdditionalInfo__c

Any help is greatly appreciated.
Best Answer chosen by Lil_Ranger1111
Jason Curtis NBSFDGJason Curtis NBSFDG
The "e?" makes it go into edit model. If you want a button that just goes back to the parent record you could use:
/{!Information__c.UserContractId__c}
That will work fine.

All Answers

Jason Curtis NBSFDGJason Curtis NBSFDG
The "e?" makes it go into edit model. If you want a button that just goes back to the parent record you could use:
/{!Information__c.UserContractId__c}
That will work fine.
This was selected as the best answer
Lil_Ranger1111Lil_Ranger1111
Well that was easy enough.  I guess I was over thinking it.  Thank you!