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
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
- Disarankan sebagai Jawaban oleh Anders Runge [Denmark] 13 Maret 2012 20:23
- Ditandai sebagai Jawaban oleh Shimin Huang 23 Maret 2012 6:32
-
13 Maret 2012 21:44Yes this is exactly what did. Thanks for the confirmation it was a good idea. :)