PROJ_INFO_START_DATE issues

  • Thread starter J.A. García Barceló
  • Start date

J

J.A. García Barceló

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.
 
Ad

Advertisements

M

Mike Glen

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top