Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Alerts with items added via Event Handlers

  Asked By: Eliezer    Date: Apr 06    Category: Sharepoint    Views: 1394

We have an event handler that, when a document is added to a library,
an entry is created in a list. That list entry contains all the
metadata from the library as well as a hyperlink to the document in
the library. It also synchronizes changes to the list metadata when
the item is changed in the library and removes the list entry if the
document is deleted out of the library.

Today, I set an alert to the list, which the event handler modifies.
Even though I set up alerts to be immediate, I got no alerts.

How are alerts triggered? Are they not triggered when the lists are
manipulated through code rather than the UI?



2 Answers Found

Answer #1    Answered By: Nathanial Mcclure     Answered On: Apr 06

I haven't encountered your specific situation. However, document  library
event sink code  runs asynchronously and does not trigger other document
library events to fire. I suspect that it may not trigger list  "events"
like alerts  to fire either.

Answer #2    Answered By: Matt Prince     Answered On: Apr 06

Is there any way to make a list  "recognize" the
addition/deletion/modification via code  as if it were done through
the UI?

Didn't find what you were looking for? Find more on Alerts with items added via Event Handlers Or get search suggestion and latest updates.