what is the suitable Server Event Handler to read custom project fields ?? RRS feed

  • Question

  • Hi All,

    I added a new event handler to the project on publishing event to read custom project fields but i recieve a job cancelled on server when i try to publish.
    So, my question is: what's the suitable Server Side Event Handler to read custom project fields and access project site lists as well ?

    Any ideas ...


    Regards, Mohamed Abdel Ghaffar |
    Wednesday, March 2, 2011 1:32 PM


All replies

  • Hi Mohamed, it sounds like the error in you event handler is causing the cancellation so debugging that should be your first job.  As to the question of which event handler is right - it depends what you end goal is.  Also you may not have access to all the items you need within the event - but you can make extra PSI calls to get what you need.

    Best regards,


    Blog | Facebook | Twitter | Posting is provided "AS IS" with no warranties, and confers no rights.
    Project Server TechCenter | Project Developer Center | Project Server Help | Project Product Page
    Friday, March 4, 2011 5:15 PM
  • Hi Brian,

    Thanks for your help. I debugged the event handler and solved the issue. regarding the right event handler, I still use OnPublishing with handling all exceptions

    Best Regards,

    Regards, Mohamed Abdel Ghaffar |
    Sunday, March 6, 2011 9:36 AM
  • I have requirement where I need to perfrom few checks when a task is added/deleted/updated in MPP or PWA. But none of the events (OnUpdating,OnActivityupgrading,OnUpdatingScheduledProject,

    OnEntitiesDeleting) are fired in my code.

    Any idea what the problem could be?

    FYI, I am using Project Server 2016.




    Wednesday, May 9, 2018 5:46 AM