Export (0) Print
Expand All

Updatealerttemplates: Stsadm operation (Windows SharePoint Services)

Office 2007

Updated: November 12, 2008

Applies To: Windows SharePoint Services 3.0

 

Topic Last Modified: 2008-11-07

Lets an administrator update custom changes to the Alerttemplates.xml file.

stsadm -o updatealerttemplates

   -url <URL name>

   [-filename <file name>]

   [-lcid <language>

 

ParameterValueRequired?Description

url

A valid URL, such as http://server_name

Yes

Specifies the URL name to a site collection.

filename (f)

The name of the alert template file

No

Specifies the Alerttemplates.xml file.

lcid

A valid locale ID, such as "1033" for English

No

Specifies the language locale ID for the alert template.

To help users keep track of changes made to a site, Windows SharePoint Services 3.0 includes the alerts feature, which is an e-mail notification service. When documents, lists, or items in a list on a server running Windows SharePoint Services 3.0 are created, modified, or deleted, users can configure which alerts they want to receive, informing them that changes have been made.

Windows SharePoint Services 3.0 includes a set of predefined alert templates. These alert templates are stored in Alerttemplates.xml. Alerttemplates.xml defines the format, contents, and properties used to create alert messages from each list type. Developers can customize alerts by modifying a copy of Alerttemplates.xml and then loading the customized alert templates by using the command stsadm -o updatealerttemplates. For more information, see Predefined Alert Templates (http://go.microsoft.com/fwlink/?LinkID=133225&clcid=0x409).

Do not manually modify or create customizations in the Alerttemplates.xml file. Doing so may result in loss of functionality when upgrading or installing service packs.

To update the Alerttemplates.xml file for the specified locale , type the following syntax:

stsadm -o updatealerttemplates -url http://localhost -f C:\Alerttemplates.xml –lcid 1033

NoteNote:
Any alert templates in the database that are not in the XML file will not be modified.
NoteNote:
If you want the changes to the template list to take effect immediately, run the iisreset command after you run the updatealerttemplates operation.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft