How to replicate the Tree structure of Knowledge Categories in a SP widget

sudharsanv36
Kilo Guru

Hi All,

We are trying to replicate the native functionality of Knowledge articles, which will group the KB by categories.

You can find the similar functionality at <instance_name>.service-now.com/$knowledge.do

find_real_file.png

The same functionality has to be built in a widget and use that in the Service Portal, Kindly let me know if anybody achieved this.

1 ACCEPTED SOLUTION

larstange
Mega Sage

Actually the code will support any number of sub levels - I have never tried it with more than 3 levels though


View solution in original post

13 REPLIES 13

In the share there is a link to the KB version



https://share.servicenow.com/app.do#/detailV2/3ef9df2713f67a000de935528144b0ee/overview



We tried it and it works great!


Hi, We were able to manage it by stacking the data in the parent-child relations.
The UI team guys helped to bring it in the form of tree.

jralph
Mega Contributor

HI,

Do you have a working link to your widget.  These don't work in "Share".  I get 404 error.

Thanks

June

Saurabh Kulkarn
Tera Contributor

Same with me as well. Could you please share the working code for displaying items in tree structure from a widget which can support any sub levels.