This project is read-only.

How to disbale slam update even firing

Feb 15, 2013 at 7:14 PM
I am updating item from time job, but I don't want slam to fire up its update even recievers.
Another way, I want to disable slam even firing while updaing item from timer job
Feb 15, 2013 at 7:29 PM
Slam has a EventUtility class that has methods for disable event receivers. If you have a custom timer job then you can disable event receivers before doing the update. That would affect all event receivers though. There is not a way to selectively disable the firing of event receivers.

A timer job is likely not to have access to the slam.config though since it is running in 14/bin context though, so you should really just see errors logged in the slam messagelog about its inability to find a config file.