新随笔  :: 联系 :: 订阅 订阅  :: 管理

Hello.  My name is Albert Meerscheidt and I’m one of the Programming Writers on the Windows SharePoint Services SDK team.

In the coming months I will be posting about the content that’s on the publishing horizon.  The first topic that I'd like to discuss is how to customize alert notifications and alert templates in Windows SharePoint Services 3.0. The following is a somewhat abridged version of what you will see in the upcoming SDK update.

   Overview

Alerts are an e-mail subscription notification service in Windows SharePoint Services 3.0. Users can create alerts to be notified of changes to list items (item level alert), documents, lists (list level alert), or document libraries. Alerts in Windows SharePoint Services 3.0 are quite flexible; when you create an alert you have options such as when to be notified and what kind of changes will trigger the alert. Alerts can be managed by users and administrators and customized by developers.

After an alert has been created, changes that fit the criteria specified in the alert are recorded in an event log. Alerts are generated by a timer job that reads the event log, formats the alert email using an alert template, and then sends that email out to the user.

Alert templates are stored in Alerttemplates.xml. Alerttemplates.xml defines the format, contents, and properties used to create alert messages from each list type in Windows SharePoint Services 3.0.Developers can customize alerts by modifying a copy of Alerttemplates.xml and then loading the customized alert templates using the stsadm -o updatealerttemplates command.

Note   Do not modify Alerttemplates.xml itself. Doing so may result in loss of functionality when upgrading or installing service packs.

The <filters> element in each template allows you to create custom triggers for events by using Collaborative Application Markup Language (CAML) queries.

The default timer interval can be changed to adjust the latency of 'immediate' alerts.

 

http://blogs.msdn.com/b/sharepointdeveloperdocs/archive/2007/12/07/customizing-alert-notifications-and-alert-templates-in-windows-sharepoint-services-3-0.aspx
类别:默认分类 查看评论