Quantcast
Channel: Microsoft Dynamics CRM
Viewing all articles
Browse latest Browse all 71679

Forum Post: Unable to get regardingobjectid in task entity

$
0
0
I want to get regarding object id of a task. My code is Guid ParentAccountID = ((EntityReference)PrimaryEntity.Attributes["regardingobjectid"]).Id; It throws an error that " Given key was not present in the dictionary". I am running the plugin on Post-UPDATE operation which means id is already there. Can you people tell me why I am unable to get regardingobjectid?

Viewing all articles
Browse latest Browse all 71679

Trending Articles



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