StatusingEventReceiver Method When Approving Tasks RRS feed

  • Question

  • I am trying to write some custom code when the project manager approves the tasks from a user.

    It looks like I have to override OnApprovalsUpdated(), but there is not much documentation on how to get at the details of what is approved.

    There is StatusUpdateApprovalsPostEventArgs.StatusApprovals, but i cannot seem to access the array details:


    Error 1 Cannot apply indexing with [] to an expression of type 'Microsoft.Office.Project.Server.Schema.StatusApprovalDataSet'


    Does anybody have any examples at how to get to the tasks that were approved by the PM?



    Monday, December 6, 2010 9:08 PM