The CreatorCon Call for Content is officially open! Get started here.

Hide breadcrumb Service Portal widget "Data Table from Instance Definition"

Mark Roethof
Tera Patron
Tera Patron

Hi all,

I'm struggling a bit with the configuration of a Service Portal widget. Feels like I'm just overlooking something really simple... though what 🙂

What I'm after... A page with Service Portal widget "Data Table from Instance Definition" and hiding the actual breadcrumb.

Now it looks like:

find_real_file.png

 

I tried adding below code to the Additional options of the sp_instance_table record. Added this because the inspector shows a options.show_breadcrumbs.

find_real_file.png

find_real_file.png

 

Somehow still, the breadcrumb is not hidden 😞 Any thoughts on what I missed here?

Obviously, I could hide the breadcrumb through CSS on the sp_instance_table (and works instantly with below). Though, if possible I would like to hide the breadcrumb through the options.show_breadcrums.

find_real_file.png

 

Any thoughts on this?

 

Kind regards,
Mark

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

1 ACCEPTED SOLUTION

Mark Roethof
Tera Patron
Tera Patron

Ended up just applying the CSS "workaround":

Obviously, I could hide the breadcrumb through CSS on the sp_instance_table (and works instantly with below). 

image

Kind regards,
Mark

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

View solution in original post

5 REPLIES 5

a_anshu
Giga Expert

Hi Mark,

To hide breadcrumbs, you will need to find show_breadcrumbs in the server script and make it false.

find_real_file.png

This should hide the breadcrumb.

 

Warm Regards,

Abhinav

That doesn't feel correct. There is already a options.show_breadcrumbs. So how to influence this one, instead of editing/cloning widgets?

Kind regards,
Mark

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Mark Roethof
Tera Patron
Tera Patron

Ended up just applying the CSS "workaround":

Obviously, I could hide the breadcrumb through CSS on the sp_instance_table (and works instantly with below). 

image

Kind regards,
Mark

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Simply brilliant!

I have always gone with the cloning solution, your solution is really good.

 

Thanks Mark.