SharePoint Online List Version History

In this SharePoint Online tutorial, we will discuss SharePoint Online List Version History along with several other topics that are discussed, which are given below.

  • SharePoint Online List Version History
  • Enable Versioning on SharePoint List
  • Restore a Previous Version of a SharePoint List
  • How to Delete Version History in SharePoint Online
  • SharePoint View Version History Limit
  • Use of Version History in SharePoint Online List

Also, Read: SharePoint Phone Number Validation [With Examples]

SharePoint Online List Version History

SharePoint Online List Versioning is a method to store, track history, restore, view items in lists, and also display recent changes in lists. It also helps the members to see how and when the files are modified. Each version of the list has the following:

  1. Version Number
  2. When the version was created (date & time)
  3. Who made the version (change)
SharePoint Online Versioning Settings
SharePoint Online Versioning Settings

Enable Versioning on SharePoint List

Here, we will see how to enable and configure versioning for the SharePoint online list.

  • To do that, we have taken SharePoint Online List (Wallmurals).
  • Click on Settings -> select List settings.
How to enable Versioning History in SharePoint List
How to enable Versioning History in SharePoint List
  • In this Settings window, under General settings select Versioning settings.
Versioning in SharePoint Online List
Versioning in SharePoint Online List
  • In the Versioning Settings window, various options are there as listed below.
    • Content Approval: It specifies whether new items or changes to existing items should remain in a draft state until they have been approved.
    • Item Version History: Specifies whether a version is created each time you edit an item in this list. Also, helps limit the number of versions and drafts to retain.
    • Draft item security: Drafts are minor versions or items which have not been approved. It specifies who can view and edit drafts in this list.
  • Click on the OK button as shown below.
SharePoint Online List Versioning History
SharePoint Online List Versioning History

This is how we can enable versioning history in SharePoint Online List.

Check out: SharePoint Online List Calendar View Color Coding

Restore a Previous Version history of a SharePoint List

  • For Example, we have taken an item (Trade Level Pricing) of a SharePoint Online List (MB Trade Program)
  • Click on the … (ellipses) -> Select the Version history.
Versioning History in SharePoint Online List
Versioning History in SharePoint Online List
  • In this Version History window, expand the item we see three options
    • View
    • Restore
    • Delete
  • Select Restore -> A dialog box opens up asking ‘You are about to replace the current version with the selected version.’
  • Click on the OK button as shown below.
SharePoint Online List Restore Latest Version
SharePoint Online List Restore Latest Version
  • Now, go back to the SharePoint Online List (MB Trade Program) home page -> Expand All items -> Select Approve/reject items.
SharePoint Online Versioning Settings Tenant
SharePoint Online Versioning Settings Tenant
  • Now, the MB Trade Program window opens and shows all Approval Status -> Click on … ellipses (item to restore) -> Expand More -> Select Approve/Reject
SharePoint versioning best practices
SharePoint versioning best practices
  • In this Approve/Reject window, we can see three Approval status options as listed below
    • Approved = If we approved the status, then the item will become visible to all users.
    • Rejected = If we rejected the status, then the will be returned to its creator and only visible to its creator and all users who can see draft items.
    • Pending = If we keep the status pending, then the item will remain visible to its creator and all users who see draft items.
  • These operations can be accessed only by the site owner who has full control of the SharePoint Online Site.
  • Here, I own this SharePoint Online site, I have selected Approved to restore the item (Trade Level Pricing) -> Click on the Ok button.
SharePoint versioning explained
SharePoint versioning explained
  • Now, the MB Trade Program window shows the item in the Approved section.
SharePoint List Version History URL
SharePoint List Version History URL

This is how we can restore a previous version of an item in SharePoint Online List Versioning.

How to Delete Version History in SharePoint Online

Here, we can see how to delete version history in SharePoint Online List.

  • For Example, we have taken an item (Trade Sampling Program) of a SharePoint Online List (MB Trade Program)
  • Click on the … (ellipses) -> Select the Version history.
