项目需要,研究了一下WSS的Alert定制。 定制有两种方法: (方法1)修改模板文件 默认模板是12TEMPLATEXMLalerttemplates.xml,将这个模板复制一份修改,然后用stsadm命令添加模板: STSADM -o updatealerttemplates -url <http://urlname> -filename <your working copy filename>. (方法2)写一个类,实现IAlertNotifyHandler接口,然后将这个类的实现配置到自定义的Alert模板中.同样需要用stsadm添加模板. 第一种方法好处是不 Read More
posted @ 2012-11-25 15:44 刘礼 Views(133) Comments(0) Diggs(0)
In my post last week I talked about customizing alert notifications and alert templates. Sometimes you need to go further and create an alert handler. This week I’d like to share a code sample from Rashid Aga, one of our escalation engineers. His sample demonstrates how to intercept and modify alert Read More
posted @ 2012-11-25 15:42 刘礼 Views(186) Comments(0) Diggs(0)
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 Read More
posted @ 2012-11-25 15:40 刘礼 Views(610) Comments(0) Diggs(0)
Moss自帶的發郵件通知(提酲我)功能往往達不到客戶想要的效果,下面我將介紹一下怎麼樣自定義這個通知(提酲我)的郵件內容。1. 先了解通知(提酲我)的基本知識a. 通知(提酲我)是由WSS的定時執行程式(Windows SharePoint Services Timer)來定時發郵件提醒的,在這之前請確保這個服務已經啟用,如果啟用了可以在工作管理員下的處理程序中看到有一個OWSTIMER.EXE的進程b. 所發送通知(提酲我)的主旨與內容格式默認是在12"TEMPLATE"XML"alerttemplates.xml文件中定義的(註:此文件是不可以修改的)c. a Read More
posted @ 2012-11-25 15:33 刘礼 Views(219) Comments(0) Diggs(0)