Using Dynamics CRM 2016 and CRM Dev Tools 2013 on VS 2017 community edition
When an Activity is updated, I want to update the related Opportunity. In the test, when the Phone Call scheduledstart is updated, the plugin fires and is supposed to get the regardingid from the postimage. Unfortunately, when I debug after profiling and look at the context.PostEntityImages there is no image.
Looking at the Plugin Registration Tool the postPhoneImage appears to be registered under the PostPhoneCall step. This is my first post-image plugin and I feel like I am missing something basic. Any suggestions?
Here's the code that loads the post image:
if (localContext == null)
{
throw new ArgumentNullException("localContext");
}
IPluginExecutionContext context = localContext.PluginExecutionContext;
Entity postImageEntity = context.PostEntityImages["postPhoneImage"];
*This post is locked for comments
I have the same question (0)