Formatted text messages

You can create formatted text to use as a design element in dashboards. Text messages cannot be edited from the dashboard. You create formatted text using HTML tags. It can be translated in one of the active language from the Internationalized tab.

You can enter and format your text using HTML tags. Text messages support standard HTML element, including:

  • paragraphs
  • bullets
  • images
  • various styles, such as bold, italic, and underline.

Create formatted text messages

To create formatted text messages:

  1. Go to Dashboard Design > Text.
  2. Select the Add button icon green plus sign.
  3. Enter values for the Name, Description, and Entity fields.
  4. Optionally, go to the Internationalization tab and provide values.
  5. Go to the Text tab and enter the content of your text message, then select Save.
Note   As you edit the text message, it is displayed as HTML code. It is not WYSIWYG. You can use HTML code to format your text (see HTML tags) or you can use the buttons in the toolbar when you create your text message. It is recommended that you enter all the text, select pieces text you want to format, and then click the toolbar button for the format you want to apply. This will enclose the selected text between correctly coded tags.

HTML tags for text messages

The following table provides some guidance for using HTML tags in your text message.

Using any other tags will generate an error and you will not be able to save the object.

HTML tag example Results/Comments
<b>my text</b> my text
<u>my text</u> my text
<i>my text</i> my text
</br> Inserts a line break
<p>my text</p> Creates a paragraph by inserting a line break before and after the text
<ul><li>my text</li></ul> Creates a bulleted list with one item: "my text"
<img src="/SentinelWebDashboard/folder/ImgPath/myimage.png" title="this is my picture" alt="this is my alternative text" />

Inserts an image in the message text

  • src=" ": Specifies the URL of the image
  • title=" ": Specifies the tool-tip for the image
  • alt=" ": Specifies alternative text for the image in case it is not shown.

The user should have permission to access the folder where the image is placed.

Image types supported:

  • jpg
  • png
  • gif
  • svg
  • ico

See the following examples.

The following are examples of code you can use in your text message.

URL format when the default folder for images is used

<img src="folder/ImgPath/myimage.png" title="test1" alt="test" />

<img src="/SentinelWebDashboard/folder/ImgPath/myimage.jpg" title="test2" alt="test" />

<img src="http://<server host>:<Web server port>/SentinelWebDashboard/folder/ImgPath/myimage.gif/">

URL format when a folder other than the default is used

<img src="img2/axway-arrow.png" title="test2" alt="test" />

<img src="/SentinelWebDashboard/img2/radial-gradient.svg" title="test2" alt="test" />

<img src="http://<Sentinel server host>:<Web server port>/SentinelWebDashboard/img2/spinner-24.gif" title="test3" alt="test" />

URL format when the image is available in another places

<img src="favicon.ico" title="image from SentinelWebDashboard folder" alt="test" />

<img src="img/radial-gradient.svg" title="image from SentinelWebDashboard sub-folder" alt="test" />

<img src="themes/Axway/-/logo" title="image from Axway theme" alt="test" />

<img src="/SentinelMonitoring/SentinelMonitoring/axfavicon.ico" title="image displayed from another web application" alt="test" />

<img src="" title="image from another server" alt="test" />

Related Links