Hits

Mar 3, 2010

Editing TFS Templates

If the out-of-box TFS templates are not sufficient for your needs, it is possible to extend it by creating custom columns and laying them out in your forms.

Here is a list of steps to follow:

To Export an Existing Template

"C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\witadmin" exportwitd /collection:[Address to TFS url] /p:"[Project Name]" /f:[Filepath]\template.xml /n:[Template name for ex:
[User Story]


To Import Your Template into TFS

"C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\witadmin" importwitd /collection:[Address to TFS url] /p:"[Project Name]" /f:[Filepath]\Template.xml
To Validate Your Template
"C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\witadmin" importwitd /collection:[Address to TFS url] /p:"[Project Name]" /f:[Filepath]\Template.xml /v


Delete a Field

witadmin deletefield /collection:[Address to TFS url] /n:[Name of field to delete]


Overview of Template Structure
Creating a field
Laying out the field

0 comments:

Post a Comment

I always welcome feedback from my readers.