MS CRM - getting the field that caused a form save
Posted
by CraigF
on Stack Overflow
See other posts from Stack Overflow
or by CraigF
Published on 2010-04-05T13:54:05Z
Indexed on
2010/04/24
18:23 UTC
Read the original article
Hit count: 409
I have a MS CRM 4 form where when certain fields are changed, I need those fields to be written to an excel sheet.
So, I edited the form field onchange event to call crmform.save() which triggers a plugin to run that writes the field value to a named range (1 cell) of an excel sheet.
However, I don't know which field caused the save. Is there a way to get that information? (Not all fields on the form need to go to the excel sheet)
If I use this: DynamicEntity target = (DynamicEntity)Context.InputParameters[ParameterName.Target]; I can look at specific fields, but I have no way of knowing which ones changed.
Any suggestions?
© Stack Overflow or respective owner