Syntax of HTML template for alert e-mails

In the following syntax, you can see how Microsoft Dynamics AX URLs are created in the HTML template using variables.

HTML

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">

<title>%subject%</title>

</head>

<body>

%message%

<br/>

<h2><a href="Dynamics://%LinkToBusinessData%">Go to &nbsp; %for%</a></h2>

<br/>

<b>Microsoft Dynamics AX alert details</b>

<br/>

<table border="0" width="100%">

<tr width="25%">

<td><b>Occurred:</b></td>

<td>%occurred%</td>

</tr>

<tr>

<td width="25%"><b>For:</b></td>

<td>%for%</td>

</tr>

<tr>

<td width="25%"><b>Company:</b></td>

<td>%company%</td>

</tr>

<tr>

<td width="25%"><b>Event:</b></td>

<td>%subject%</td>

</tr>

<tr>

<td width="25%"><b>Data:</b></td>

<td>%data%</td>

</tr>

</table>

<br/>

<a href="Dynamics://%LinkToAlert%">View alerts</a>

<br/>

<a href="Dynamics://%LinkToAlertRule%">Manage alert rules</a>

<br/>

<br/>

<b>Note:</b> You may receive an error if Microsoft Dynamics AX cannot be launched from this computer.

</body>

</html>

See Also

Syntax of XSLT template for alert e-mails