none
Access to TASK_WINPROJ_UNIQUE_ID RRS feed

  • Question

  • I am loading a project through PSI.  I also start up the MSP client so that I can perform some automation on those tasks.  I've found that the UID between what I receive from Project Server and the Task UID do not necessarily match, particularly when the project contains links to other projects.  Upon a little snooping, I did determine that there is a field in the database named TASK_WINPROJ_UNIQUE_ID that seems to correspond to the GUID in the MSP client.  This would allow me to reliably map tasks between what is loaded from Project Server to the client.

    However, there does not appear to be a way to access this field (except for directly from the database).  Can anyone help? 

    Monday, June 6, 2011 9:00 PM

All replies

  • Just a ref:

    http://msdn.microsoft.com/en-us/library/ff864503.aspx

    Are you using "Microsoft.Office.Interop.MSProject.Project"  if yes, Try using task.uniqueid which be same as TASK_WINPROJ_UNIQUE_ID.


    Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82
    Tuesday, June 7, 2011 5:50 AM
  • TASK_WINPROJ_UNIQUE_ID doesn't seem to be available through PSI, but why don't you use the task GUID? You can add it as a column in Project Pro, it's the field is available with the name "GUID"
    Wednesday, June 8, 2011 2:57 AM
  • It is the same until there are linked projects, then the unique IDs seem to deviate.  I don't know why.
    Thursday, June 9, 2011 7:18 PM
  • I don't have permission to modify the project file.
    Thursday, June 9, 2011 7:19 PM
  • I've tried a number of things and still have not been successful.  Does anyone have any ideas on how I can escalate or get someone's attention at Microsoft? I'm an MSDN Premium subscriber.  Is the next best step to open a support case with Microsoft?
    Monday, June 27, 2011 12:23 PM