inmorphis-consu
Kilo Explorer
Options
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
02-28-2016
11:48 AM
Adding a header message to ServiceNow to give notification about platform updates, news or any other info that your customer/end-users should be aware of.
Well, this is implemented on HI.Service-now.com. Lets have a look into it and implement it on our development servers.
Basic idea is to use Global UI Script and do some adjustments in it to get this result.
Create a new UI Script.
UI Script: Show Header Information
Global: true
Active: true
Script:
- addLoadEvent(function(){
- try{
- if(g_user.hasRoles()){
- //Knowledge Message
- var knowledgeMessage = "<a target='gsft_main' href='$knowledge.do?'id='knowledgeMessageText' style='margin-right: 20px; font-size: 100%; color: #000;text-decoration: underline;'>
- <span style='margin-right:1%;'><i class='icon-alert'></i></span>
- <span>Recent ServiceNow Updates</span></a>"; //);
- $('textsearch').insert({before:knowledgeMessage});
- }
- }catch(e){}
- });
This is a simple example, but you can change this to show any type of information or link.
To read more such interesting posts, click here
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.