+ Start a Discussion
bpolbpol 

Hyperlink to Open New Linked Record

I am trying to open a new linked record using a formula field... I would like the new record to have 2 fields pre-populated -- since I am linking the new record back to two different objects.  How do I do this?

 

 

Sample -- The new record  should open in the edit mode:

                Related Student Record : XXXXXX (filled in)

                Related Case Record : XXXXXX (filled in)

 

This works -- when one field pre-populated and passed through:

 

 

HYPERLINK( "https://na5.salesforce.com/a0U/e?CF00N70000002NBfE=" & Related_Student__r.Name & "&CF00N70000002NBfE_lkid="& Related_Student__r.Id &"&retURL=%2F"& Id , "New Call: " & Related_Student__r.Student_First_Name__c & " " & Related_Student__r.Student_Last_Name__c, "self")

 

 

 

This doesn't work -- when I try to pre-populate two fields:

 

 

HYPERLINK( "https://na5.salesforce.com/a0U/e?CF00N70000002NBfE=" & Related_Student__r.Name & "&CF00N70000002NBfE_lkid="& Related_Student__r.Id &"&CF00N70000002qLox="& CaseNumber &"&CF00N70000002qLox_lkid="& Id &"&retURL=%2F"& Id , "New Call: " & Related_Student__r.Student_First_Name__c & " " & Related_Student__r.Student_Last_Name__c, "self")