Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

E-mail Template for Helpdesk Solution

Updated: 01 Oct 2007 | 2 comments
razell's picture
0 0 Votes
Login to vote

Here's a template that can be used to provide a different view into the Helpdesk Solution. It is currently being used by my team when they want give complete information about an incident (without hidden comments) by mail to someone other than the initial contact.

Here's what the template looks like in action:

Here's the code:

<html>
<head>
<title>Altiris Information</title>
<style>
body
{
margin:0px;
padding: 0px;
font-size: x-small;
font-family: verdana;
color:dimgray;
background: #F7FBFF;
}
a
{
color: blue;
text-decoration: underline;
}
div.banner
{
background-color: #FFFFFF
;
padding:6px;
}
div.body
{
padding:6px;
}
table.banner
{
border:#7396B5 0px solid;
color: #000063;
}
table
{
font-size:x-small;
}
.txtSubTitle
{
font-weight: bold;
font-size: x-small;
color: #42698c;
font-family: Verdana;
}
/*E-mail Critical*/
.emailCriticalTitle
{
color:white;
font-weight:normal;
font-size:x-small;
background-color:#DE0000;
padding:6px;
}
.emailCriticalText
{
color:#DE0000;
padding:6px;
margin-bottom:4px;
font-size:x-small;
background-color: #fff2f2;
border: #DE0000 1px solid;
}

/*E-mail High*/
.emailHighTitle
{
color:black;
font-weight:normal;
font-size:x-small;
background-color:#FF9A00;
padding:6px;
}
.emailHighText
{
color:black;
padding:6px;
margin-bottom:4px;
font-size:x-small;
background-color: #FFEFD6;
border: #FF9A00 1px solid;
}

/*E-mail Medium/Warning*/
.emailMedWarnTitle
{
color:black;
font-weight:normal;
font-size:x-small;
background-color:#FFE34A;
padding:6px;
}
.emailMedWarnText
{
color:black;
padding:6px;
margin-bottom:4px;
font-size:x-small;
background-color: #FFF3CE;
border: #FFE34A 1px solid;
}

/*E-mail Normal*/
.emailNormalTitle
{
color:#f5fff5;
font-weight:normal;
font-size:x-small;
background-color:green;
padding:6px;
padding-right:6px;
}
.emailNormalText
{
color:black;
padding:6px;
margin-bottom:4px;
font-size:x-small;
background-color: #eefff5;
border: green 1px solid;
}

/*E-mail Low*/
.emailLowTitle
{
color:#63655A;
font-weight:normal;
font-size:x-small;
background-color:#CECBBD;
padding:6px;
padding-right:6px;
}
.emailLowText
{
color:#63655A;
padding:6px;
margin-bottom:4px;
font-size:x-small;
background-color: #EFEBDE;
border: #CECBBD 1px solid;
}

/*Text settings for email messages*/
.txtMsgValue
{
color:black;
font-weight:bold;
width:100%;
}
.txtMsgCritical
{
color:#DE0000;
font-weight:bold;
width:100%;
}
.txtMsgHigh
{
color:#FF9A00;
font-weight:bold;
width:100%;
}
.txtMsgMedWarn
{
color:goldenrod;
font-weight:bold;
width:100%;
}
.txtMsgNormal
{
color:green;
font-weight:bold;
width:100%;
}
.txtMsgInfo
{
color:#63655A;
font-weight:bold;
width:100%;
}
.txtMsgLabel
{
color:dimgray;
padding-left:20px;
padding-right:5px;
white-space:nowrap;
}
.txtMsgComment
{
color:dimgray;
padding-left:20px;
padding-right:5px;
}
hr
{
width: 100%;
color: gainsboro;
height: 1px;
}
.style5 {
color:dimgray;
padding-left:20px;
padding-right:5px;
white-space:nowrap;
text-decoration: underline;
}
</style>

