Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Breadcrumbs in project workspace are not working as expected

jordimsant
Kilo Sage

Hi community,

 

I have a peculiar problem that I need to solve.

 

My entity has asked me to add a new tab to Project Workspace. Adding this tab and synchronizing it with breadcrumbs was relatively easy, and I already wrote some articles with respect to this in the community.

 

Nonetheless, a user has found a bug. Currently, if you access the list tab, enter a record and reload the page, breadcrumbs become crazy and change to Project > (whatever), as you can see in the image.

problem with project workspace breadcrumbs.gif

In fact, I have done some research and the problem is that the navigation context changes. When you reload the page, it is not retrieving the actual URL and params but it retrieves a different URL pointing "home" tab.

 

When I talk about "context" I am using the name of the general parameter you can find in the breadcrumbs controlled AppShellBreadcrumbItemsProvider which precisely manages breadcrumb generation.

 

Does anybody know why this is happening? If anybody could lead me into finding a solution, I would be very grateful. How is context modified when you reload the page? Why is it changing the URL if I am just reloading the page?

 

Thanks everybody in advanced

1 REPLY 1

Tanushree Maiti
Tera Sage

Please refer this links, see if it helps you:

 

https://www.servicenow.com/community/developer-forum/help-with-service-portal-breadcrumbs/m-p/236544...

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: