이 태그는 인라인 실행을 위한 JavaScript를 전자 메일에 삽입할 수 있게 해 줍니다.
포함된 JavaScript 내에서 임의의 JavaScript 개체를 사용할 수 있습니다. 또한 포함된 JavaScript 내에서 Identity Manager 암시적 개체 메서드를 호출할 수도 있습니다.
예를 들어, 다음 코드는 사용자 지정 전자 메일 템플릿에 표시된 승인 템플릿의 본문을 수정합니다. JavaScript는 이벤트에서 보조 개체(예: USER 기본 개체가 추가될 때 ORGANIZATION 개체)가 관여되는지 여부를 파악하는 데 사용됩니다. 보조 개체가 없는 경우 보조 개체와 관련된 텍스트가 메시지에서 누락됩니다.
Event: <b> <%=_eventContextInformation.getEventName()%> </b><br>
<%=_eventContextInformation.getPrimaryObjectTypeName()%>:
<b><%=_eventContextInformation.getPrimaryObjectName()%></b><br>
<%
var secondaryType = _eventContextInformation.getSecondaryObjectTypeName();
if (secondaryType != "") {
template.add("In " + secondaryType + ": ");
template.add("<b> "+_eventContextInformation.getSecondary
ObjectName()+" </b><br>");
}
%>
Status: <b>Approved</b>
|
Copyright © 2014 CA.
All rights reserved.
|
|