</head>
<body>
<basefont face="Verdana,Arial,Geneva,Sans-Serif" size="2" />
<!-- Header =========================================== -->
<div class="banner">
<table width=100% cellpadding="0" cellspacing="0" class="banner" ID="Table6">
<tr valign="top"> 
<td width="465" nowrap bgcolor="#FF0000" style="padding-left:10px;"> <span style="font-size:12pt;font-weight:normal;color:#F7FBFF;"><big>Your Support Team</big><br>
</span> <span style="font-weight: bold;font-size: 12pt;color:#000063;"><font color="#000000">Need 
More Information</font></span></td>
<td width="535" nowrap bgcolor="#000000" style="padding-left:10px;"> </td>
</tr>
</table>
</div>
<div class="body">
<table width="100%" cellpadding="0" cellspacing="0" ID="Table5">
<tr valign=top>
<td class="NUMBER_MAP(WORKITEM(workitem_priority_lookup_id), 100[[emailCriticalTitle]], 200[[emailHighTitle]], 300[[emailMedWarnTitle]], [[emailLowTitle]])">
<b>WORKITEM(workitem_priority_lookup_value)</b>
</td>
<td class="NUMBER_MAP(WORKITEM(workitem_priority_lookup_id), 100[[emailCriticalText]], 200[[emailHighText]], 300[[emailMedWarnText]], [[emailLowText]])"
width=100%> <b>WORKITEM_LINK[[<a href=http://aldisupport/aexhd/winuser/Default.aspx?cmd=homeMyHD&id=workitem(workitem_number) > Click here 
to see the Incident </a>]]</b> </td>
</tr>
<tr><td colspan=4><br>
<img src="URLALIAS(AppWeaverURL)/connect/sites/default/files/img/spacer.gif" height=4 width=1></td></tr>
</table>
<table>
<tr>
<td class="txtMsgLabel">Incident number : </td>
<td class="txtMsgValue" width="30%">WORKITEM(workitem_number) </td>
<td class="txtMsgLabel"> </td>
<td class="txtMsgValue" width="30%"> </td>
</tr>
<tr>
</tr>
<td class="txtMsgLabel"><br />Title: </td>
<td class="txtMsgValue" width="30%">WORKITEM(workitem_title) </td>
<td class="txtMsgLabel"> </td>
<td class="txtMsgValue" width="30%"> </td>
</tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2" class="txtSubTitle">
Alert Details
</td>
</tr>
<tr>
<td class="txtMsgLabel">Priority : </td>
<td class="txtMsgValue"><span class="NUMBER_MAP(WORKITEM(workitem_priority_lookup_id), 100[[txtMsgCritical]], 200[[txtMsgHigh]], 300[[txtMsgMedWarn]],
[[txtMsgValue]])">WORKITEM(workitem_priority_lookup_value)</span></td>
</tr>
<tr>
<td class="txtMsgLabel">Status : </td>
<td class="txtMsgValue">WORKITEM(workitem_status_lookup_value)</td>
</tr>
<tr>
<td class="txtMsgLabel">Category : </td>
<td class="txtMsgValue">WORKITEM(workitem_category_tree_value)</td>
</tr>
<tr>
<td colspan="2" class="txtSubTitle">
<br /><br />Your current worker Support Information
</td>
</tr>
<tr>
<td class="txtMsgLabel">treated by : </td>
<td class="txtMsgValue" width="30%">WORKITEM(modified_by_worker_full_name) </td>
<td class="txtMsgLabel"> </td>
<td class="txtMsgValue" width="30%"> </td>
</tr>
<tr>
</tr>
<td class="txtMsgLabel">mail : </td>
<td class="txtMsgValue" width="30%">WORKITEM(modified_by_worker_email) </td>
<td class="txtMsgLabel"> </td>
<td class="txtMsgValue" width="30%"> </td>
<td colspan="2"> </td>
</tr>
<tr>
</tr>
<td class="txtMsgLabel">phone : </td>
<td class="txtMsgValue" width="30%">WORKITEM(modified_by_worker_phone) </td>
<td class="txtMsgLabel"> </td>
<td class="txtMsgValue" width="30%"> </td>
<td colspan="2"> </td>
<tr>
<tr> 
<tr> 
<td colspan="2" class="txtSubTitle"><br /><br /><br />Comment
<tr> 
<td colspan="6"><span style="font-size:xx-small;"> </span>
</tr>
<tr> 
</tr>
<td colspan="6" class="txtSubTitle"> <u><font color="#0000FF">History</font></u> 
</td>
<tr> </tr>
REGEX{{HISTORY_LIST[[<TR><TD TAG=$$workitem_comment_visible_to_guest$$ class="txtMsgValue" colspan="6" valign="top" bgcolor="#FFCC66"><small><b>$$workitem_modified_on$$</b></small></TD></TR><TR><TD TAG=$$workitem_comment_visible_to_guest$$ class="txtMsgValue" colspan="6" valign="top" style="width:100%;" height="13"><font size="-2">$$workitem_comment$$</font></TD></TR>]]}}{{(<TR><TD TAG=0)(.*?)(</TR>)}}{{ }} 
</b></small></td>
</tr>
<tr> 
<tr> 
<td class="txtMsgValue" colspan="6" valign="top" style="width:100%;" height="13"> </td>
</table>
</div>
</body>
</html>
</html>

Comments

dzarillo's picture
16
Oct
2007
0 Votes 0
Login to vote

Help with Template

This will help out with some of the techs questions. But when I use the supplied code I'm getting just the code in my email not the action?

xmoreland's picture
09
Nov
2007
0 Votes 0
Login to vote

fun

nice fun little thing that could come in very handy in many situations.