Hi guys i create email template for each time a new opportunity get in the crm send a email to the assignated person
but i want to know the way to make a direct link to that opportunity create.
this is my email template
but i need to now the field to use in http://domain.com/index.php?module=Opportunities&action=DetailView&record=[OPPORTUNITY FIELD]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
</head>
<body>
<table style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; width: 650px;" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#f3faff">
<tbody>
<tr>
<td style="font-family: Arial, Helvetica, sans-serif; text-decoration: none; font-size: 12px; color: #666666; line-height: 18px;" valign="top" bgcolor="#ffffff" height="30"> </td>
</tr>
<tr>
<td align="left" valign="top">
<table style="width: 100%;" border="0" cellspacing="0" cellpadding="0" bgcolor="#f5f5f5">
<tbody>
<tr>
<td align="left" valign="top" width="229"> </td>
<td align="right" valign="top">
<table style="width: 135px;" border="0" cellspacing="0" cellpadding="0" align="right">
<tbody>
<tr>
<td align="left" width="25" height="49"> </td>
<td align="left" width="25" height="49"> </td>
<td align="left" width="25" height="49"> </td>
<td align="left" width="25" height="49"> </td>
<td align="left" width="20" height="49"> </td>
<td align="left" width="20" height="49"> </td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td valign="top" bgcolor="#3090c7">
<table class="content" style="width: 610px;" border="0" cellspacing="0" cellpadding="0" align="center">
<tbody>
<tr>
<td style="text-align: center;" colspan="2" valign="top" width="610" height="34"><span style="font-family: arial, helvetica, sans-serif; font-size: small; color: #ffffff;"><strong> NUEVA OPORTUNIDAD</strong></span></td>
</tr>
<tr>
<td style="font-family: Arial, Helvetica, sans-serif; font-weight: bold; font-size: 26px; color: #ffffff;" align="left" valign="top" width="124" height="26"><span style="font-size: small;">Cuenta</span></td>
<td style="font-family: Arial, Helvetica, sans-serif; font-weight: bold; font-size: 26px; color: #ffffff;" align="left" valign="top" width="486" height="26"><span style="font-weight: 400;"><span style="font-family: Arial; font-size: small;"> $account_name </span></span></td>
</tr>
<tr>
<td style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; color: #ffffff; font-weight: bold;" align="left" valign="top" width="124" height="26"><span style="font-size: small;">Oportunidad</span></td>
<td style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; color: #ffffff; font-weight: bold;" align="left" valign="top" width="486" height="26"><span style="font-weight: 400;"><span style="font-size: small;"><a href="http://domain.com/index.php?module=Opportunities&action=DetailView&record=$opportunity_account_id"> <span style="color: #ffffff; font-family: Arial;">$opportunity_name</span></a> </span></span></td>
</tr>
<tr>
<td style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; color: #ffffff;" align="left" valign="top" width="124" height="26"><strong><span style="font-size: small;">Monto $</span></strong></td>
<td style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; color: #ffffff;" align="left" valign="top" width="486" height="26">
<p align="left"><span style="font-family: Arial; font-size: small;"> $opportunity_currency_symbol $opportunity_amount_usdollar</span></p>
</td>
</tr>
<tr>
<td style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #ffffff; line-height: 22px;" align="left" valign="top" width="124" height="25"><strong><span style="font-size: small;">Fecha de Creacion</span></strong></td>
<td style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #ffffff; line-height: 22px;" align="left" valign="top" width="486" height="25"><span style="font-family: Arial; font-size: small;">$opportunity_date_entered</span></td>
</tr>
<tr>
<td align="left" width="124" height="27"><span style="font-family: Arial, Helvetica, sans-serif;"><strong> <span style="color: #ffffff; font-size: small;">Fecha de Cierre</span></strong></span></td>
<td align="left" width="486" height="27"><span style="color: #ffffff; font-family: Arial; font-size: small;"> $opportunity_date_closed</span></td>
</tr>
<tr>
<td align="left" valign="top" width="124" height="22"><span style="font-family: Arial, Helvetica, sans-serif;"><strong> <span style="color: #ffffff; font-size: small;">Responsable</span></strong></span></td>
<td align="left" valign="top" width="486" height="22"><span style="color: #ffffff; font-family: Arial; font-size: small;"> $opportunity_assigned_user_name</span></td>
</tr>
<tr>
<td align="left" valign="top" width="124" height="28"> </td>
<td align="left" valign="top" width="486" height="28"><span style="font-family: Arial; font-size: small;"><span style="color: #ffffff;"><br /> Para mas información o preguntas, porfavor contacte a </span> <a href="mailto:$contact_user_email1"><span style="color: #ffffff;"> $opportunity_assigned_user_name</span></a><span style="color: #ffffff;">.</span></span></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td style="border-top-width: 1px; border-top-style: solid; border-top-color: #dcdcdc;" align="left" valign="top" bgcolor="#efefef">
<table style="width: 450px;" border="0" cellspacing="0" cellpadding="0" align="center">
<tbody>
<tr>
<td style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #666666; line-height: 20px;" valign="top">
<p align="left"> </p>
</td>
</tr>
<tr>
<td style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #666666; line-height: 20px;" valign="top"> </td>
</tr>
<tr>
<td valign="top" height="10">
<p align="right"><span style="font-size: 7pt; font-family: Arial;"> Template 001</span></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</body>
</html>