Maximo Open Forum

 View Only

 Communication Template in MAS v9 - Dynamic hyperlink/anchor

  • Administration
  • Maximo Application Suite
Jared Schrag's profile image
Jared Schrag posted 08-20-2025 09:42

In Maximo 7.6 I was able to define a hyperlink (<a href="....">Link</a>) in which the URL value for href included dynamic content (e.g. https://:HOSTNAME/maximo/...). However, in MAS 9, upon saving a Communication Template, it blanks out these href values (and in the rich text editor, it doesn't allow the entry of such URLs, they are invalid).

Has anyone else seen this in MAS at all? Are we just stuck with not using hyperlinks anymore for dynamic URLs?

Allan Henle's profile image
Allan Henle

Hi Jared,

This is related to the rich text sanitization. If you temporarily disable webclient.richtext.sanitize, the href is visible again. Disabling the system property is not recommended due to cross site scripting. But you can adjust the sanitizePolicy.xml in the \applications\maximo\properties directory to try and correct the issue. 
 
Given the significance of the :hostname substitution variable (to enable dynamic links inside of the application that work in any environment), I would open a support case with IBM to try and have the out of box regex rules adjusted to ensure this works.

How to Paste Images in Rich Text Fields When webclient.richtext.sanitize=1

Thank you,

Allan Henle