Adding header to UI Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2013 04:50 AM
Im wondering is there a way to add a header to a UI Page? I am working with the kb_view UI Page and I am trying to give it the same feel as the rest of our CMS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-03-2014 09:11 AM
Hi Alex,
thank you for reply. Unfortunately the link does not take me directly to the article. it takes me to the ess page. In demo i created a page kb.do and added the header and footer.
I am trying to modify the ui macro " kb_article_footer" to open with header and footer but it doesn't work. Here is my code.
<script>
var len = location.href.indexOf("ess") + 3;
var base = location.href.substring(0,len);
var urlpath = base + "/" + "kb.do?uri=kb_view.do" + "?sysparm_article=$[URL:kb.number]";
gel("permalink").href = urlpath;
gel("permatext").innerHTML = urlpath;
</script>
Do you know how i can modify the url so it can open the article instead of the just sending me to ess/kb.do ?
thanks,
Magdalena
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-11-2015 02:44 PM
I just got done writing a tutorial on how to do just this. I have knowledge and service catalog with matching templates running in CMS without iframes, and without impacting the main interface.
Check it out and let me know if this works for you: Using UI Pages in a CMS Site without iFrames - ServiceNow Content Management - ServiceNow CMS