Timeline for Deleting all the items from a large list in SharePoint
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 15, 2014 at 14:32 | history | edited | Mark van Dijk | CC BY-SA 3.0 |
Updated to include ServerRelativeUrl, as pointed out by Ajay.
|
Aug 29, 2014 at 22:52 | comment | added | Ajay | Thanks Mark, that works great! Just 1 glitch. You will have to replace if (recycleBin[i].DirName.StartsWith(sourceList.RootFolder.ToString())) with if(recycleBin[i].DirName.StartsWith(sourceList.RootFolder.ServerRelativeUrl.Substring(1))) for it to work on a list in a subsite. | |
Aug 27, 2014 at 10:21 | history | answered | Mark van Dijk | CC BY-SA 3.0 |