It happened that I had around thousands of items in sharepoint site recycle bin and deleting it with sharepoint default delete items button was simply not possible as it would take forever to delete all items.
This nice little hack was very userful to me which deleted all items in a second!
As mentioned in this post
http://itfootprint.wordpress.com/2008/03/14/empty-sharepoint-user-recycle-bin/
you just have to navigate to recycle bin page and type javascript:emptyItems();
which will delete all items.
sorry but type it where?
ReplyDeleteYou can type it straight away in the address bar. Javascript works there.
DeleteAlternatively you can bring in the developer prompt and type it in the console window in the browser!
just type it in the address bar of your browser where you see the url.
ReplyDeleteRemove the url and just type without quotes this and press enter:
'javascript:emptyItems();'
Genius!
ReplyDeleteThanks... That's GREAT!
ReplyDeleteVery nifty. Doesn't seem to work in the final stage of the site collection recycle bin. Items still appear in the 'Deleted from end user recycle bin' for 30 days by default. Still, very nice and makes you wonder why they don't include a button to do that...
ReplyDeleteNice, thanks.
ReplyDelete