Customize ALUI Collaboration Notifications

Collaboration by matt on October 24th, 2007 No Comments

Collaboration notifications are a great way to stay in touch with the activities in a Collab Project. You simply subscribe to the project, folder, or even a specific document, and emails show up in your inbox when things change:


What you may not be aware of is that these messages can be fully customized. Suppose you want to brand these email messages with your company’s logo, or suppose your workforce is all using Blackberries and can’t get the rich HTML text of these notifications. The solution is to simply go to the Notification Server and tweak the files in %PTHOME%\ptnotification\4.2\settings\templates\. There isn’t much documentation for the scripting language used to generate these messages, but the text is pretty self-explanatory. For example, by replacing the contents of DocumentCreationNotification.nst with this:

## content type
#set( $contentType = “text/html” )
## email priority true for high priority
#set( $priority = true )
## sets the subject line for the email
#set( $subject = “$resource.documents $documentName created in $projectName ” )
Document Name: <A TITLE=”" href=”${documentDownloadURL}”>${documentName}</a><br>
Project: <A TITLE=”" href=”${projectOverviewURL}”>${projectName}</a><br>
Folder: <A TITLE=”" href=”${folderURL}”>${folderName}</a><br>
Checked in by: #userprofile(${creatorUserID} ${creatorName})
#presence(${creatorEmail})<br>

… subsequent email notifications look like this (without even requiring a Notification Server restart):


These customizations are global to all Collab projects, so unfortunately you can’t create a customized notification for a single project or group of users very easily. But there certainly are a lot of powerful changes you can make- the scripting language even allows for some conditionals (such as “#if( $canWebEdit )” to determine if the “WebEdit” link should appear in the message).

No Responses to “Customize ALUI Collaboration Notifications”

Leave a Reply

You must be logged in to post a comment.