Add link in service banner
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-07-2017 03:56 AM
Hi,
I have to add a link in banner to navigate in service -now.I have tried but it is not working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-07-2017 04:14 AM
Hello Gomathyshankar Selvakumar,
Banner logo link
Properties are available to control the URL and target frame used when clicking the banner logo.
- glide.banner.image.url: URL used when clicking the banner image
- glide.banner.image.url_target: Target frame used when clicking the banner image
- gsft_main for the main frame
- _top to replace the current browser window
- _blank for a new window/tab
Here you go.
Thanks,
Rajashekhar Mushke
Rising star : 2022 - 2024
Community Leader -2018
Connect me on LinkedIn : Rajashekhar Mushke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-07-2017 04:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-07-2017 04:44 AM
Please Refer :
Top Navigation Buttons (Geneva) — ServiceNow Elite
Thanks,
Rajashekhar Mushke
Rising star : 2022 - 2024
Community Leader -2018
Connect me on LinkedIn : Rajashekhar Mushke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-07-2017 04:51 AM
I am going to work on this more when I have time.
UI Script: Navigation Bar Buttons
Script:
document.addEventListener("DOMContentLoaded", function(event) {
var theLinkElement = getTopWindow().document.querySelector("a[class~=headerlink]");
//Only insert if the user has roles and the links are not on the page already
if(g_user.hasRoles() && jQuery(theLinkElement).length == 0){
var theStyle = "float: right; padding:0px;font-size: 1.3rem; margin: 8px 0px 0px 0px;" +
"width: auto; height: 25px; text-align: center;" +
"color: white";
//Common styling using div & spans
var linkDivOpen = '<div><span style="' + theStyle + '">';
var linkDivClose = "</span></div>";
//Links
var essLink = "<a target='_blank' href='/ess' id='essLink' style='color: inherit;text-decoration: none;'><span class='btn btn-icon icon-cart' style='font-size: 20px;' />Self Service</a>"; //);
var sneLink = "<a target='_blank' href='http://www.servicenowelite.com' id='sneLink' style='color: inherit;text-decoration: none;'><span class='btn btn-icon icon-lightbulb' style='font-size: 20px;' />ServiceNow Elite</a>"; //);
var theHeaderElement = getTopWindow().document.querySelector(".nav.navbar-right");
//Insert the links
jQuery(linkDivOpen + essLink + linkDivClose).insertAfter(theHeaderElement);
jQuery(linkDivOpen + sneLink + linkDivClose).insertAfter(theHeaderElement);
}
});
Thanks,
Rajashekhar Mushke
Rising star : 2022 - 2024
Community Leader -2018
Connect me on LinkedIn : Rajashekhar Mushke