All, I am following the instructions from here (custom alert template) to set custom alert template for a list/library. I have a document library for which I would like custom alert email. Following are the steps I did:
- Copy OOB alerttemplate.xml and name it alerttemplateTest.xml
- Modified the existing template
SPAlertTemplateType.DocumentLibrary - Added new template to new alerttemplateTest.xml (
SPAlertTemplateType.DocumentLibrary.Test) Ran the stsadm command:
STSADM -o updatealerttemplates -url <http://urlname> -filename <your working copy filename>Updated
list.AlertTemplateto the new template (SPAlertTemplateType.DocumentLibrary.Test) for "Shared Documents" within a site through object model
For all the document libraries, the alert email reflect the changes i made in SPAlertTemplateType.DocumentLibrary. But the emails for Shared Documents I set to SPAlertTemplateType.DocumentLibrary.Test doesnt contain the changes. The emails contain changes for SPAlertTemplateType.DocumentLibrary. Through the object model, i can see that "Shared Documents" has the correct template, which is SPAlertTemplateType.DocumentLibrary.Test. Did i miss anything?
I appreciate any help on this.
Thanks!!!