Change Project Start Date with PSI RRS feed

  • Question

  • hello forum members,

    does anyone knows how to change a project start date on its creation with PSI?

    or does a project needs to be updated to change a start date?

    I tried this, but it may not updating the correct field  because after the code runs, I still see the start date as the date i run the code.

     DateTime projectStartDate = Convert.ToDateTime("8/29/2010");

      using (OperationContextScope ocs = new OperationContextScope(projectClient.InnerChannel))
                        //check out the project
                        projectClient.CheckOutProject(projectUids, sessionId, SESSION_DESCRIPTION);

           SvcProject.ProjectDataSet projectds = projectClient.ReadProject(projectUids, SvcProject.DataStoreEnum.WorkingStore);
                        projectds.Project[0].PROJ_INFO_START_DATE = projectStartDate;

                        projectClient.QueueUpdateProject(jobId, sessionId, projectds, false);

                        //check the project back in
                        projectClient.QueueCheckInProject(jobId, projectUids, false, sessionId,                         SESSION_DESCRIPTION);



    Thursday, August 28, 2014 6:39 PM


  • Hello, see http://project-server-optimization.blogspot.co.uk/2008/04/change-project-start-date-once-its.html & http://project-server-optimization.blogspot.co.uk/2008/04/create-new-project-from-template.html. Paul

    Paul Mather | Twitter | http://pwmather.wordpress.com | CPS

    • Marked as answer by tatiana obrien Thursday, August 28, 2014 10:23 PM
    Thursday, August 28, 2014 9:54 PM