Breadcrumb issue in Service Portal

Gopi22
Giga Guru

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

7 REPLIES 7

Allen Andreas
Administrator
Administrator

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!

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

Hi,

 

Please try this link instead:

https://docs.servicenow.com/bundle/kingston-it-service-management/page/product/service-catalog-manag...


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

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);