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:
The argument must evaluate to a string, including any calls to methods in a CA IdentityMinder implicit object. In the example below, see _eventContextInformation.getSecondaryObjectName().
Example:
<%
var secondaryType = _eventContextInformation.getSecondaryObjectTypeName();
if (secondaryType != "") {
template.add("In " + secondaryType + ": ");
template.add("<b> "+_eventContextInformation.getSecondary
ObjectName()+" </b><br>");
}
%>
| Copyright © 2013 CA. All rights reserved. |
|