I created a plugin and a post image on creation of a task. I am unable to get the account id for which the task is created
I'm using the following command
((Entity)context.PostEntityImages["taskCreate"]).Attributes["regardingobjectid"].ToString();
where taskCreate is the image that I have created with PRT
*This post is locked for comments
the output I get for the above thing is Microsoft.Xrm.Sdk.EntityReference
Mohamed Amine Mahmoudi
83
Super User 2025 Season 1
Community Member
54
Victor Onyebuchi
6