Tuesday, 2 April 2019

Table Type Presentation in Communication Template

There are instance where we would send mail through communication template. It is important to make sure that the information in the mail is more precise and conveys all details that are necessary. I feel that giving data in tabular format achieves the purpose. So lets see how to send data in tabular format in communication template in Maximo 7.6.

Click on Go To--> System Configuration --> Platform configuration --> Communication Templates.

Then click on the "View HTML Source " icon. As show in the screen shot below.


Enter the following HTML codes in the code snippet field.



<div>Dear Manager,</div>
<div> </div>
<div>The Technician has taken action on the Service Request. </div>
<div> </div>
<table align="center" border="1">
 <colgroup>   </colgroup>
 <tbody>
  <tr>
   <td> SR</td>
   <td> :TICKETID</td>
  </tr>
  <tr>
   <td> Status</td>
   <td> :STATUS(:STATUSDESC.DESCRIPTION)</td>
  </tr>
  <tr>
   <td> Description </td>
   <td>  :DESCRIPTION</td>
  </tr>
  <tr>
   <td> Priority </td>
   <td> :REPORTEDPRIORITY(:C_DOMAIN_REP.DESCRIPTION)</td>
  </tr>
  <tr>
   <td> AssetNumber</td>
   <td> :ASSETNUM</td>
  </tr>
  <tr>
   <td> Asset Description</td>
   <td> :ASSET.DESCRIPTION</td>
  </tr>
  <tr>
   <td> Location</td>
   <td> :LOCATION</td>
  </tr>
  <tr>
   <td> Location Description</td>
   <td> :LOCATION.DESCRIPTION</td>
  </tr>
 </tbody>
</table>
<div> </div>
<div> </div>
<div> </div>
<div> Note:- This is a system generated email. 
This is Email has been generated from UAT instance.</div>

The following will the output in email format for the communication template.

For any more extra changes you can modify the HTML code.

No comments:

Post a Comment