+ Start a Discussion
Gargi ManjeeGargi Manjee 

List Button with URL to populate Lookup field is not populating the lookup field.

I have created a custom list button:
User-added image
with URL :
User-added imageWhen I am clicking on New Customer, it is redicrecting to this link:
User-added image
but the lookup field is not getting populated:
User-added image

Is there anything I am doing wrong?

Thanks,
Best Answer chosen by Gargi Manjee
Neha AggrawalNeha Aggrawal
Hi Gargi,

The lookup field Id should be prefixed with CF. See this link: http://raydehler.com/cloud/clod/salesforce-url-hacking-to-prepopulate-fields-on-a-standard-page-layout.html

Hope this helps.
Thanks and Regards, 
Neha
www.initaura.com - Everything Salesforce (http://www.initaura.com)

All Answers

Neha AggrawalNeha Aggrawal
Hi Gargi,

The lookup field Id should be prefixed with CF. See this link: http://raydehler.com/cloud/clod/salesforce-url-hacking-to-prepopulate-fields-on-a-standard-page-layout.html

Hope this helps.
Thanks and Regards, 
Neha
www.initaura.com - Everything Salesforce (http://www.initaura.com)
This was selected as the best answer
Gargi ManjeeGargi Manjee
@Neha
Thanks a ton! The issue is resolved.