HTML in System UI messages

gerald_c
Kilo Explorer

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?

5 REPLIES 5

Daniel Oderbolz
Kilo Sage

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