Udostępnij za pośrednictwem


How to: Download or Upload a Microsoft Project Field Mapping File

The TFSFieldMapping utility is used to download or upload Microsoft Project mapping files. The following procedures demonstrate how to use the TFSFieldMapping utility to download and upload mapping files.

For reference information about the TFSFieldMapping utility, see TFSFieldMapping.

Required Permissions

To perform these procedures, you must be a member of the Project Administrators group or have the Edit project-level information and 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 a mapping file

  1. Open a Command Prompt window.

  2. Open the folder where Visual Studio is installed (for example, drive:\Program Files\Microsoft Visual Studio 9.0), and in that folder, locate \Common 7\IDE.

    The TFSFieldMapping.exe utility program is in this folder.

  3. Download the mapping file by using the TFSFieldMapping.exe utility by typing the following at the command prompt:

    TFSFieldMapping download Team_Foundation_Serverteam_projectMappingFile.xml

    Where:

    Team_Foundation_Server is the computer name of your Team Foundation Server.

    team_project is the name of your team project.

    MappingFile.xml is the file name and location where the mapping file will be downloaded.

To upload a mapping file

  1. Open a Command Prompt window.

  2. Open the folder where Visual Studio is installed (for example, drive:\Program Files\Microsoft Visual Studio 9.0), and in that folder, locate \Common 7\IDE.

    The TFSFieldMapping.exe utility program is in this folder.

  3. Upload the mapping file by using the TFSFieldMapping.exe utility by typing the following at the command prompt:

    TFSFieldMapping uploadTeam_Foundation_Serverteam_projectMappingFile.xml

    Where:

    Team_Foundation_Server is the computer name of your Team Foundation Server.

    team_project is the name of your team project.

    MappingFile.xml is the file name and location from where the mapping file will be uploaded.

See Also

Concepts

Tracking Team Projects in Microsoft Excel and Microsoft Project

Reference

TFSFieldMapping

Field Mappings in Microsoft Project

Other Resources

Customizing Microsoft Project Field Mappings