Deleting and restoring a file
In this recipe, you will learn how to delete a SharePoint document and then restore it from your site’s recycle bin.
Getting ready
You will need to be able to access a document library in a SharePoint site for which you have at least Contribute permission or higher. You will usually have this permission if you are part of the Site owners or Site members groups for the site containing the library.
How to do it...
To delete a file:
- Select the ellipsis (…) next to a file, then Delete.
Figure 2.40: Deleting a file from an item’s context menu
- Confirm the deletion on the pop-up dialog by selecting Delete. Watch for the status notification in the upper-right corner letting you know the file was successfully deleted:
Figure 2.41: Deletion notification
To restore a file:
- Select Recycle Bin from the left-hand navigation menu (team sites only) or follow the Viewing...