Hi guys,
I am facing an unusual issue here with Plugins. I have registered a Plugin on Update of entity in Post Operation stage and have included just one field (checkBox field/ 2 option set field on the Form) in the Filtering Attribute of that step. Now when I am trying to open an existing record and changing other fields on the Form, its giving me an error in the same Plugin. When I tried putting in Traces to debug this issue I am getting the below:
tracingService.Trace("Contains: " + entity.Attributes.Contains("amd_eventwithoutmarketinglist")); ------> True [Not even touched this field]
I am wondering why is it giving true even if I did not touch this field. Generally entity.Attributes contains a value only when the field is changed. My main doubt here is that why this Pugin is even called when the field on which it is expected to trigger is not changing and other fields on the same form are changing. Please let me know if you have any idea about this.
Regards
Tushar
*This post is locked for comments
I have the same question (0)