You need to sign in to do that
Don't have an account?
Pritam Patil 19
Lookup Field not getting Auto-Populated
Hello,
I am using the following approach to auto-populate the fields:
http://raydehler.com/cloud/clod/salesforce-url-hacking-to-prepopulate-fields-on-a-standard-page-layout.html
The normal text fields and date fields are getting auto-populated but the lookup fields remain blank. I get the value of the field in the URL but it does not appear.
Thanks.
I am using the following approach to auto-populate the fields:
http://raydehler.com/cloud/clod/salesforce-url-hacking-to-prepopulate-fields-on-a-standard-page-layout.html
The normal text fields and date fields are getting auto-populated but the lookup fields remain blank. I get the value of the field in the URL but it does not appear.
Thanks.
https://cs43.salesforce.com/a04/e?CF00N1500000FOXdr=Health+Programme&CF00N1500000FOXdr_lkid=a0763000000E51j&00N63000000GoQF=Jessica+Alan+Johnson+Jess&00N63000000Gp7n=Alan+Jeffry+Donald+Alan&00N63000000Gp7i=2%2F10%2F2016&00N63000000Gp7s=101&00N63000000Gp82=Westchester&00N63000000GpG6=ABC+Educations&retURL=%2Fa0763000000E51j
The highlighted text is the 'field Id = field value'. But it is not appearing on the field.
Thanks.
In highlighted field, you are only populating {!object.name}, you also need to populate ID for lookup. Please insert following highlighted text in your Url
00N63000000GpG6=ABC+Educations({!object.name})&00N63000000GpG6_lkid={!object.Id}&retURL=%2Fa0763000000E51j
Thank you for your response. Still could not populate the field.
Actually "ABC Education" is a value I am taking from a Master-Detail field from another custom object. So do you think this might me the problem ?.
Following is the code I am using for the custom button:
https://cs43.salesforce.com/a04/e?CF00N1500000FOXdr={!Course__c.Name}&CF00N1500000FOXdr_lkid={!Course__c.Id}&00N63000000GoQF={!Course__c.Health_Coach__c}&00N63000000Gp7n={!Course__c.Assistance__c}&00N63000000Gp7i={!Course__c.Start_Date__c}&00N63000000Gp7s={!Course__c.Location_Code__c}&00N63000000Gp82={!Course__c.Location_Name__c}&00N63000000GpG6={!Course__c.Offered_By_Network_Provider__c}&00N63000000GpG6_lkid={!Course__c.Id}&retURL=%2Fa0763000000E51j
The Offered_By_Network_Provider__c is a field which is in Master-Detail relation with Contact.
Thanks.