Customize WSS Alert template

Customize WSS Alert template

There are two way to customize wss alert template
(1) Modify the template file
the default template file is 12\TEMPLATE\XML\alerttemplates.xml. it's a CAML file. You can rewrite it and use stsadm to deploy it
STSADM -o updatealerttemplates -url -filename
(2) Using a class inherit for interface IAlertNotifyHandler. Put the implement of this class into custom alert template file, and then you can use stsadm to deploy it

The advantage of the first method is can to need deal with alert logic(it is implemented by SharePoint), but the CAML is very complex, and you can't edit complex logic.
The second method is very agility, but some feature of the alert template will lost(such as the email which alerts modified item can display which words were changed, which words were newly added.)

This paragraph written by WSS SDK group will give you a a minute description about this topic
http://blogs.msdn.com/sharepointdeveloperdocs/archive/2007/12/07/customizing-alert-notifications-and-alert-templates-in-windows-sharepoint-services-3-0.aspx



Instead of stsadm, you can also use code to deploy alert template, like this:

string templateName="customTemplate1";
// Get the template of the web server
SPAlertTemplateCollection ats = new SPAlertTemplateCollection((SPWebService)( base.GetCurrentSPSite().WebApplication.Parent));

//add or modify the template
SPAlertTemplate t = ats[templateName];

if( t == null )
t = ats.Add();

t.Name = templateName;
t.Xml = xmlDoc.InnerXml;

t.Update();

// Set the alert template for each list separately
SPList list = someList ;
list.AlertTemplate = ats[templateName];
list.ParentWeb.AllowUnsafeUpdates = true;
list.Update();

SharePoint password change web part

A corporation with hundreds of AD accounts, each one has its own password. After their passwords expired, when a domain policy applied, they need change passwords. Most of those users will access SharePoint Site from remote place, it is impossible for them to come to IT office to change passwords. How can they do this? Perhaps some guys will go to IIS to tinker with some setting. But it cannot be done.

SharePoint Password Change can easily solve this problem. After installing SharePoint password change, users can change password on the welcome menu or by adding a password change web part. It also allows users to be notified by an email before their password expires. With SharePoint Password Change, users can freely change their passwords without the intervention of administrator, thus the IT staff can avoid tedious task to change password for everyone.

An instruction to SharePoint list filter favorites

SharePointBoost has just released a list filter product called SharePoint List Filter Favorites. It is a small however useful tool for users to keep favorite filters in order to avoid creating filters every time when needed.
Its main features are as following:
Filter SharePoint columns as needed;
Add filter views to filter favorites menu;
Organize filters filters in the menu freely.
Have a quick look at video instruction:

a powerful SharePoint Alert tool--SharePoint Alert Reminder

SharePoint Alert provides Email-alert function but cannot fully meet users’ demands. SharePoint Alert Boost greatly extends default SharePoint Alert function and make the application of Alert more convenient. The new features are as follows:

1. Set alert conditions;
2. Customize email content;
3. Insert the columns into the alerts
4. Send email to non-SharePoint users or groups
5. Send email to the task-related users
6. Send item attachment as email attachment

Now, let’s turn to the following sample:
Director Henry assigned Tom a task for which the due date is 15th July. Meanwhile, a copy of description document is added to task item. When the task is completed, Henry would have a check. Email notification will be sent to task-related persons once meeting the following conditions:

Firstly, as long as Henry creates the task item, Email will be sent to Tom;
Secondly, send the item attachment as the email attachment
Thirdly, on the due date, a piece of Email will report to Henry;
Fourthly, Henry will receive a mail when the task is completed;

SharePoint Alert cannot achieve above requests, while SharePoint Alert Boost does work.

If the user wants to achieve the request as above referred, he can configure settings in sharepoint alert boost.
Add the requrired columns, such as director,assigned to, status, and so on. Then enter sharepoint alert workflow setting page, and create a new Alert Part. In the following steps, you can configure the main settings according to above request in releated area. For instance, customize Email subject and content, decide BCC to and Sent to, and set alert condition.

SharePoint Alert Reminder is now available for 30 days free trial, you can download it from:
http://www.sharepointboost.com/alertreminderboost.html

an application sample of SharePoint column/view permission

Several days ago, one friend of mine asked me how to set permissions to a column. He is the IT staff, and is required to set different permissions to different users. For instance, it is a typical scenario of the SharePoint. The company is a B2B type, the number of customer increases at a high rate. The management of contract is an important part of daily work of sales department. The detailed information of the company, such as the contract date, amount, price, and other privacy information are recorded in a SharePoint list. Some contracts contain sensitive information which is only accessible to limited people. For instance, the marketing department has the permission to view the contracts, while other departments such as R&D and support department cannot access to the contents of the contract. In a word, the item permission needs to be customized. But, with SharePoint 2007 the users are unable to set SharePoint item permissions. Then, what measures can be taken to solve this problem?

Actually, it is not so difficult a task. There is a third party SharePoint add-on which can customize column permissions: SharePoint column permission. SharePoint Column Permission is a great enhancement to SharePoint 2007 permission. SharePoint column permission allows users to define column permission as needed. For instance, in the above contract scenario, with SharePoint column permission, the IT staff can easily set different users with edit, view, or invisible permission. The marketing department can view all contents of the contract but without edit permission, and the SharePoint administrator can set column “view” permission to all the staff of the department as a member group. In the same way, the sales department can be set “edit” permission and other department with “invisible” permission. One SharePoint column, one user, one unique column permission, it is SharePoint column permission that successfully sets column permission.

SharePoint column permission is not limited to certain application; instead, it can be applied in various scenarios, such as staff information management, financial date management, and so on.

30 days free trial is now available, and you can download it from SharePoint web site:
http://www.sharepointboost.com/columnpermission.html