Download or Upload a Microsoft Project Field Mapping File
In order to make changes to the Microsoft Project field mapping file, you must first download it from the server where your team project is defined. You use the TFSFieldMapping command to download or upload the Microsoft Project field mapping file for your team project. For more information, see TFSFieldMapping.
Required Permissions
To perform these procedures, you must be a member of the Project Administrators group or have your Edit project-level information and your View Project-level information permissions set to Allow. Additionally, you must have permissions to create the mapping file in the local path that you specify. For more information, see Team Foundation Server Permissions.
To download the mapping file for a team project
Open a Command Prompt window, and change to the following directory:
Drive:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE
Download the mapping file by typing the following command at the command prompt:
**TFSFieldMapping download /collection:**CollectionURL **/teamproject:**TeamProject **/mappingfile:**MappingFile
Where:
CollectionURL is the URI of the team project collection where the team project is defined.
TeamProject is the name of your team project.
MappingFile is the file name and location where the mapping file will be downloaded.
Note
If a name contains spaces, enclose the name in quotes.
To upload the mapping file for a team project
Open a Command Prompt window and change to the following directory:
Drive:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE
Upload the mapping file by typing the following command at the command prompt:
TFSFieldMapping upload **/collection:**CollectionURL **/teamproject:**TeamProject **/mappingfile:**MappingFile
Where:
CollectionURL is the URI of the team project collection where the team project is defined.
TeamProject is the name of your team project.
MappingFile is the file name and location from where the mapping file will be uploaded.
See Also
Reference
Field Mappings in Microsoft Project
Concepts
Customizing Microsoft Project Field Mappings