In my previous post on how to customise Alerts, we could see how to change the html of an alert. In this post, I will show how to change the filter for an alert, which defines the conditions in which events cause and alert to trigger and an email sent.
Say for example we have a list with a field called “Assigned To”, and we want know when someone (other than yourself) changes the assignment on that list item.
If we open the custom alert XML file we created in the 12 Hive at C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\XML\alerttemplates.xml, and search for our customised AlertTemplate node, we will find a section called Filters. Inside that node is a few different default FilterDefinitions, which specify the conditions for an alert to fire. Read the rest of this entry »