Show all Knowledge bases

jeremyo
Kilo Contributor

Hi,

I am working with the new Service Portal in Helsinki and I want to show all knowledge bases.

But how do I do this? It is only showing IT at the moment.

Knowledge.PNG

11 REPLIES 11

brett_karl
ServiceNow Employee
ServiceNow Employee

jeremyo



I've just finished creating Show multiple KBs and Show multiple Catalogs widgets/pages. I'll be putting the update set on share with instructions. I've also attached it here for you to use (without detailed instructions).



  1. Load the attached update set
  2. Navigate to your Service Portal Administration Page
  3. Point your Knowledge Base Page field to 'knowledge'
  4. Point your Service Catalog Page to 'service_catalog'
  5. Navigate to your Knowledge Bases and only enable the ones you want to use (active vs inactive)
  6. Navigate to your Service Catalogs and only enable the ones you want to use (active vs inactive)


I did not create a custom field to show KB or SC in Portal, but this can be done and the widgets can be altered to accomplish this.



You will also notice that when searching for catalog items or knowledge bases, the catalogs and KBs are expanded on the left side (with corresponding counts).



If you do not want to use multiple KBs or Catalogs, change your Knowledge Base Page field on the Service Portal Administration Page back to kb_view2 and yourService Catalog Page field to sc_home.



If you do not want to search multiple catalogs and KB's, only set 1 KB and/or 1 SC to active.



Obviously, this solution can be improved upon. Good luck and let me know if you have any questions!


Thanks! 🙂


Really Great Brett, thanks a lot.



There is just one issue, the breadcrumb, if I click on knowledge now, i'm redirected to kb_view2 where there is nothing


Hi Brett,



Thanks for the share,



I have a similar requirement where user can search thru multiple kb but result should be restricted base on user criteria, is this something your solution can fix? or is there a similar command like the one below that is applicable to KB so user can only view what they are allowed to see.



var catItem = GlideappCatalogItem.get(sc.sys_id.getDisplayValue());
if (!catItem.canViewOnSearch())


Thanks


Broderick


Hi Brett



Apologies for possibly lame question but would you be able to confirm on point 3 and 4 of your user guide how exactly is it done?  


I am new to servicenow and was unable to locate those particular pages you are referring to.



Thanks in advance


Jack