Could someone please review the following code and explain why this custom button is not working?
<apex:page action="{!urlFor('/a0H/e?
Name=[autoname]
&CF00N3B000000TB2z={!Contact.Name}
&CF00N3B000000TB2z_lkid={!Contact.Id}
&retURL=%2F{!Contact.ID}')}"
standardController="Service__c"/>
BACKGROUND: We are overriding the standard "new" button via this VF page. It should populate the new record being created by putting "[autoname]" in the Name field (this part is working just fine, btw) AND pre-populate a lookup field with the Contact's name. This later component is what we are experiencing problems with. The new Service record should be created from a Contact record's related list button (i.e., from the Service related list).
BREAKDOWN:
a0H - reference to our custom object named Service__c.
Name - required name field for a new Service__c record. We want the value [autoname] to pre-populate so upon saving a workflow renames the record with a standardized naming convention.
CF00N3B000000TB2z - id of the lookup field we are trying to pre-populate on the new Service record. We are tyring to pass the full name of the Contact here.
CF00N3B000000TB2z_lkid - id of the lookup field we are trying to prepopulate on the new Service record. We are trying to pass the Contact Id here.
Here is the URL when seen on the opened page:
https://c.cs50.visual.force.com/apex/NEW_SERVICE?+Name=%5Bautoname%5D+&CF00N3B000000TB2z=&save_new=1&sfdc.override=1#{Contact.Name}&CF00N3B000000TB2z_lkid={!Contact.Id}&retURL=%2F{!Contact.ID}