Tuesday, January 24, 2012

TFS: Change MS Project Field mapping

One of the nice features of TFS is it’s integration with MS Project. However I always forget how to update the Field Mapping between MS Project and TFS.

So as a quick reminder:

1. Download the MS Project field mapping file from TFS:

C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE>tfsfieldmapping download /collection:”http://serverName:8080/tfs/collectionname” /teamproject:”teamprojectname” /mappingfile:”c:\fieldmapping.xml”

2. Update and save fieldmapping.xml

3. Upload the MS Project field mapping file to TFS:

C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE>tfsfieldmapping upload /collection:”http://serverName:8080/tfs/collectionname” /teamproject:”teamprojectname” /mappingfile:”c:\fieldmapping.xml”

3 comments:

quyetx said...
This comment has been removed by the author.
quyetx said...

Is this only managed on a project by project basis, or can you manage it on a collection basis?

Bart Wullems said...

It is management on a project by project basis. If you want to update this for all your (new)projects, you'll have to modify the process template.