skip to content »

On itemupdating

New value means that the correct value for the column was available.Changed value means that the correct updated value was available.

on itemupdating-23on itemupdating-33

Additionally, there are some fields, such as Last Updated By, Last Updated Date that need to be seen, but not edited.Original value means that the correct original value was available.Now let’s say we want to hook into the Item Updating event and prevent a user from changing a certain column.The stored procedure on the backend takes care of this, and these are not parameters for the Update method.The Form View by default is trying to pass all these values back to the database.However, this post only focuses on the Before Properties and After Properties of the list item event receiver (SPItem Event Receiver). The base class for all list item events is the class.

With the exception of feature events, here is a full list of available Share Point events, event receivers, and event hosts for quick reference.

By comparing the values in the before Properties with the after Properties I could see if they contained a difference.

If it doesn’t, the updating event should not happen again.

These events could be web events (Web Adding, Web Provisioned, Web Deleting etc), feature events (Feature Activated, Feature Deactivated etc) or most popularly, list item events (Item Updated, Item Updating, Item Added etc).

Before Properties and After Properties are available for the different event receiver classes.

Whiskey stones are freezable naturally mined soapstones that will keep your drink cold but won't water it down.