+ Start a Discussion
aditya prasadaditya prasad 

Auto populate case look field on custom object while creating from a link present on case layout.

Hi, 
I have created a detailed page link on case layout which will create a custom object record. I need to auto populate  Contact, Account from Case and Case Number from the case I am creating the record.

My url:
/a20/e?retURL={!Case.Id}&CF00N80000004W77Q={!Account.Name}&CF00N80000004W77Q_lkid={!Account.Id} 
&CF00N80000004W77T={!Contact.Name} 
&CF00N80000004W77T_lkid = {!Contact.Id}&RecordType=01280000000Hpwf 
&CF00N18000000dv5u = {!Case.CaseNumber}

I am able to populate contact and Account, but not the case. It always remains blank. But in url I can see the case id and number.
Am I doing any mistake here ?
Thanks
Medhya MahajanMedhya Mahajan
Hi,

There might be an issue due to white spaces, please remove all the whitespaces like this :

/a20/e?retURL={!Case.Id}&CF00N80000004W77Q={!Account.Name}&CF00N80000004W77Q_lkid={!Account.Id} 
&CF00N80000004W77T={!Contact.Name} 
&CF00N80000004W77T_lkid={!Contact.Id}&RecordType=01280000000Hpwf 
&CF00N18000000dv5u={!Case.CaseNumber}

Regards
Medhya Mahajan