CentraSite Documentation : Working with the CentraSite Business UI : Administering the Business UI : Message Handling and Diagnostics : Using Diagnostic Email Templates : Creating a Custom Email Template
Creating a Custom Email Template
 
Adding an Email Template to CentraSite
An email template is a text file that contains an HTML document. Your HTML document should include the <html> tag as shown in the example below.
Example of a Diagnostics Email Template
<html>
<h3> Error Diagnostic Details </h3>
<h4>Error Details</h4>
<table border="2">
<tr>
<td>Error ID</td>
<td>${error.id}</td>
</tr>
<tr>
<td>Error Message</td>
<td>${error.message}</td>
</tr>
<tr>
<td>Possible Reasons/Explanation</td>
<td>${error.explanation}</td>
</tr>
<tr>
<td>Actions</td>
<td>${error.action}</td>
</tr>
<tr>
<td>Error Stack trace</td>
<td>${error.stacktrace} </td>
</tr>
</table>
<h4>Asset Details</h4>
<table border="2">
<tr>
<td>Asset Name</td>
<td>${entity.name}</td>
</tr>
<tr>
<td>Description</td>
<td>${entity.description} </td>
</tr>
<tr>
<td>Owner</td>
<td>${entity.owner} </td>
</tr>
<tr>
<td>Owning Organization</td>
<td>${entity.organization} </td>
</tr>
<tr>
<td>Lifecycle state</td>
<td>${entity.state} </td>
</tr>
<tr>
<td>Asset Type</td>
<td>${entity.type} </td>
</tr>
<tr>
<td>Version</td>
<td>${entity.version} </td>
</tr>
<tr>
<td>Asset URL (PluggableUI)</td>
<td><a href="${entity.URL}"> Asset Details </a> </td>
</tr>
<tr>
<td>Asset URL (BusinessUI)</td>
<td><a href = "${entity.BUIAssetURL}">Asset Details</a> </td>
</tr>
<tr>
<td>Registry Object XML</td>
<td>${entity.XML} </td>
</tr>
</table>
<h4>System Details</h4>
<table border="2">
<tr>
<td>CentraSite Repository URL</td>
<td><a href ="${system.repository.url}"> CentraSite Repository </a>
</td>
</tr>
<tr>
<td>BusinessUI URL</td>
<td><a href="${entity.BUIBaseURL}"> CentraSite Home </a></td>
</tr>
<tr>
<td>Current User</td>
<td>${system.user.name}</td>
</tr>
<tr>
<td>User Locale</td>
<td>${user.locale}</td>
</tr>
</table>
<h4>Other Details</h4>
${diagnostic.all.propertie s}
<br/>
</html>
Copyright © Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback