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 08:38 AM
Hi,
Please see this link: https://community.servicenow.com/community?id=community_question&sys_id=5adfc3a5dbdcdbc01dcaf3231f96...
But basically the widget itself, determines the breadcrumb. So something on your end isn't walking correctly.
For you, I'd take a look at that subcategory to see if it is truly listed under that category or linked as a parent to that subcategory, etc.
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-10-2018 08:44 AM
Hi Allen,
Thanks for update 🙂
I have linked them correctly to parent category.
This is OOB behavior which shows: Home > Service catalog > {Sub-category} which i need to change.
Please help!!
Thanks,
Gopi

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-10-2018 09:03 AM
Hi,
Please try this link instead:
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-10-2018 09:46 AM
You can define them yourself.
// In server script populate var with breadcrumbs
data.breadcrumbs = [{label: 'Approvals', url: 'sp?id=approvals'}];
// In client script ( make sure to include $timeout at the top )
$timeout(function(){
$rootScope.$broadcast('sp.update.breadcrumbs', $scope.data.breadcrumbs);
},100);