Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Unable to update EntityImage in PreOp Plugin

Posted on by 40

HI!

I have a PreOp plugin on case entity, and on update another field, I am trying to set an entityImage on case entity. In the plugin, I am just setting the entityImage field to a desired value. But when the plugin completes, I don't see the entityImage change. Also, the odata call shows that no value was assigned to the entityImage field. 

To validate, I am also assigning a value to another field on the case in the same plugin, and that gets updated when the plugin executes, but the entityImage does not.

If I instead, within the plugin, retrieve this incident record again, and set the same entityImage value, it works fine.

Does anyone know what is going wrong here?

Thanks!

  • Suggested answer
    itsdeshpande Profile Picture
    itsdeshpande 40 on at
    RE: Unable to update EntityImage in PreOp Plugin

    It seems like it is not possible to update it in Prep plugin. However, we can do it in preVal stage. Hope that helps someone!

    Thanks!

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,900 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,275 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans