SPPurgeList on CodePlex – Purging a SharePoint list of all items and folders

I previously mentioned and linked to sample code for

Purging a SharePoint list of all items and folders

I have since released this on CodePlex in the form of a built tool with documentation and source, and it is now published at

http://www.codeplex.com/sppurgelist

I had seen many requests for something like this on the microsoft.public.sharepoint.development_and_programming newsgroup. I could see a need for something simple to accomplish this, thus…here ya go J.

Allows you to purge the contents from any list or document library on WSS 2.0/SPS2003 or WSS 3.0/MOSS 2007.

If you need to retain a list/document library itself (Maintaining its original GUID) without completely deleting the entire list/document library and re-creating, this tool can help.

You could certainly use Web Folders (WebDAV) to clear the contents, but users stand the chance of accidentally deleting the contents of the forms folder which is not desirable. As well, you could script and automate the task using this tool if you desired.

Enjoy! and HTH!

– Keith Richie

3 Replies to “SPPurgeList on CodePlex – Purging a SharePoint list of all items and folders”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: