HTML not rendering in g_form.showFieldMsg() in Service Catalog

riyaz199708
Kilo Explorer

Hi Team,

I am working on a Service Catalog item where I need to display help text dynamically based on the selected value of a variable (Application).

Requirement:

  • When user selects Copilot or AI Builder

  • Show help text with formatted content and clickable links

What I implemented:

  • Created a UI Message with HTML content (including <a> and <br> tags)

  • Used a Client Script (onChange) to fetch message using getMessage()

  • Displayed using:

    g_form.showFieldMsg('application', msg, 'info');

Issue:

  • HTML is not rendered

  • Tags like <a> and <br> are displayed as plain text

  • Links are not clickable

Example Output:

More information on the <a href="...">Get Started</a> page

Expected Output:

  • Proper formatted message

  • Clickable link

Question:

  1. Does g_form.showFieldMsg() support HTML rendering in Service Portal / UI16?

  2. Is there any way to enable HTML rendering?

  3. What is the recommended approach to display rich help text with links?

Additional Info:

  • Tested with UI Messages and direct strings

  • Same behavior observed

Any suggestions or best practices would be helpful.

Thanks!

0 REPLIES 0