How can I delete all items from a list in Sharepoint?
I have to delete my list and create it again... Can anyone help me with this problem?
if you have list with more than 500 items, and you don't want to chose coding path, and don't want to delete list as well, than you go to "Manage Content and Structure" view, it allows you to view 1000 items at once and than select all delete all.
You can delete all items at once in a Datasheet view (Ctrl+A > right click on the row > delete row).
You can connect Microsoft Access to SharePoint and run SQL commands to delete all records or use WHERE conditions. More Information at: http://office.microsoft.com/en-ca/access-help/import-from-or-link-data-to-a-sharepoint-list-HA102749600.aspx.
Besides the suggestions before and if you have access to Power Automate you can create a flow which deletes all items of your list.
Your flow will look something like this:
Since a normal Get Items action will only give you 100 items you need to set the Top Count in the advanced options to 4999 (https://alextofan.com/2019/08/22/how-to-get-more-than-5000-item-from-sharepoint-online-in-flow/#:~:text=5000%20items%20limit&text=The%20maximum%20top%20count%20you,than%20100%20items%20are%20retrieved.)
This flow can be optimized, as it has a lot of Get Items actions. But for now this should do the trick.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With