.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Document Versioning

Posted By:      Posted Date: September 01, 2010    Points: 0   Category :SharePoint
Is there a way to customise the version numbers to depict what department they belong to, such as Engineering will be eng1, eng2, eng3 etc and Logistics could be log1, log2, log3 etc?

View Complete Post

More Related Resource Links

If you have SharePoint Document Versioning Enabled, do you also use the retention settings?

I am looking for stats on how many environments are out there using document versioning in there libraries but are perhaps not selecting the retention settings. (e.g. "Optionally limit the number of versions to retain" section) This as we all know in SharePoint is a major cause of database growth.
Tony Parker, MSCE . MCTP. MCITP "Anything worth doing, is worth doing right"

How do I move a document library, with versioning, from one website to another.

How do I move a document library, with it's versioning, from one web site to another in MOSS 2007?

Help needed in versioning through code in document library?



I have a situation where i need to move the document form one library(LB1) to another library (LB2) thorugh event handler code. For documents which are not available in LB2 it is working fine but a case where document is already existing in LB2 i need to maintain the version instead , whereas my code is replacing the document already present.

Can anybody help me getting the versioning done through code?


Many Thanks



Previous document versions dont seem to disappear after turning off Document Versioning in Doc Libra


We have a two server (WFE + DB) MOSS 2007 installation with MOSS Enterprise version on it.

We had uploaded about 7000 documents amounting to a total of about 2 GB of file size into a document library. We then ran a tool to update several metadata columns for all those 7000 in the library. However we had forgotten to turn off versioning.

This seems to have caused the document library size and thereby the content database size to expand massively and we dont need that to happen. So we turned off the versioning and assumed that the previous versions would be purged by SharePoint and our document library size would reduce back to about 2 GB (total size of the documents uploaded into the library).

However the document library/content database has still not gone down in size. Can anyone suggest any ideas to make SharePoint purge / clean / delete the previous versions for all the documents - The worst part is we dont even see them in the version history anymore, but they seem to be present in the background thereby causing the content database to increase in size significantly.

Please help !



Versioning being disabled by itself in one document library

Hi All,

am currently facing an issue on a document library.

My document lib has more than 2000 items and has versioning enabled. Some how the version settings are changing automatically. I mean the versioning is being disabled by itself.

This is happening only on this library all other libraries in the site and site collection are working fine.

Im using  WSS 3.0.

Can any one help with this.

Thanks in advance,

sharepoint 2007 document versioning


Hi there,

recently I encountered a problem with Sharepoint 2007 versioning. As we known that, Sharepoint 2007 provides versioning capabilities which is a good thing. However, it will increase the version number every time the file is modified and checked in. But my question is whether there is a way to let the user check in the file without increasing the version number or let the user specifiy the version number. Otherwise, it is not that flexible. Or is there a way to customize the versioning capability to support manual version update? I appreciate if anybody can provie some hints on this. Thanks!



Working with SharePoint document libraries

Document libraries are collections of files that you can share with team members on a Web based on Microsoft Windows SharePoint Services. For example, you can create a library of common documents for a project, and team members can use their Web browsers to find the files, read them, and make comments. Users with Microsoft Office 2003 can check out and edit the files as if they resided on a local or network drive.

By default, your team Web site comes with a built-in document library named Shared Documents, which is listed on the Quick Launch bar as well as on the Documents and Lists page.

jQuery $(document).ready() and ASP.NET Ajax asynchronous postback

Many call it the ASP.NET jQuery postback problem, but using the technique below should make it no problem anymore. $(document).ready() isn't called after an asynchronous postback. What this means? You lose the functionality that should be executed within $(document).ready() after an UpdatePanel rendered its contents after an asynchronous postback.

SharePoint Document Workspaces for Developers

Office 2003 is being released this month, and a cast of supporting applications is already available. One of these is Windows SharePoint Services 2.0, the free team add-on for Windows Server 2003. If you're not familiar with SharePoint Services basics, take a look at What Developers Need to Know About Windows SharePoint Services. In this article, I'm going to drill into one key place where SharePoint and Office 2003 overlap: document workspaces

Upload a File to a SharePoint Document Library - Part I

The following helper class demonstrates a few techniques that allow documents to be uploaded to a SharePoint document library programmatically without using the API or a custom web service. You don't need to specify a document library name, and it will create any folders specified in the URL as required. File meta data will be updated if any properties are passed.

SharePoint document migration challenges when migrating files and folders

There are several challenges when migrating documents to Microsoft SharePoint. While these challenges can be overcome, they are a real pain if the migration source, content and file systems are not SharePoint friendly.

Charset Problem with dynamically generated Word Document


in my asp.net web application i am dynamically generating a word documnet out of a sql data. I have set the char set UTF-8 during the doument creation in code but still when i open the generated document and check it char set .. it is always windows-1252 not the one that i have set. My sql data in the document have special characters whihc can only be understandable using the UTF-8 charset otherwise its always ?T written in place of an apostrophy . Pasting my code here..

         HttpContext.Current.Response.ContentType = "application/msword";
         HttpContext.Current.Response.ContentEncoding = System.Text.UnicodeEncoding.UTF8;
         HttpContext.Current.Response.Charset = "utf-8";
         string strFileName = "Details" + ".doc";
        HttpContext.Current.Response.AddHeader("Content-Disposition", "inline;filename=" + strFileName);
        StringBuilder strHTMLContent = new StringBuilder();
        string strMessage = " ";
        DataView abstractview = (DataView)dsAbstract.Select(DataSourceSelectArguments.Empty);
        foreach (DataRowView row1 in abstractview)
            strMessage += "<table border='1' cellspacing='0' cellpadding='5' width

Embed word document inside excel



I am using ASP.NET and C# 2.0 and working on web application.

I want to embed a word document inside a excel sheet.

How to embed word document inside excel.

Thank you



Foundations: Versioning Workflows


Developers often struggle with versioning workflows and their related classes. Matt Milner discusses the core issues related to workflow versioning and provides recommendations for making changes to workflow definitions, activities, and workflow services.

Matthew Milner

MSDN Magazine May 2009

Office Development: Manage Metadata with Document Information Panels


Here the author uses Document Information Panels in the Microsoft 2007 Office system to manipulate metadata from Office docs for better discovery and management.

Ashish Ghoda

MSDN Magazine April 2008

Advanced Basics: Setting Word Document Properties the Office 2007 Way


The last time I wrote this column (March 2006), I shared an application that allows you to update all the Microsoft® Word documents in a folder and its subfolders. Each time the application finds a document in the specified path, it updates the document properties to match those you specified in the application.

Ken Getz

MSDN Magazine June 2006

Advanced Basics: Set Word Document Properties Programmatically


At the beginning of another lovely day of writing courseware in mad pursuit of unrealistic deadlines, I received a frantic call from a business partner. He was at the end of a long consulting project and had several hundred Microsoft® Word documents, all of which required their document properties to be set identically, except the Title property of the document, which was to be based on the document file name, minus the .

Ken Getz

MSDN Magazine March 2006

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend