Skip to content

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

March 8, 2007

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

Advertisement
3 Comments leave one →
  1. John permalink
    September 6, 2008 1:01 am

    Can you tell me if in Sharepoint you can share items between lists?

Trackbacks

  1. Purging a SharePoint list of all items and folders « Krichie - That SharePoint Guy
  2. How to delete all items in a list (using Powershell) « The SharePoint Nomad

Leave a Reply

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

Gravatar
WordPress.com Logo

Please log in to WordPress.com to post a comment to your blog.

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

Follow

Get every new post delivered to your Inbox.