The bold text in the following code indicates how Microsoft Dynamics AX URLs are created in the template.

XSLT

<?xml version="1.0" encoding="ISO-8859-1"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="/">

<html>

<head>

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

</head>

<body>

<xsl:value-of select="alert/message"/>

<br/>

<h2>

<a>

<xsl:attribute name="href">Dynamics://<xsl:value-of select="alert/LinkToBusinessData"/></xsl:attribute>

Go to <xsl:value-of select="alert/for"/>

</a>

</h2>

<br/>

  <b>Axapta alert details</b>

<br/>

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

<tr width="25%">

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

  <td><xsl:value-of select="alert/occurred"/></td>

</tr>

<tr>

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

  <td><xsl:value-of select="alert/for"/></td>

</tr>

<tr>

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

  <td><xsl:value-of select="alert/company"/></td>

</tr>

<tr>

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

  <td><xsl:value-of select="alert/event"/></td>

</tr>

  <tr>

    <td width="25%">

      <b>Data:</b>

    </td>

    <td>

      <xsl:value-of select="alert/data"/>

    </td>

  </tr>

</table>

<br/>

<a>

<xsl:attribute name="href">Dynamics://<xsl:value-of select="alert/LinkToAlert"/>

</xsl:attribute>

View alerts

</a>

<br/>

<a>

<xsl:attribute name="href">Dynamics://<xsl:value-of select="alert/LinkToAlertRule"/> </xsl:attribute>

Manage alert rules

</a>

<br/>

<br/>

<b>Note:</b>   You will receive an error when clicking the links if Microsoft Dynamics AX cannot be launched from this computer.

</body>

</html>

</xsl:template>

</xsl:stylesheet>

See Also