CentraSite Documentation : Working with the CentraSite Business UI : Administering the Business UI : Message Handling and Diagnostics : Setting the Diagnostic Email Notification Configurations
Setting the Diagnostic Email Notification Configurations
You can use the diagnostic email notifications to alert users whenever an error occurs in CentraSite Business UI.
Use the following procedure to configure the diagnostic email notification settings:
To configure the diagnostic email notification settings
1. Create an XML diagnostics configuration as shown in the example below:
<DiagnosticsConfiguration>
<EmailAddresses>
<EmailAddress id="defaultEmail">admin@softwareag.com</EmailAddress>
</EmailAddresses>
<EmailTemplate id="defaultDiagnosticTemplate"
name="DefaultDiagnostics.html"
mimetype="html" />
<EmailPreSubject id="defaultSubject">
Diagnostic from ${system.user.name}
</EmailPreSubject>
</DiagnosticsConfiguration>
2. Append the XML configuration to the custom configuration file centrasite.xml. This file is located in the cast\cswebapps\BusinessUI\custom\conf folder under the CentraSite installation directory.
The diagnostics snippet would look like the following:
<GUIConfiguration>
<DiagnosticsConfiguration>
<EmailAddresses>
<EmailAddress id="defaultEmail">admin@softwareag.com</EmailAddress>
</EmailAddresses>
<EmailTemplate id="defaultDiagnosticTemplate"
name="DefaultDiagnostics.html"
mimetype="html" />
<EmailPreSubject id="defaultSubject">
Diagnostic from ${system.user.name}
</EmailPreSubject>
</DiagnosticsConfiguration>
</GUIConfiguration>
3. Specify the following parameters:
Parameter
Description
EmailAddress
The email address of the users to whom the email message is to be sent.
EmailTemplate name
The email template represents the body of the message. You can specify substitution tokens in the body of the email message. Substitution tokens enable you to incorporate run-time information into the email. For example, you can use the ${system.user.name} token to insert (into the email message) the name of the user who caused the error. For a complete list of the supported substitution tokens, see Substitution Tokens.
EmailPreSubject
The text that will appear on the subject line of the email. You can specify the text of the email by typing a message directly into the EmailPreSubject parameter or by using an email template. For more information about these options, see Using a Custom Message in Diagnostic Email Notification.
Copyright © 2005-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback