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
CJ CrabillCJ Crabill 

Custom Button URL hack: populating the Name field

I am trying to create a custom button which, when clicked, will open an edit screen for a custom object (Customer Documentation Checklist) and populate the Name field with the Name of the Opportunity which is related to plus the current date.

So far, the record opens in edit mode but neither the Name or the Opportunity field are being prepopulated. Here is the URL I am using:
a0V/e?00N5B000000nXcB={!Opportunity.Name}
&00N5B000000nXcB_lkid={!Opportunity.Id}
&01I5B0000004tHs={!Opportunity.Name}+TODAY()
&retURL=/{!Opportunity.Id}

What am I missing?

C.J. Crabill
Best Answer chosen by CJ Crabill
Shannon Andreas 30Shannon Andreas 30
Try putting CF in front of each record id:

a0V/e?CF00N5B000000nXcB={!Opportunity.Name}
&CF00N5B000000nXcB_lkid={!Opportunity.Id}
&CF01I5B0000004tHs={!Opportunity.Name}+TODAY()
&retURL=/{!Opportunity.Id}

Shannon