How to change the breadcrumbs routing url in Service Portal

Jaya4
Kilo Guru

I have created two custom pages in service portal for Knowledge Article. 

Under Knowledge menu, I have created on drop down. That drop down will route one of my custom page. Once i click any of the article in the custom page it will move to next custom page. Here all  changes are working fine.

But when I want to go back using the breadcrumbs, the breadcrumbs moving me to the OOB article bage not my custom article page.

Is there any way to change the routing stuff in breadcrumbs as well.

Thanks

10 REPLIES 10

You mean here?, these redirect to KB category page not kb article page

I am not able to share the image as my instance is not available.

 

Let me explain you what I did.

1. Created two custom pages, one is kb_category_custom and kb_article_custom.

2. Under Knowledge menu, I added to drop down menu names as Policies and  associated with kb_category_custom, so that I can able to see all the categories in the page, with some changes in the page. Thereafter, I updated the widget you mentioned above with my new page name i.e. kb_article_custom. - In the same way you mentioned.

3. Once i click on Knowledge --> Policies, it is taking me the kb_category_custom --> Good. Here the Breadcrumbs is also coming fine Home--> Knowledge Base --> IT --> Policies

4. Click on the article and the page will route to kb_article_custom.- Good. It working as expected. Bread crumbs Home--> Knowledge Base --> IT --> Policies --> System

 

Now When I click on the Policies here, it is taking to to kb_category page not the kb_category_custom.

 

Although, my last page was kb_category_custom.

Apologies for this big reply.

And thanks for the interest 🙂 

Alikutty A
Tera Sage

Hello,

You should change the breadcrumb URLs in your custom article page. Open your custom article page widget in designer and within the Server script, locate the code which deals with the breadcrumb URLs and replace the OOB page name with your custom one in here.  You can search for breadcrumbs in it to locate the code.

Once you do this, the breadcrumbs will route to your custom page.

Thanks!

I think widget - breadcrumbs, take care of all the breadcrumbs. But there is no server side scripting in the widget.

 

Not really, The breadcrumbs logic is appended by the widgets which depend on it. The actual breadcrumbs widget just renders the data send by other widgets except for the Home link.

You are checking on the breadcrumbs widget where you wont see this logic. Please check in the article page widget or your KB category page widget. You will see how breadcrumbs are induced from the client & server side of the widget.