index > Visual Studio Team System - General > MS Project Field Mappings

MS Project Field Mappings


Does anyone know where I could find more information about customizing the field mappings with MS Project?  The current mappings have extremely odd behavior that doesn't seem consistent, i.e. no duration can be specified apparently because it isn't mapped but % complete can be specified IF you fill in Microsoft.VSTS.Scheduling.CompletedWork and Microsoft.VSTS.Scheduling.RemainingWork (but you have to use both and if they don't match Microsoft.VSTS.Scheduling.BaselineWork it doesn't seem to matter or it provides wierd behavior, etc..)

EDIT: Also, it appears as if existing mpp refresh behavior is sometimes unaffected by the latest loaded field mapping changes i.e. setting a mapping to PublishOnly=true that wasn't previously set that way.  Only way it seems to work is if you re-generate the project file from Team Explorer which isn't a viable option since project hierarchy formatting (nor precendence information) isn't preserved on export forcing us to keep the original project file around.  This will obviously become an issue if mapping behavior changes and we have to re-export and then redo all the project hierarchy and precedence behaviors each time a change is made to the field mappings.  Is there an easier way to 'refresh' this for a project file or is this a bug?

Any info would be appreciated.




lchase4411
lchase4411

Agree, redoing the project hierachies is painful. I'm not sure why field mappings are not reflecting - could be a bug. But you can try the following:

1. Remove the field mappings completely for the field you plan to add "Publish-Only" attribute using the TFSFieldMappingTool. You will do this by:

a. Export the existing mapping file
b. Remove the entry for the field in question
c. Import the modified file back to Team Project in Question
d. Open the associated project plan file and verify if the field has been deleted

2. Add the field mapping for the same field with new attributes. Do the following:

a. Export the existing mapping file
b. Add the entry for the field in question. Make sure that entry has "Publish-Only" attribute
c. Import the modified file back to Team Project in Question
d. Open the associated project plan file and verify if "Publish-Only" is reflecting


Regarding the other problem (not able to value in Duration field) - this doesn't happen to me. Can you explain the issues in detail.

The best place to look for the documentation is extensibility kit only.

Cheers

Sanjay

SanjayNarang
For the duration thing I figured it out and commented on another post I had. http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=462829&SiteID=1


lchase4411
lchase4411

I found this problem listed else where on the Microsoft net with the subject,

Work values for tasks do not import correctly from an Excel workbook to a Microsoft Project project

Sajit
reply 4

You can use google to search for other answers

 

More Articles

Keyword Expansion in Team Systems Version Control
Connecting to Foundation Server across domains
Installation Problem!!! Help
Where to post questions/comments about...
News Groups
MSDN Library
Configuration Manager not visible in IDE
Visual Studio 2005 Team Suite Release on MSDN Subscriber Download...
Which version for Business Analysts and Project Managers?
Check-In errors out with MSSCCI Provider
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

Business rules using Visual Team System:
VSTS, .Net 1.1 and VS.Net 2003 Support?
In which database is the items from Shar…
Installing on Virtual PC
combine team editions
Visual Studio 2005 (.NET 2.0) supports S…
Recommendations on approach with current…
"sgen.exe" exited with code 1
Crystal Reports and a Stored procedure w…
Implementing MS Team System in place of …
VSTS 2005 release
Creating a solution in a TeamProject, how?
Access to the VSTS Hosted demos
Will VSTS Foundation Server ship when VS…
Team System Beta 2 Install error

Hot Articles

Is this released yet?
Initialization for plugin "Microsof…
Source Control and VSTS
VS2005 Team System Beta 2 VPC - Login Fa…
Slightly annoying Code Analysis/FxCop is…
VS TFS and VS SDK
Multi-monitor Visual Studio 2005 bug?
How to register VSTS newsgroups in Outlo…
Team Suite Trial Edition (Beta 3 Refresh)
Disconnected source control
What happens when the trial expires? Whe…
Confused about licensing
How many developers are licensed to use …
how to use microsoft.visualbasic dll ver…
Does Visual Studio Team System support W…

Recommend Articles

Deployment Items not working
Migrating from .net 1.1 to 2.0 with VSTS
Why the guidelines ask set all the task …
Question Before Evaluating VSTS
Can not unsuscribe with BisSubcribe.exe
devenv.com broken in beta 2?
Is Team System just for .NET developers?
Team system for smal Team
Will VSTS Profiler work in .net 1.1?
Microsoft Partner Program License Benefi…
Tasks do not show up in Window SharePoin…
MSDN Library
Creating new code project should open so…
Re-tagging on save in VS
Problem capturing events from TFS (using…