Monday, August 10, 2015

After and Before Properties in Sharepoint Event receivers

Below are the list of differences in Item Properties
List
ListBeforePropertiesAfterPropertiesproperties.ListItem
ItemAddingNo valueNew valueNull
ItemAddedNo valueNew valueNew value
ItemUpdatingOriginal valueNew valueOriginal value
ItemUpdatedOriginal valueNew valueNew value
ItemDeletingNo valueNo valueOriginal value
ItemDeletedNo valueNo valueNull
Document Library
LibraryBeforePropertiesAfterPropertiesproperties.ListItem
ItemAddingNo valueNo valueNull
ItemAddedNo valueNo valueNew value
ItemUpdatingOriginal valueNew valueOriginal value
ItemUpdatedOriginal valueNew valueNew value
ItemDeletingNo valueNo valueOriginal value
ItemDeletedNo valueNo valueNull
It will help somebody for sure.

No comments:

Post a Comment