Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Menu menu - showing "topic_name" instead of actual topic name on page on breadcrumb menu

hailm2
Tera Contributor

I cloned the page from one of our pages for the design, however, when I preview the template - the breadcrumb menu is showing "topic_name" in the breadcrumb menu instead of the actual name of the page.Screenshot 2026-04-29 102703.png

Any thoughts/ideas on what I may have done incorrectly or how to fix this?

 

Thanks!

1 ACCEPTED SOLUTION

Hello @hailm2 

Keep pressing the Ctrl key (Windows) or Control key (mac) and then make a left click in the middle of the page where you can click (Release key) on Widget in Editor to open and look for the HTML code for breadcrum as well as you can click Page in Designer and hover the mouse over the breadcrum to find the name of the widget.

You can also navigate to All > Service Portal > Pages to find the page with ID which you see in the URL (/sp?id=). Once you open this page then under Page Content you will find out Instance: under each container where the Containter 1 Instance: will be the name of the widget which you can open it from here or navigate to All > Service Portal > Widgets.


Hope that helps!

View solution in original post

5 REPLIES 5

Tanushree Maiti
Kilo Patron

Hi @hailm2 

 

You have created Old widget ->New widget using clone

 

Now go to your old widget -> Open the server-side script of this content widget and look for hardcoded references to the old widget ID

 

Replace that id with New widget id.

 

 

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

Vishal Jaswal
Giga Sage

Hello @hailm2 

If you can share the code where topic_name is defined, then it will be easy to understand what changes are required. 

You can adhere to "Working with the Breadcrumb Widget for Service Portal" KB here: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0719179 


Hope that helps!

Where can I find the code at?  Thank you.

Hello @hailm2 

Keep pressing the Ctrl key (Windows) or Control key (mac) and then make a left click in the middle of the page where you can click (Release key) on Widget in Editor to open and look for the HTML code for breadcrum as well as you can click Page in Designer and hover the mouse over the breadcrum to find the name of the widget.

You can also navigate to All > Service Portal > Pages to find the page with ID which you see in the URL (/sp?id=). Once you open this page then under Page Content you will find out Instance: under each container where the Containter 1 Instance: will be the name of the widget which you can open it from here or navigate to All > Service Portal > Widgets.


Hope that helps!