SharePoint - Development and Programming
I have not tried this, but I do need to do something similar. I was thinking that I could use some sort of cache or temp file in ItemUpdating to store the old values, then get those values in ItemUpdated.
I suppose another method might be to enable versioning on the list. Then in ItemUpdated you can find out the current version and get the values from the previous verison of the list item.
Forget properties.cancel
Anything related the previous value should use ItemUpdating
** Get the value from SPListItem[fieldname], NOT beforeproperties
annielhy wrote:
Forget properties.cancel
Anything related the previous value should use ItemUpdating
** Get the value from SPListItem[fieldname], NOT beforeproperties
ItemUpdating should run
- after the form is submitted
- before the value is written to DB
right