How to provision a new team project with versioning for all document libraries  
Author Message
punchycool





PostPosted: Team Foundation Server - Process Templates, How to provision a new team project with versioning for all document libraries Top

When I lay down a new project using the MSF for Agile 4.0 schema (only one I use by the way), the project gets setup. Each of the document libraries like Development, Requirements, etc by default are setup without versioning enabled.

I want to be able to provision a new site, and have all of these libraries setup with the versioning checkbox selected to YES.

Right now, you see, I must go to the Project Portal, and access each document library that the team wants to use for versioning docs, and set the flag to YES for "Document Versioning" in the 'Change General Settings' screen.

In summary, is there a config change that I can apply on the backend that will make versioning "on" by default for all document libraries when I provision a new project

Thanks,

-Paul



Visual Studio Team System6  
 
 
Matthew Mitrik MSFT





PostPosted: Team Foundation Server - Process Templates, How to provision a new team project with versioning for all document libraries Top

Hi Paul,

Have you been able to find a solution for this issue If not, please let me know and I'll find someone to help.

Thanks,
-Matt



 
 
SanjayNarang





PostPosted: Team Foundation Server - Process Templates, How to provision a new team project with versioning for all document libraries Top

As far as i know, there is no tag for specifying that. We specify doc libraries in Process Template as given below:

<documentLibraries>
<documentLibrary name="Development"
description=" Documents for the development team "/>
</documentLibraries>

There is no attribute for versioning (Though I'm saying it from documention, I haven't tried). So PCW would take the default settings in WSS to create a doc library. Because default settings would be "no" versioning, it is creating libraries in that way.

If you can set that the default configuration of all new doc libraries should be versioning enabled (need to check WSS docs to verify if that is possible), you should get what you want. However, you would have to configure your Process Template to use custom site template (that would have the new configuration). The procedure for that is given in the Process Templates authoring guide.

HTH
Sanjay
www.sanjaynarang.wordpress.com


 
 
punchycool





PostPosted: Team Foundation Server - Process Templates, How to provision a new team project with versioning for all document libraries Top

I'll have to locate that template authoring guide...I suppose this is in the help files

I do appreciate the help, and no, I have not found a solution for this yet.

Regards,

-Paul


 
 
Michael Ruminer





PostPosted: Team Foundation Server - Process Templates, How to provision a new team project with versioning for all document libraries Top

Yes. The template that it utilized for SharePoint site creation has a mechanism to turn versioning on for document libraries. Setting it at the root level for WSS won't help (I tried) since you override it's settings with a custom team system related SharePoint Site template. I had found the value to set in the template and config file and now will need to find it again. Hopefully it is in my bookmarks or flagged in my notes.