![]() |
|
HTML Code for Note Fields and Workflow Email MessagesHTML formatting is supported in the Message field in workflow Send Email actions. If the Enable HTML Formatting check box on the company profile is selected, then HTML formatting is also supported in fields of the Note field type, including custom fields of that type. When using HTML code in the Message field in an email in a workflow Send Email action, note the following points:
When using HTML code in a field of the Note type, you must use the toolbar in the HTML editor to apply HTML formatting to the text in the field. Tags that are entered as text while the HTML editor is enabled are not interpreted as HTML tags. The rest of this topic provides details of the supported and unsupported elements. Supported Elements and AttributesThe following table lists the elements that Oracle CRM On Demand supports for use in workflow email messages and in fields of the Note type, 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. Unsupported AttributesIf you edit a workflow Send Email action that contains an unsupported attribute in the email message, then the attribute will be deleted when you save the updated workflow action. If you attempt to include an unsupported attribute in the email message when you create a new workflow Send Email action, then the attribute will be deleted when you save the workflow action. If a field of the Note field type contains an unsupported attribute, and if the Enable HTML Formatting check box on the company profile is selected, then the attribute will be deleted the next time the field is updated and the record is saved. 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 and in fields of the Note type:
If you use a property that Oracle CRM On Demand does not support for use with the style attribute in a workflow email message, then the unsupported property is removed from the style attribute when you save the workflow action. If the Enable HTML Formatting check box on the company profile is selected, then:
Unsupported ElementsSe você usar um elemento que o Oracle CRM On Demand não suporta para uso em uma mensagem de e-mail de workflow, as tags do elemento não suportado serão removidos da mensagem de e-mail quando você salvar a ação de workflow. Nenhuma mensagem de erro será exibida. If the Enable HTML Formatting check box on the company profile is selected, then:
When an unsupported element is removed, the content of the element is retained, 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:
Deprecated AttributesSome attributes that were supported in the past have now been deprecated. The deprecated attributes are not automatically deleted from any existing workflow email message unless the workflow action is edited. Similarly, the deprecated attributes are not automatically deleted from a field of the Note field type, unless the record with the field is edited. However, the attributes might not work at all, or might not work as expected. The following table lists the deprecated attributes.
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> <script>alert(“Good News”);</script> 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 <script> 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 <script> 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 |
| Publicado em março de 2021 | Copyright © 2005, 2021, Oracle e/ou suas empresas afiliadas. Legal Notices. |