|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
Use the TFSFieldMapping utility to change or customize the project mapping XML file after creating a team project. For example, you can create new work item types or modify existing ones to have new attributes.
The TFSFieldMapping command-line utility is located in <drive >\Program Files\Visual Studio8\Common7\IDE on Team Explorer client computer.
To use the TFSFieldMapping command, you must be a member of the Team Foundation Administrators or the Project Administrators security group. For more information, seeand .
URL of the server.
Name of the team project.
Name and file path of the mapping file.
Upload | download
Download or upload the field mapping file.
The steps involved in customizing the field mapping file are:
Download the field mapping file by using the TFSFieldMapping command-line utility.
Edit the field mapping file by modifying existing fields, or by adding custom fields and attributes. For more information, see
Upload the field mapping file by using the TFSFieldMapping command-line utility.
The following command instructs the TFSFieldMapping utility to download the mapping file, MappingFile.xml.
>TFSFieldMapping download http://TeamFoundationServer AdventureWorks C:\MappingFile.xml
In the above code:
http://TeamFoundationServer is the URL of the server.
AdventureWorks is the name of the team project.
C:\MappingFile.xml is the name and location of the field mapping file.