HTML in System UI messages
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-24-2015 10:22 PM
I'm using a system UI message in an installation exit. This will be used to display the message which contains an email address when the account of a user is locked. I'm trying to output the email address using <a href="mailto> tags but as the message field on the sys_ui_message table is of type String, it's not rendering the HTML. Is there any way to go around this without changing the type of the field?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2024 03:03 PM - edited ‎03-20-2024 03:04 PM
One issue that gs.getMessage has is that it cannot handle { and } as a literal because the message is not really parsed.
This is an issue if your HTML contains CSS where you need those symbols.
You basically need to inject { and } as values, as silly as it sounds.
If this answer was helpful, I would appreciate if you marked it as such - thanks!
Best
Daniel