Use the HTML bot response control to display static HTML text in the Virtual Agent bot response.
Note: If you created conversations in the
London release that use this bot
response control to generate card layouts, consider updating your conversations to use the
Card bot response control. The
Card displays information from a record in your instance and contains a link to that
related record.
Security considerations for HTML markup
For security reasons, an HTML sanitizer script runs automatically and checks all HTML
output controls in Virtual Agent conversations. The sanitizer script removes
elements or attributes that might enable cross-site scripting attacks. You can edit the HTML
sanitizer script to change the list of markup items to be preserved or removed. For details,
see HTML sanitizer and Configure HTML sanitizer for examples on adding markup items to the exclusion or inclusion
lists.
To disable the HTML sanitizer script only for Virtual Agent conversations,
add the com.glide.cs.html.sanitizer.enabled system property and set the
value to false. For details on creating a system property, see Add a system property.
HTML bot response control properties
Property |
Description |
Name |
Name that identifies the HTML bot response control node in the topic
flow. |
HTML Message |
HTML output to be displayed. Click the Edit icon to open the HTML
editor. |
Height (Pixel) |
Maximum height of the area for displaying HTML output in third-party
messaging applications. |
Width (Pixel) |
Maximum width of the bot bubble for displaying HTML output in third-party
messaging applications. |
Note: As shown in the examples, HTML output can vary in third-party messaging applications.
Determine an appropriate Height and Width
area by setting initial height and width values, previewing the HTML output in the
messaging applications you intend to use, and then adjusting the height and width values.