Quantcast
Channel: Forum CRM Development
Viewing all articles
Browse latest Browse all 1000

crm 2011 on-premise: problem setting up lookup field in C# plugin

$
0
0

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!



Viewing all articles
Browse latest Browse all 1000

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>