Skip to main content
Suggested answer

Unable to update EntityImage in PreOp Plugin

editSubscribe (0) ShareShare
Posted on by 40


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?