Downloading Email Template
Pre-requisites:
To download an email template through the CentraSite Command Line Interface, you must have the CentraSite Administrator role.
CentraSite provides a command tool named ConfigEmailTemplates for this purpose.
To download an email template
Run the command ConfigEmailTemplates. The syntax is of the format C:\SoftwareAG\CentraSite\utilities>ConfigEmailTemplates.cmd -dbuser <USERNAME> -dbpassword <PASSWORD> [-dburl <CENTRASITE-URL>] -download <EMAIL-TEMPLATE> -tolocation <LOCATION>
The input parameters are:
Parameter | Description |
-dburl | (Optional). The URL of the CentraSite registry. For example, http://localhost:53307/CentraSite/CentraSite. |
-dbuser | The user ID of a registered CentraSite user who has the CentraSite Administrator role. For example, Administrator. |
-dbpassword | The password for the registered CentraSite user identified by the parameter -dbuser. |
-download | Name of an email template you want to download. If the template name contains white spaces, enclose the name with "". |
-tolocation | A location to save the downloaded email template. |
Example (all in one line):
C:\SoftwareAG\CentraSite\utilities>ConfigEmailTemplates.cmd -dburl http://localhost:53307/CentraSite/CentraSite –dbuser Administrator –dbpassword manage -download CustomPendingNotification.html