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.

The best way to update the breadcrumb (Home > ) to a specific page

Fin Nguyen
Tera Guru

Hi Community!

 

I want to update the Home link in the breadcrumb menu to point to a specific page.

ThinhNguyen_0-1700035877366.png

I know we will need to clone the breadcrumbs widget and make a change here. But is there any better way to achieve it rather than hardcoding a URL here?

ThinhNguyen_1-1700036011028.png

 

Thank you!

Regards,
Fin Nguyen
1 ACCEPTED SOLUTION

Peter Bodelier
Giga Sage

Hi @Fin Nguyen 

 

I would use widget options instead of hardcoding it. That way you could reuse the widget in several pages with other targets.


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.

View solution in original post

4 REPLIES 4

Peter Bodelier
Giga Sage

Hi @Fin Nguyen 

 

I would use widget options instead of hardcoding it. That way you could reuse the widget in several pages with other targets.


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.

Hi @Peter Bodelier ,

 

Thanks for your reply, as I can see we currently don't have any Instance Option supports this change, so it means we have to create that?

Regards,
Fin Nguyen

@Fin Nguyen 

 

Yes, that would need to be added.
See here for some explanation around it:

Widget Options | ServiceNow Developers


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.

Dr Atul G- LNG
Tera Patron
Tera Patron

Peter is right, here. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************