Learn more about SQL Server tools

mssqltips logo

Tutorials          DBA          Dev          BI          Career          Categories          Webcasts          Scripts          Today's Tip          Join

Tutorials      DBA      Dev      BI      Categories      Webcasts

DBA    Dev    BI    Categories


Configuring Version Control in SharePoint

By:   |   Last Updated: 2010-10-07   |   Comments   |   Related Tips: > Sharepoint


Version Control is an essential need in content management. In SharePoint, version control helps to track the changes made to content by saving a copy of each iteration. This provides a way of rolling back to a previous saved version if needed. Read more to learn how to configure this ...


This article will demonstrate how to enable and configure version history and how to limit the number of saved versions.

By default, version control is not enabled. When opening an item's ECB menu (the dropdown for an item), you won't see "Version History" option.

shared documents

To enable, navagate to the Document Library Settings.

  • Click on Settings, Document Library Settings
shared documents
  • Click On Versioning Settings
customize shared documents

By default, it will be "No versioning" beside "Document Version History". Change it to "Create major versions". This will create versions like 1.0,2.0,3.0, etc. Below you can control the number of the versions you want to keep. When using this feature, the number you enter shows how many history versions will be saved in addition to the 'current' version. If you enter a 2, you will have the current version plus the most recent 2 versions saved.

submitted items

Click OK and navigate back to the library. Now every time you change the document and save the changes, a new major version will be created. Open any item's ECB menu (dropdown) and you will now see the option of "Version History". Click on it.

version history

As you have limited the number of versions to 2, you would be only able to see 3 versions as below.

version testing

This demonstrates how you track changes made, and by who. By clicking on a previous version, you will be able to look at a previously saved version and, if needed, roll back to it.

Next Steps
  • Use Version Control to track changes, by whom it is made and for what reason it is done.
  • Use version to restore the document.

Last Updated: 2010-10-07

get scripts

next tip button

About the author
MSSQLTips author Rahul Mehta Rahul Mehta is a Project Architect/Lead working at Tata Consultancy Services focusing on ECM.

View all my tips

Post a comment or let the author know this tip helped.

All comments are reviewed, so stay on subject or we may delete your comment. Note: your email address is not published. Required fields are marked with an asterisk (*).

*Name    *Email    Email me updates 

Signup for our newsletter
 I agree by submitting my data to receive communications, account updates and/or special offers about SQL Server from MSSQLTips and/or its Sponsors. I have read the privacy statement and understand I may unsubscribe at any time.


Learn more about SQL Server tools