Syntax of HTML template for alert emails

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

In the following syntax, you can see how variables are used to create URLs for Microsoft Dynamics AX in the HTML template.

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>

<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 might receive an error if Microsoft Dynamics AX cannot be started from this computer.

</body>

</html>

See also

Syntax of XSLT template for alert emails

Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).