Delete previous version in SharePoint Online List
Delete the previous version in SharePoint Online List
  • In this Version History window, expand the item we see three options
    • View
    • Restore
    • Delete
  • Select Delete -> A dialog box opens up asking ‘Are you sure you want to send this version to the site Recycle Bin?
  • Click on the OK button as shown below.
How SharePoint Online List Delete Previous Version
How SharePoint Online List Delete Previous Version
  • Now, go back to the SharePoint Online List (MB Trade Program) home page -> Expand All items -> Select Approve/reject items.
How to Delete the previous version in SharePoint List
How to Delete the previous version in SharePoint List
  • Now, the MB Trade Program window opens and shows all Approval Status -> Click on … ellipses (item to delete) -> Expand More -> Select Approve/Reject.
Delete Version of SharePoint Online List
Delete Version of SharePoint Online List
  • In this Approve/Reject window, we can see three Approval status options as listed below
    • Approved = If we approved the status, then the item will become visible to all users.
    • Rejected = If we rejected the status, then the will be returned to its creator and only visible to its creator and all users who can see draft items.
    • Pending = If we keep the status pending, then the item will remain visible to its creator and all users who see draft items.
  • These operations can be accessed only by the site owner who has full control of the SharePoint Online Site.
  • Here, I own this SharePoint Online site, I have selected Approved to restore the item (Trade Sampling Program) -> Click on the Ok button.
SharePoint delete version history programmatically
SharePoint delete version history programmatically
  • Now, the MB Trade Program window shows the item in the Approved section.
SharePoint clear version history
SharePoint clear version history
  • Click on the Recycle Bin -> A recycle bin window opens, here you can see the deleted item (Trade Sampling Program).
SharePoint Delete all Version History
SharePoint Delete all Version History

This is how we can delete a previous version of an item in SharePoint Online.

Have a look: How to Change SharePoint Online Team Site to Microsoft Teams

SharePoint View Version History Limit

In this SharePoint View version history limit, we will discuss how to change the SharePoint View Version History Limits.

Steps followed to change the version limit in the SharePoint Online List Version History.

  • For Example, we have taken a SharePoint Online List (MB Trade Program) -> Click on Settings icon -> Select List settings.
SharePoint View Version History Limit
SharePoint View Version History Limit
  • In this Settings window, click on Versioning settings under General settings.
SharePoint File Version History Limit
SharePoint File Version History Limit
  • This Versioning settings window shows the default number of the versions (50). Also, we can keep the draft of the following number of approved versions.
  • If we want can change the number of versions and keeps the drafts of the approved versions as per the needs.
SharePoint Version History Limit Default
SharePoint Version History Limit Default
  • Now, you can see that we have changed the number of versions and also keep the same number of drafts of the approved versions.
SharePoint Online List Version History Limit
SharePoint Online List Version History Limit

This is how we can change the SharePoint view version history limits.

Use of Version History in SharePoint Online List

Reasons for using versioning in the SharePoint Online list are listed below.

  • Track history of a version: We use the track history of a version to know when an item or file was changed and who changed it. We can also see when the information on the file gets changed. 
  • Restore a previous version: It is used when we make a mistake in a current version or we simply like a previous version better, then we can replace the current version with a previous one. So that the restored version becomes the new current version.
  • View a previous version: Here, we can view a previous version without overwriting our current version. 

Furthermore, you may like some more SharePoint Online tutorials:

Conclusion

Here, we have learned about the SharePoint Online List Version History from this tutorial, along with several other topics that are discussed, which are given below.

  • SharePoint Online List Version History
  • Enable Versioning on SharePoint List
  • Restore a Previous Version of a SharePoint List
  • How to Delete Version History in SharePoint Online
  • SharePoint View Version History Limit
  • Use of Version History in SharePoint Online List