none
How to programmatically update Project priority using PSI RRS feed

All replies

  • Hi Andrew !

    Are you looping through all project tasks ?


    Vadim Gerya, PMP

    Monday, March 5, 2012 3:13 PM
  • I dont think you can update the Project Summary task in this same way. you are calling a method that updates a task and that works great if you are working with individual tasks. If you want to update the Project summary task priority you need to update the Project instead of a task.

    Brian Kennemer – DeltaBahn Senior Architect
    endlessly obsessing about Project Server…so that you don’t have to.
    Blog | Twitter | LinkedIn

    Monday, March 5, 2012 4:35 PM
    Moderator
  • Hi Brian & all,

    Task Priority field is editable using the MS project (0-1000) & based on the values, project pro scheduling engine algorithems does calculations of resource levelling/spliting tasks etc.  If you see the following article: http://msdn.microsoft.com/en-us/library/ee767706.aspx
    Though It's clearly mentioned in PSI limitaions sections that "You can edit only the following fields on summary tasks: " (TAsk priority can be modifeid using PSI)

    But it seems that if you use PSI, It throws the TaskCannotModifyProjectSummary, may be there is something missing either in code or documentation.


    Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82

    Tuesday, March 6, 2012 7:02 AM
  • Amit,

    For sure you can edit these fields on summary tasks via the PSI. But the error suggests that Andrew is attempting to edit the Project Summary task, which is not a normal summary task. Editing the priority on the Project Summary task is really editing the priority of the Project itself, which should likely be done with a Project PSI method, rather than a Task PSI method.


    Brian Kennemer – DeltaBahn Senior Architect
    endlessly obsessing about Project Server…so that you don’t have to.
    Blog | Twitter | LinkedIn

    Tuesday, March 6, 2012 7:19 AM
    Moderator
  • My reading of the PSI docs suggests that there is not a way to set the project level priorty field using the PSI. However, Im not a big time PSI guy so I could be wrong.

    Brian Kennemer – DeltaBahn Senior Architect
    endlessly obsessing about Project Server…so that you don’t have to.
    Blog | Twitter | LinkedIn

    Tuesday, March 6, 2012 7:32 AM
    Moderator
  • Agreed, Brian.

    We cannot modify the Project Summary task's priority but normal summary task's priority can be modifed using the PSI code. But the article says "For the project summary task, the PSI limitations are the same as for Project Professional". From MS project, we can modify the project summary task's Priority.


    Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82

    Tuesday, March 6, 2012 9:11 AM