I have a pre-create plugin on a phone call record and I am initializing its 'regardingobjectid' lookup field with a newly created case record as shown below. The problem is that the 'Regarding' field on the phonecall form shows no Text but just the icon for the Case record though the Title of the Case record is populated. The Case icon is clickable and leads to the Case record but I am not sure why there is no Text in the Lookup field.
'entity' is the phonecall record within the pre-create plugin:
entity.Attributes["regardingobjectid"] = newEntityReference("incident",newGuid(new_caseid.ToString()));
Can somebody help me figure out the best way to get the Case Title show up on the Lookup field? thanks!