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
Rajat Mahajan 28Rajat Mahajan 28 

Urgent Help : URL Hack issue to prepopulate custom lookup field

Dear All

I am facing a major challenge in prepopulating values in a custom lookup field from a URL (I am redirected to a new record standard page)
URL :
https://cs10.salesforce.com/001/e?acc2=Greg+Hewitt&CF00NJ0000001x7yoMAA=00QJ000000AQSUtMAP&nooverride=1&retURL=%2F001%2Fo

In the above URL : i am able to prepopulate the standard name field of account from the url param:
acc2=Greg+Hewitt

However, there is a custom field on account called convertedfromlead__c (which is a lookup to lead)
The above needs to be populated from:
CF00NJ0000001x7yoMAA=00QJ000000AQSUtMAP

Where : 
00NJ0000001x7yoMAA = Id field of Custom Field 
00QJ000000AQSUtMAP = Id field of lead record

The custom lookup field somehow does not get populated.

Kindly help me with this and let me know if this is possible.

I had prepended the id with CF as indicated in some articles, however, did not work with or without that

Regards
Rajat 
 
Brian Hopkins 25Brian Hopkins 25
When pre populating a lookup field, you need to append _lkid to the field ID.