Notifications
Announcements
No record found.
To handle a field change from null to a value with the update message, ensure your plugin checks for both the old and new values. The update message triggers only when the field's value changes, but a change from null to a value should still fire it.
null
If it’s not triggering, explicitly check for null in your plugin logic:
if (context.PreEntityImages["PreImage"].GetAttributeValue<Type>(fieldName) == null && entity.GetAttributeValue<Type>(fieldName) != null) { // Handle the change from null to value }
Alternatively, verify your plugin registration includes Pre-Image with the field and the update message is configured correctly.
This is a known challenge in Dynamics 365/CRM plugins.
When you set a field to null in Dynamics:
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tom_Gioielli 74 Super User 2025 Season 2
Daniyal Khaleel 32 Most Valuable Professional
Gerardo RenterÃa Ga... 31 Most Valuable Professional