- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2022 04:25 AM
Hi Everyone,
I am displaying an informational message from Server Script. How can I make this in green instead of blue?
Regards,
Diane
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2022 05:47 AM
Thank you all! The one provided by Deepankar is the same as Mohith and this only change the font color but not the background color. I ended up adding a Page Specific CSS by going to the Page Designer. Closing this thread!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2022 05:35 AM
Hello
i feel in native view i was not able to change the back ground of the box but yeah in the above response it must have changed the text color .
If it is for portal we have a work around
please follow steps mentioned by
Please mark my answer correct if it helps you
But we can try these as alternatives
g_form.addWarningMessage = yellow
g_form.addErrorMessage = red
g_form.addInfoMessage = blue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2022 05:52 AM
Thank you, Mohith! This is what I ended up doing since we want all messages for this page with green font color and background. Thanks again for your help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2022 06:09 AM
if my answer helped can you mark it correct

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2022 05:27 AM
Hi Diane,
Refer - https://community.servicenow.com/community?id=community_question&sys_id=3d0ff47c1b367850a59033f2cd4bcb43
Regards,
Deepankar Mathur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2022 05:47 AM