How to delete bulk list items from SharePoint list using simple interface? Apply to: SharePoint 2010, SharePoint 2013, Office 365
There are times when you need to delete certain items with certain condition from a SharePoint list, such as deleting all list
The common solution is to delete one item at a time.
The question is, what if the list is too large? For example, what if you want to delete hundreds of records from a list with thousands of items?
Unless you want to write the code yourself, the code is written here.
Do it in 10 minutes:
No installation! Simple instruction:
All you need is to add the reference of the service in your site to delete list items within your SharePoint site.
To do so, you need to add the following link in your Content Editor Web Part:
Then you will see the following in your page:
The program will: Delete List items from: Announcements Where ID Eq 1
Note: Anonymous user cannot run the service. So you cannot test this here. But you can test it at: Demo site . User userid spdom\testuser1 and passwordEasy_pass to get to the site.
With above interface you can delete list items with almost any criteria from SharePoint list in the same site.
You need to enter your SharePoint list name, your List column name, the Column name and value you want to delete.
To delete all list items from the list you need to select ID “Greater or equal” to 1. Newer versions of the service will come soon.
You are welcome to provide comments here
|