- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2023 11:56 PM
I am populating info message from the BR and below is the code, could you please help me to make changes in the code so that my info message will be populated as BOLD.
Only my info message not all the info messages of servocenow
var message = '<div style="background-color:red;color:white">SLA over 75%<br/>';
gs.addInfoMessage(gs.getMessage(message));
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2023 12:21 AM
Hi @VIKAS MISHRA ,
Please try below.
var message = '<div style="background-color:red;color:white"><b>SLA Over 75%</b><br/>'; gs.addInfoMessage(gs.getMessage(message));

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2023 12:21 AM
Hi @VIKAS MISHRA ,
Please try below.
var message = '<div style="background-color:red;color:white"><b>SLA Over 75%</b><br/>'; gs.addInfoMessage(gs.getMessage(message));
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2023 12:26 AM
Hi @VIKAS MISHRA ,
Use the below
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2023 12:31 AM
Hello Vikas,
Its Better to use CSS style inline in div tag.
var message = '<div style="background-color:red;color:white; font-weight:bold;">SLA over 75%<br/>';
gs.addInfoMessage(gs.getMessage(message));
Use this Code.
If you find it helpful, Plz Mark my Solution as Accept and Helpful, It will help other users as well.
Regards,
Samaksh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2023 12:59 AM
Hello Vikas,
Can you plz mark my solution as Accept, As according to some requirement it will help other user as well to find it better.
Regards,
Samaksh