How to Include Sharepoint Version Control As a Rule

Set your templates to create version controlled libraries on your own., Open SCHEMA.XML in your editor., Add VersioningEnabled="TRUE" between the basetype data and the line close., Go to your sps server, open C:\Program Files\Common Files\Microsoft...

6 Steps 1 min read Medium

Step-by-Step Guide

  1. Step 1: Set your templates to create version controlled libraries on your own.

    There are two types of templates, the default and your custom.

    Creating a custom site template will be addressed later.

    Just know that you need to have it enabled when you save a site as a template.

    For your default templates that you can create out of the box, you need to get into the site definition files.

    For this example, go into local drive:\Program Files\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE\1033\STS\LISTS\DOCLIB, but remember you need to do this in the other doclib folders in
    1033.
  2. Step 2: Open SCHEMA.XML in your editor.

    The first four lines of code are: <?xml version="1.0" encoding="utf-8" ?> <!-- _lcid="1033" _version="11.0.6451" _dal="1"
    --><!-- _LocalBinding
    --> <List xmlns:ows="Microsoft SharePoint" Name="Documents" Title="Shared Documents" Direction="0" Url="Shared Documents" BaseType="1">

    Now all the sites you create will come with shared documents version controlled.

    But what about when you create a new document library in an existing site.

    Well, there is an answer for that too. ,, <TD class="ms-authoringcontrols" nowrap> <input tabindex=1 id=onetidVersioningEnabledYes type="radio" tabindex="1" value="TRUE" <strong>checked</strong> Name="VersioningEnabled" title="Create a version each time you edit a file in this document library:
    Yes"> <LABEL FOR="onetidVersioningEnabledYes">Yes</LABEL> </td> <TD class="ms-authoringcontrols" nowrap> <input tabindex=1 id=onetidVersioningEnabledNo type="radio" tabindex="1" value="FALSE" Name="VersioningEnabled" title="Create a version each time you edit a file in this document library:
    No"> <LABEL FOR="onetidVersioningEnabledNo">No</LABEL></td>
  3. Step 3: Add VersioningEnabled="TRUE" between the basetype data and the line close.

  4. Step 4: Go to your sps server

  5. Step 5: open C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE\LAYOUTS\1033\new.aspx and find the code below: <TD class="ms-authoringcontrols" nowrap> <input tabindex=1 id=onetidVersioningEnabledYes type="radio" tabindex="1" value="TRUE" Name="VersioningEnabled" title="Create a version each time you edit a file in this document library: Yes"> <LABEL FOR="onetidVersioningEnabledYes">Yes</LABEL> </td> <TD class="ms-authoringcontrols" nowrap><input tabindex=1 id=onetidVersioningEnabledNo type="radio" tabindex="1" value="FALSE" <strong>checked </strong> Name="VersioningEnabled" title="Create a version each time you edit a file in this document library: No"> <LABEL FOR="onetidVersioningEnabledNo">No</LABEL> </td>

  6. Step 6: Change this code to (note where the word "checked" appears).

Detailed Guide

There are two types of templates, the default and your custom.

Creating a custom site template will be addressed later.

Just know that you need to have it enabled when you save a site as a template.

For your default templates that you can create out of the box, you need to get into the site definition files.

For this example, go into local drive:\Program Files\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE\1033\STS\LISTS\DOCLIB, but remember you need to do this in the other doclib folders in
1033.

The first four lines of code are: <?xml version="1.0" encoding="utf-8" ?> <!-- _lcid="1033" _version="11.0.6451" _dal="1"
--><!-- _LocalBinding
--> <List xmlns:ows="Microsoft SharePoint" Name="Documents" Title="Shared Documents" Direction="0" Url="Shared Documents" BaseType="1">

Now all the sites you create will come with shared documents version controlled.

But what about when you create a new document library in an existing site.

Well, there is an answer for that too. ,, <TD class="ms-authoringcontrols" nowrap> <input tabindex=1 id=onetidVersioningEnabledYes type="radio" tabindex="1" value="TRUE" <strong>checked</strong> Name="VersioningEnabled" title="Create a version each time you edit a file in this document library:
Yes"> <LABEL FOR="onetidVersioningEnabledYes">Yes</LABEL> </td> <TD class="ms-authoringcontrols" nowrap> <input tabindex=1 id=onetidVersioningEnabledNo type="radio" tabindex="1" value="FALSE" Name="VersioningEnabled" title="Create a version each time you edit a file in this document library:
No"> <LABEL FOR="onetidVersioningEnabledNo">No</LABEL></td>

About the Author

A

Alice Ruiz

Dedicated to helping readers learn new skills in lifestyle and beyond.

59 articles
View all articles

Rate This Guide

--
Loading...
5
0
4
0
3
0
2
0
1
0

How helpful was this guide? Click to rate: