Enable and configure versioning for a list or library
Applies ToSharePoint Server 2016 SharePoint in Microsoft 365 Microsoft Lists SharePoint in Microsoft 365 Small Business SharePoint operated by 21Vianet

You can track and manage information over time with versioning in lists and libraries, as well as view and recover previous versions from the item's history.

When enabled, new versions are added to an item's history after changes are saved. The number of versions stored and the visibility of draft or minor versions can be modified for each list and library.

Enable and configure versioning in a list or library

  1. Open the list or library that you want to enable versioning.

  2. Select Settings Gear shaped settings button, and then select List Settings or Library Settings.

      Settings menu with List settings highlighted

  3. On the Settings page, select Versioning settings.

    Library settings dialog with Versioning selected.
  4. From the Version settings page, you have the following settings available:

    • For a Document library:

      • Require content approval for submitted items.

      • Create a version each time you edit a file in this document library using either major versions only, or major and minor versions.

      • Limit the number of versions and drafts to retain.

      • Set who can see draft items.

      • Require documents to be checked before they can be edited.

        Library Settings options in SharePoint Online, showing versioning enabled
    • For a List:

      • Require content approval for submitted items.

      • Create a version each time you edit an item in the list.

      • Limit the number of versions and drafts to retain.

      • Set who can see draft items in the list.

        List Settings options in SharePoint Online, showing versioning enabled
  5. Select OK.

To view, restore, or delete an earlier version in a list or library

  1. Open the list or library with the item or document that you want to view history.

  2. Next to the item for which you want to view history, select the ... (ellipses).

  3. Select Version history.

    Document library right click menu with version history highlighted

    If you don't see Version history, select More, and then select Version history.

  4. In the Version history dialog, hover your mouse over the date link on an earlier version, and to show the menu, select the down arrow.

    Version dropdown dialog button
  5. In the menu, you can do the following.

    Version item menu
    • View the current document. A dialog box appears where you can restore or delete a previous version, as well as see the current approval status. You can also edit the current version from this dialog box.

    • Restore the document. A dialog box appears prompting if you want to make it the currently approved document. It will add it as a new version.

    • Delete the document. A dialog box appears prompting if you're sure you want to send the item to the Recycle Bin.

    • Reject this version. Only appears on approved documents, rather than Delete.

  6. When you're done, in the upper right corner, select X.

Other settings that affect versioning

You can configure other settings that affect versioning. In lists and libraries, you can require content to be approved. In libraries, you can require files to be checked out.

For info about these settings and more, see How does versioning work in a list or library?

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.