web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Plugin: context post image not there

(0) ShareShare
ReportReport
Posted on by

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)
  • Daniel Wikell Profile Picture
    2,360 on at

    Which name have you registered your post image under? If you debug and check the contents of the PostEntityImages array, is it empty or do you perhaps have a post image in there but under a different name than "postPhoneImage"?

  • Jan Gracelin Jeno Profile Picture
    150 on at

    Have you selected the regarding field in post image in plugin registration tool?

  • Community Member Profile Picture
    on at

    the contents of the PostEntityImages array is empty

  • Community Member Profile Picture
    on at

    Yes...but we're not getting that far.  I can't even see the post image.

  • a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    Can you please provide screenshots of your Step and Image from Plugin Registration Tool?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans