Sharepoint 2007 Versioning


Jan Tielens has shared with us the new concept of versioning in the Sharepoint 2007, not only we have new features in the Document Libraries but we also have versioning in the lists. Jan has also creates an area (Y.A.S.R. – Yet Another Sharepoint Relief) in his blog about all these new features.

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:

You can find this article here

Computer developer/consultant from Portugal. You can find me at ricardo.magalhaes@gmail.com

Posted in Sharepoint, Sharepoint
2 comments on “Sharepoint 2007 Versioning
  1. Sri Vidya says:

    Hi ,

    We can enable versioning on the entire site as well right?
    Actually I have a requirement to modify the entire site contents like masterpage, some data in pages etc in a live Moss site which is greater than 25mb.

    So ,here can I enable versioning on the site itself and make whatever changes I need,and finally apply that version if everything is fine , else revert to previous version?

    If this is possible,pls let me know the procedure how can I do
    this ??

    Kindly suggest.

    Thanks !!

  2. The versioning is part of the Features of MOSS, but you cannot create site versions and apply.

    The versions are restricted to libraries and lists, therefore you can work on your MasterPages and Pages Layouts, or your CSS files and take advantage of the versioning of the Master Pages Libraries or Style Library.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: