HTML not rendering in g_form.showFieldMsg() in Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
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 textLinks are not clickable
Example Output:
More information on the <a href="...">Get Started</a> pageExpected Output:
Proper formatted message
Clickable link
Question:
Does
g_form.showFieldMsg()support HTML rendering in Service Portal / UI16?Is there any way to enable HTML rendering?
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!
