Monthly Archives: May 2015

SharePoint Event Receiver BeforeProperties, AfterProperties values

Here are the results for a list: List BeforeProperties AfterProperties properties.ListItem ItemAdding No value No value Null ItemAdded No value No value New value ItemUpdating No value Changed value Original value ItemUpdated No value Changed value Changed value ItemDeleting No … Continue reading

Posted in Event Receiver, SharePoint 2010 | Leave a comment

SharePoint Event Receiver Does Not Fire

1. Add Trace Log to see if it is really not firing: string now = DateTime.Now.ToString(“ddMMyyyy-HHmmss”); // Creates the text file that the trace listener will write to. System.IO.FileStream myTraceLog = new System.IO.FileStream(“C:\\temp\\SharePoint Trace Log\\” + now + “.txt”, System.IO.FileMode.OpenOrCreate); … Continue reading

Posted in Event Receiver, SharePoint 2010, Visual Studio 2010 | Tagged , , | Leave a comment