How to customize the project portal creation?
One of the many things I wanted to do during my investigation of Team System is to try to modify the default look and feel of the team system project portal website. At info support we have such a project portal for a long time already and we want to have all the information we gather from our build and test process in place right from the start. Today I ran into a great posting by David Chesnut(MSFT) who explained how you can change the template that is used by team system during the setup of the project when you run the project creation wizard. This is just where I was looking for, so I just decided to copy the code from his post to let you all into this great piece of simplicity and extensibility build into team system.
On the Team Foundation server, open a command prompt window.
2. At the command prompt, change to the Program FilesCommon FilesMicrosoft Sharedweb server extensions60bin directory.
3. Type the following command to add the custom site template to Team Foundation Server.
stsadm -o addtemplate -filename <custom site template filename>.stp -title <site template title>
4. Type iisreset and press Enter. IIS must be restarted so that the added site template is available.
Next, modify the process template XML using the following steps:
1. On the Team Foundation server, open a command prompt window.
2. At the command prompt, change to the Program FilesCommon FilesMicrosoft Sharedweb server extensions60bin directory.
3. Type stsadm -o enumtemplates and press Enter. The available site templates are listed. This information is needed to construct the appropriate process template XML. For example, if you added a site template named ExCustom you would see the following output:
ExCustom – Language: 1033 – Site Template: _GLOBAL_#1 – Template Id: 1
Note The template Id may be different depending on how many site templates are on the server.
4. In the process template, edit WSSTask.xml.
· Find the site element, and change the template attribute to match the site template name you retrieved in step 3. The following XML shows an example of the site element for the ExCustom example template.
<site template=”_GLOBAL_#1″ language=”1033″/>
5. Import the updated process template.
See the original thread in the forums.
http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=17594