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

    Pertanyaan

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

    Thanks


    Regards, Mohamed Abdel Ghaffar | http://sharepointfoundation2010.blogspot.com
    02 Maret 2011 13:32

Jawaban

Semua Balasan

  • 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,

    Brian.


    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
    04 Maret 2011 17:15
    Pemilik
  • 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 | http://sharepointfoundation2010.blogspot.com
    06 Maret 2011 9:36
  • 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.

    Regards

    Agasthya


    agasthya

    09 Mei 2018 5:46