I've created the following custom button on my custom object to automatically lookup the contact and account names when the custom 'new' button is selected from a contact's related list:
/a0H/e?CF00ND0000005Mxeb={!Contact.Name}&CF00ND0000005Mxeb_Ikid=CF00ND0000005Mxeb_Ikid={!Contact.Id}&CF00ND0000005MxeW={!Account.Name}&retURL={!Contact.Id}
Is there a way to somehow make the contact and account name lookup fields automatically select the contact and account name that the button is run off?
I've been able to get it to work, however in cases where I have multiple contacts or accounts with the same name it returns the 'Error: multiple items found. Select from drop-down or click icon to refine search' next to the relevant fields.
I'd like to somehow stop this from appearing in cases like this.
Any ideas without having to go down the full coding route?
Thanks!!!
Cheers.
Best Answer
There is a nice tutorial that explains how to hack the URL here.
Your URL with notes
Updated URL