Răspuns Event Receiver and Client Object Model Problem

  • 13 Maret 2012 18:12
     
     

    I have an Event Receiver attached to ListA and I am updating ListA via the Client Object Model.

    I want to prevent the Event Receiver from firing on my COM updates. Is there an EnableEventsFiring method in the Client Object Model like there is in the Server Object Model? I can't seem to find information on this.

    Thanks.

Semua Balasan

  • 13 Maret 2012 18:48
     
     Jawab

    No way to do this from Client Object Model. But you can add a column to a list like IsUpdatedFromCOM and check this column from Event Receiver.


    Oleg

  • 13 Maret 2012 21:44
     
     
    Yes this is exactly what did. Thanks for the confirmation it was a good idea. :)