CentraSite Documentation : CentraSite User’s Guide : Working with Design/Change-Time Policies : Working with Email Notifications : Using Email Templates with Policy Actions : Adding an Email Template to CentraSite : From a Command Line
From a Command Line
To add an email template to CentraSite repository, use a command ConfigEmailTemplates of the following format:
On Windows
ConfigEmailTemplates.cmd -dbuser <USERNAME> -dbpassword <PASSWORD>
[-dburl <CENTRASITE-URL>] -t <TEMPLATE-FILE>
On UNIX
ConfigEmailTemplates.sh -dbuser <USERNAME> -dbpassword <PASSWORD>
[-dburl <CENTRASITE-URL>] -t <TEMPLATE-FILE>
Input Parameters
The following table describes the complete set of input parameters that you can use with the ConfigEmailTemplates utility:
Parameter
Description
USERNAME
Required. Your CentraSite user ID.
PASSWORD
Required. The password for your CentraSite user account.
CENTRASITE-URL
The fully qualified URL for the CentraSite registry/repository.
If you omit this parameter, the importer assumes that the registry/repository resides at http://localhost:53307/CentraSite/CentraSite.
Note:  
If the registry/repository is running on a different machine and port number, you can use this parameter to specify its location instead of using the individual -h and -p parameters. (If you specify the -dburl parameter with the -h and/or -p parameters, the -h and -p parameters will be ignored.)
TEMPLATE-FILE
The absolute or relative path to the email template file. If relative, the path should be relative to the location from where the command is executed.
Copyright © Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback