![]() |
|
HTML Code in Workflow Email MessagesWhen using HTML code in the Message field in an email in a workflow Send Email action, note the following points:
Supported Elements and AttributesThe following table lists the elements that Oracle CRM On Demand supports for use in a workflow email message and the attributes that are supported for the elements. For information about the properties that are supported for use with the style attribute, see the Supported Properties for the style Attribute section of this topic.
For more information about HTML5, see the HTML5 specification on the World Wide Web Consortium (W3C) Web site. Supported Properties for the style AttributeThe following cascading style sheet (CSS) properties are supported for use with the style attribute, which can be used with all of the elements that are supported for use in the messages in workflow emails:
If you use a property that Oracle CRM On Demand does not support for use with the style attribute, then the unsupported property is removed from the style attribute when you save the workflow action. Unsupported ElementsIf you use an HTML element that Oracle CRM On Demand does not support for use in a workflow email message, then the tags for the unsupported element are removed from the email message when you save the workflow action. No error message appears. The content of the element is retained in the message, except in the case of the following elements. For these elements, both the tags and the content of the element are removed for security reasons:
Example of an HTML MessageThe following example shows how Oracle CRM On Demand handles an HTML message in a workflow email. In this example, the workflow action sends an email to the members of a team when an opportunity with high priority is created. The message might be entered in the Message field in the Send Email workflow action as follows: <html> <body> <pre> <b>Team,</b> <big>Good News!</big> The <i>%%%[{Name}]%%%</i> opportunity created by %%%[{Created By Full Name}]%%% appears to be a <b>high potential</b> opportunity. <b>Please target it as a priority so that we can add it to the next quarter.</b> Thanks and regards, David </pre> </body> </html> NOTE: If you do not use the <pre> element to enclose the message content, then you must use the <br> tag to specify each line break. The email message as it was entered includes instances of the <html>, <body>, and <big> elements, which are not supported. When the workflow action is saved, the tags for the <html> and <body> elements are removed, but the contents of these elements are retained. In the case of the <big> element, both the tags and the content of the element are removed. The message then appears as follows in the saved workflow action: <pre> <b>Team,</b> The <i>%%%[{Name}]%%%</i> opportunity created by %%%[{Created By Full Name}]%%% appears to be a <b>high potential</b> opportunity. <b>Please target it as a priority so that we can add it to the next quarter.</b> Thanks and regards, David </pre> When the email is sent, the message appears as follows in an email application that supports HTML: Team, The Auto Manufacturer opportunity created by Amanda Jacobsen appears to be a high potential opportunity. Please target it as a priority so that we can add it to the next quarter. Thanks and regards, David |
Published 7/6/2017 | Copyright © 2005, 2017, Oracle. All rights reserved. Legal Notices. |