Re: PROJ_INFO_START_DATE issues
- From: "Mike Glen" <glenATmvps.org>
- Date: Tue, 13 Nov 2007 09:17:39 -0000
Hi ,
Try posting on the server or developer newsgroup as this one is closing
down. Please see FAQ Item: 24. Project Newsgroups. FAQs, companion products
and other useful Project information can be seen at this web
address:http://project.mvps.org/faqs.htm .
Mike Glen
Project MVP
J.A. García Barceló wrote:
Is there any way to update PROJ_INFO_START_DATE from
ProjectWebSvc.ProjectDataSet.ProjectRow class (Project Server 2007,
custom app done in C# using PSI) once the project is already
published?
According to
http://msdn2.microsoft.com/en-us/library/websvcproject.projectdataset.projectrow.proj_info_start_date.aspx
this property is readable/writable but I cannot manage to update it
in my sample project, once it has tasks defined and published.
However, it can be done through Project Professional 2007 and all
tasks are moved along to the new starting date correctly.
All samples that I have found that use PROJ_INFO_START_DATE set it
during the definition of the project (new project) but my case is
that I need to update it once the project is already defined and
published.
[C#]
...
projectRow.PROJ_INFO_START_DATE = newDate;
projectRow.AcceptChanges();
projectSvc.QueueUpdateProject(jobId, sessionId, dsProject, false);
WaitForQueue(q, jobId);
// This piece of code does not throw any exception but does not seem
to update anything either
// When the project is reopened using Project Professional, it still
has the old date
jobId = Guid.NewGuid();
projectSvc.QueuePublish(jobId, projectUid, false, String.Empty);
WaitForQueue(q, jobId);
// I have also tried to republish the project after the update, but
it makes no difference
// The start date is still the old one
Any ideas? Thanks in advance and regards.
.
- References:
- PROJ_INFO_START_DATE issues
- From: J . A . García Barceló
- PROJ_INFO_START_DATE issues
- Prev by Date: Re: Project Server 2007 - View Assignments blank for some Resources
- Next by Date: Lost Admin Password
- Previous by thread: PROJ_INFO_START_DATE issues
- Next by thread: Lost Admin Password
- Index(es):
Relevant Pages
|