Sharepoint itemupdating afterproperties
Instead, I created a hidden column Study Type and I have an Item Adding event receiver set this field when an item is created.Now it occurred to me that the client may want to edit the folder and my event receiver must still set the proper fields to new values.
With the exception of feature events, here is a full list of available Share Point events, event receivers, and event hosts for quick reference.I’m usually disappointed when writers employ oft-overused metaphors to describe a situation.I should also point out that I know the difference between a metaphor and simile in case that was bothering you from the opening sentence.I understand System Update(false) is suppose to do this, however it does not persist the bool value.If I use Update() or System Update(), the value is persisted but it doesn't set the approval status to You shouldn't call system update within your synchroneous event.
Search for sharepoint itemupdating afterproperties:
If you want to update the property prior to the update, you can change the after Properties[""] and the change will be persisted if the update succeeded.