Previous Topic: additionalHeadersNext Topic: util


template

Lets you add a string of text to a message from lines of JavaScript code (that is, lines within the <% %> tag). The string can contain HTML tags, static text, and/or variable values returned by methods in CA IdentityMinder implicit objects.

Note: The template object is not preceded by the underscore (_) character.

Method:

Example:

<%
var secondaryType =        _eventContextInformation.getSecondaryObjectTypeName();
if (secondaryType != "") {
   template.add("In " + secondaryType + ": ");
   template.add("<b> "+_eventContextInformation.getSecondary
                                   ObjectName()+" </b><br>");
   }
%>