CentraSite Documentation : CentraSite User’s Guide : Working with Design/Change-Time Policies : Working with Email Notifications : Using Email Templates with Policy Actions : Deleting an Email Template from CentraSite : From a Java Class
From a Java Class
To delete an email template from the repository
1. Create a script file as described in Creating a Script File for the EmailTemplateManager Utility..
2. Execute the script file with the following parameters:

yourScriptFile -delete templateName
-dbuser yourCSUserID
-dbpassword yourPassword
Example (all in one line)
myScript -delete myEmailTemplate.html -dbuser jcallen
-dbpassword j45Hk19a
Copyright © Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback