Reading Task Field Unique Id through PSI
-
Monday, June 21, 2010 4:09 PM
Hi,
is possible to retrieve the Unique ID Task Field (Integer) through PSI. According to the documentation only the TASK_UID (GUID) is availalable through PSI:
Thanks for any adviceAdrian
All Replies
-
Tuesday, June 22, 2010 2:12 AM
Within the projectdataset class there is both TASK_ID (int32) and TASK_UID (guid)
TASK_ID http://msdn.microsoft.com/en-us/library/websvcproject.projectdataset.taskrow.task_id.aspx
TASK_UID http://msdn.microsoft.com/en-us/library/websvcproject.projectdataset.taskrow.task_uid.aspx
Now if you figure out how to get Task_UID for a task selected in the JSGrid in Schedule/ProjectDrillDown/Project Detail page, I'd be eternally grateful
-
Thursday, June 24, 2010 7:27 AM
Hi,
I'm explicitly not looking for teh TASK_ID and TASK_UID (GUID). I'd like to retrieve the Task Unique ID (Integer).
Any thoughts?
Thanks,
Adrian
-
Thursday, June 24, 2010 11:30 AM
Hi,
You can retrieve the Task Unique ID (GUID) with this call:
Guid
uniqueID= new Guid(Microsoft.Office.Project.Server.Library.EntityCollection.Entities.TaskEntity.UniqueId.ToString());
You will probably retrieve the Integer ID with the property:
Microsoft.Office.Project.Server.Library.EntityCollection.Entities.TaskEntity.UniqueIdProperty
Hopes this help,
Jorge
[ The ultimate for Project Server 2007 || http://www.projecttimesheet.com/about-en.php ]
- Proposed As Answer by Jorge.Flor Tuesday, June 29, 2010 2:46 PM
-
Friday, June 25, 2010 10:02 AM
yes Task_UID is available in PSI, the filed your looking is only available in Microsoft Office Project 2007.
Abhishek Jangid- Marked As Answer by Brian Smith - MSFTMicrosoft Employee, Moderator Thursday, July 01, 2010 10:27 PM