YASR: SharePoint 2007 Versioning
[Yet Another SharePoint Relief Series] In SharePoint 2003 you can enable versioning for a Document Library, so SharePoint will store for each document in that library previous versions when the document gets edited. That’s nice, but that’s about it what you get out-of-the-box. Since each version of the document is in fact a complete document (it’s not the delta that’s stored for a version) big documents can take up more space than desired. Just imagine that you have a 1MB Word document for which you have 15 versions, the total size that the document item will use, is 15 MB (15 times 1 MB). So a very common request is to limit the number of versions that is stored in a document library. In SharePoint 2003 there is no out-of-the-box functionality to do that, although it’s quite easy to write a Document Library Event Handler to accomplish this, but you do need to write some code and deploy the solution.
In SharePoint 2007 however, you specify the number of versions that should be kept quite easily. In the Document Library Settings page, you can navigate to the Versioning Settings, where you can enter any number of versions to keep.
Another thing on this page that may get your attention is the fact that you can either choose to only create major versions, or you can choose to create major and minor (draft) versions. A little bit further on the page you can specify who can read the draft versions of the document.
So when you enable major and minor version a possible scenario could go like this: you create a new Word document in the document library. This document will become version 0.1. When you edit the document again, you will create version 0.2. When you decide it’s time for other people to see your hard work you can decide to publish the document as a major version.
This action will promote version 0.2 to version 1.0, so the version number 0.2 will change into version 1.0. The version history also reflects this:
Another common complaint for SharePoint 2003 is the fact that versioning is only available in document libraries. In SharePoint 2007 versioning is also available for lists (although only major versions). For example editing a list item will result in the following version history:
Document and list item versions in SharePoint 2007: yet another SharePoint relief!