I have the following scenario in my SharePoint 2007 project. I have timer job definition which each 30 minutes updates SharePoint list from the SQL database table.
I also have added item event handler for my list, so it does not allow users to add new items to the list from SharePoint user interface. In other words, new list items can be added only in timer job definition via SharePoint object model and it should not allow to add new item from UI.
My problem is - Event handler is being executed even when it adds new item from timer job definition, can i somehow check in event handler how the item has been added(via object model or via user interface).
Many Thanks, Hrayr