New answers tagged updatelistitems
As per Robert's suggestion, the answer to this is that an uncaught exception in the code's execution prevented the event from firing. Since Visual Studio was not catching it, I found it out by going through the ULS logs.
There are two ways I can think of. Create a timer job. Schedule a SharePoint TimerJob to run daily or for every n number of hours and populate a list which will contain the excel file content. Design a Business Connectivity Service through Visual Studio and let it read data from the excel file every time it is loaded. This does not have any issue from the ...
When you are adding an item it updates the list item only once. But if you are using the ItemAdded there is another update happen on each list item in order to complete the whole operation. From performance perspective it is bad, but it is safe. Mean I also have seen this. Might be your environment has many event receivers. Try debugging and ensure every ...
When adding multiple items in SharePoint list then ItemAdded event works better than ItemAdding event. ItemAdding event has never worked for me for bulk uploads but yes ItemAdded event always works good. Hope this helps.
Top 50 recent answers are included