Relate Knowledge Article to another

kittu1
Giga Contributor

Hi,

 

Is thir a way to relate one Knowledge Article to another? We have created a tab called "Related Knowledge Articles" which have the Edit and New buttons in the Related list.

 

When I select the "New" from Article "X" it creates an Article "Y" and X has the Y reference under "Related Knowledge Articles" tab. But Y doesnot hold the "X" reference.

 

Can we have a Client script or Business Rule which will link the two Articles (Article "X" should hold the "Y" reference and Article "Y" should have "X" reference uner this tab. Attaches the screenshot of Related List.

 

Can anyone help with the code to implement this.

 

Thanks,

Krishna.

 


6 REPLIES 6

Slava Savitsky
Giga Sage

What you have set up looks like a one-to-many relationship. Article "Y" in your example will have Article "X" in Related Article field, not in Related Knowledge Articles related list.



If you need a many-to-many relationship, pairs of related articles have to be stored in a separate table. You can relate Knowledge [kb_knowledge] table to itself by creating an m2m table as explained in the following Wiki article: Creating a Many-to-Many Relationship - ServiceNow Wiki


Slava/ Vamsee,



I've implemented a many-to-many list of related knowledge.   It makes it easy for users to find articles similar to the one they're currently reading and also allows for 'books of knowledge' from specific communities of practice with multiple chapters. It's an easy enhancement, but the value has been fantastic.



Britt Champeau


Thumbs up! I am very glad to hear it worked well for you and your organization.


Hello Britt,




The functionality you describe is exactly what I'm looking for. I'd like to place a list of related KB articles in a list to the right of the article but can't find instructions on how to implement this.




I'm not the sys admin for our instance of SN; I'm the quality control admin for the Knowledge base. Can you supply a link to a tut on how to provide a list of related articles for a currently read KB article? If it's something I can implement in the KB article template, great. otherwise I'll pass it on to the sys admin.



Thanks for your help!



Bill Milhoan


Cleveland, OH