arshanapalli
Tera Contributor

Hi ServiceNow Community members,

I would like to share how to add a customized banner message for any announcements needed for ServiceNow customers in the company.

Hope this helps !!. 

And this is only supported on UI15. Any inputs for UI16 would be great :). 

Write a UI Script:

addLoadEvent(function(){
try{
if(g_user.hasRoles()){
//Knowledge Message
var knowledgeMessage = "<div style='text-align:left; float: left ; color : red; font-size : 15px'>Announcement!!(line1) <br>Announcement!!(line2 optional) with any links needed <a target='_blank' href='https://www.google.com/' font-size: 100%; color: #000;'>Link 1</a> and <a target='_blank' href='https://www.google.com/' font-size: 100%; color: #000;'>Link 2</a></div>";//);
$('textsearch').insert({before:knowledgeMessage});
}
}catch(e){}
});

This is how it looks:

find_real_file.png

Comments
Shyam sundar d1
Tera Explorer

i need it for UI16 any update 

Jegadeesh T1
Tera Contributor

Update ,UI script or any plugins  regarding  for  Banner Announcement or Header info message .

 

Version history
Last update:
‎02-07-2020 09:16 AM
Updated by: