Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

breadcrumb widget in service portal

rvenkataraman
Kilo Contributor

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. Do you have any ideas on how to modify the breadcrumb widget to provide the full navigation thread.

Regards,

Raj

1 ACCEPTED SOLUTION

nathanfirth
Tera Guru

Take a look at the implementation within the "KB Category Page" or the "KB Article" widgets as I know it's working correctly there.



It's up the to widgets to determine the correct bread crumb path:



Screen Shot 2016-06-22 at 7.24.39 PM.png



For catalog, if it's not generating the path correct, you may need to create your own recursive function to step up through each category/parent till you reach the top.


View solution in original post

8 REPLIES 8

nathanfirth
Tera Guru

Take a look at the implementation within the "KB Category Page" or the "KB Article" widgets as I know it's working correctly there.



It's up the to widgets to determine the correct bread crumb path:



Screen Shot 2016-06-22 at 7.24.39 PM.png



For catalog, if it's not generating the path correct, you may need to create your own recursive function to step up through each category/parent till you reach the top.


Hi Nathan, 

 

it is working fine with SC and KB Category widgets, but not working for other pages, for example I created a 'My Zone' page with 3 options: My Profile, My Requests, My Surveys, when I choose one of those options, I get in breadcrumbs only Home > My profile, instead of Home > My zone > My profile. Any idea why is it happening? 

 

Many thanks!

Paulina

Hi @paulinabednarik ,

 

Were you able to achieve this requirement. If yes, could you please guide me in updating the widget as I am having the similar requirement.

 

Thanks in advance.

Manaswini.

Hi @nathanfirth 

 

I have cloned the following catalog pages:

sc_category -> xxx_sc_category

sc_cat_item -> xxx_sc_cat_item

sc_home -> xxx_sc_home

 

are you saying that I would need to add a widget or modify an existing widget on each of these pages to then update the breadcrum the way the KB article page widget doing it?