We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Roles to make breadcrumb widget work?

Conan Lloyd1
Tera Contributor

We seem to be having a role issue with the snh breadcrumb widget.  When a user with the itil role views the page in the portal, they see this:

ConanLloyd1_0-1768257440418.png

 

But when a non-itil user looks at the same page:

ConanLloyd1_1-1768257558068.png

Note the blank spot in the breadcrumbs.  Also if I click on the REQ link, I get a 404 page, likely since the page shows up as undefined in the link: https://lazarddev.service-now.com/sp?id=undefined&sys_id=64af59d02b2c325041a5fc385e91bf78&table=sc_r...

 

Does anyone have any idea where I can look for what's causing this?  I tried giving a read role to the sc_request table without effect

 

~Conan

6 REPLIES 6

If don't in your test, probably could be problem of ACL to the sys_user_preference, users with ITIL usually have more permissions than the others. Do you can create 2 ACLs of read/write with the condition: user == gs.getUserID() AND or OR name IN ('snhbc','snhses'). Depends of your necessity. Let me know if the user preferences to user without ITIL is not filling. 

Tejas Adhalrao
Tera Guru

hi @Conan Lloyd1   ,,,The breadcrumb shows blank and 404 errors because non-itil users don’t have read access to the related records (like sc_request or sc_req_item). The widget can’t resolve the record name or page link, so it displays “undefined.” Check and adjust the Read ACLs or page access roles for those tables to fix it.