Breadcrumb issue in Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-10-2018 08:23 AM
Hi,
I have a service catalog which has multiple levels of categories and sub-categories. The end user will drill down the tree, and then order the item/service. The OOB breadcrumb widget does not provide the full navigation.
If the user is selecting a sub-category, then the breadcrumb will be as below:
Home > Service catalog > {Sub-category}
whereas it should be:
Home > Service catalog > {Category} > {Sub-category}
The breadcrumb should have full navigation thread.
Please help!!
Thanks,
Gopi
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-10-2018 10:48 AM
Change the HTML Template as shown below by including a link to my request/incidents page
<ul class="nav nav-pills nav-sm">
<li><a ng-href="?id={{portal.homepage_dv}}">${Home}</a></li>
<li><i class="fa fa-chevron-right"></i></li>
<li><a href="https://ustglobaldev.service-now.com/ims/?id=ims_presales_myrequests">My Stuff</a></li>
<li><i class="fa fa-chevron-right"></i></li>
<li><a href>{{page.title}}</a></li>
</ul>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-10-2018 10:22 AM
I also had a query simlar to this.
in ticket form i want Home > MY Request > Ticket form
by using OOB breadcrumbs widget its coming like Home>Ticket form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-10-2018 12:18 PM
As Allen pointed out, it's the widgets that broadcast the hierarchy for the breadcrumbs widget. However, several of the out-of-box widgets do not display the full hierarchy and stop at one level.
We ended up writing our own widget that sits on the page and corrects the breadcrumbs. You can also clone the OOB widgets, but I prefer to not mess with the OOB to make it easier to upgrade.
The structure for catalog and knowledge are a little different, but you can get a list of parent categories with a simple recursive function.
Founder and ServiceNow Architect
NewRocket, Inc.
nathan.firth@newrocket.com
http://serviceportal.io
http://newrocket.com