Hide breadcrumbs in service portal

Bhupinder1
Giga Expert

How to breadcrumbs via URL parameter in Service Portal.

Case: On user profile page in service portal I'm providing a link to open delegates list view for that user which opens up in another page which uses data table widget. Below is the link added in Body HTML section of the widget-

<a ng-href="?table=sys_user_delegate&id=list&filter=user={{data.sysUserID}}">

Issue: How/What could I pass additional parameter in URL such that filter is hidden on new page when above url is opened ?

4 REPLIES 4

Brad Tilton
ServiceNow Employee
ServiceNow Employee

I don't think the breadcrumbs support that by default. You'd have to clone the breadcrumbs widget, then have it accept a url parameter to hide itself. Or you could just remove the breadcrumbs widget from one of the pages you're linking to.


reginabautista
Kilo Sage

Hi Bhupinder,



Edit your data table widget (if you are using the ootb, you would have to clone it), then on the HTML part, comment out the following lines:


find_real_file.png


Does this hide breadcrumbs everywhere??  If so, is there a way to hide breadcrumbs on specific modules such as Delegates list view in service portal??

 

Abhishek Raj3
Tera Guru

Hi Bhupinder,



Clone the existing "data table from url definition" widget and add to new page.


Configure instance options for this and add below in additional options,json format



find_real_file.png



Thanks,


Abhishek