Is there a way to move knowledge categories from one knowledge base to another in a way that the articles are moving as well?

Lilla Fekete
Tera Contributor

Hi!

The scenario is that we have two teams that will be united and we would like to have their knowledge under one base as well. So we'd like to move the categories with their respective article from KB A to KB B. Is this possible? 

Thank you for your help in advance.

1 ACCEPTED SOLUTION

SP22
Mega Sage
Mega Sage

Hi,

Please find the KB article link and let me know whether it is useful for you.

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0852780

Thanks

SP

View solution in original post

4 REPLIES 4

Allen Andreas
Administrator
Administrator

Hi,

I just tested this out to verify as I didn't think it'd work and yea...it doesn't.

The knowledge articles aren't necessarily hard stuck to the category. You can move categories from one KB to another and the articles don't come along with it. They're most so tied to the KB itself.

You can write a script though that would query the old KB and category (or categories) and then change the KB sys_id on them to the new KB.

Then, move the category over to the other KB.

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Hi,

Glad you found an answer that worked for you.

That script does what I mentioned above, but yea, it's nice to just reference the script and all that and not come up with it yourself (although it's always a better learning experience to do so).

It also confirms where I mentioned that the KB articles don't simply move when you change the category to another KB.

Take care! 🙂


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Hi Allen,

Thank you so much for your help, I really appreciate it! 🙂

You were really a (life) time saver as we are talking about dozens of KAs and it would be a really time consuming to go trough the approval and publication process one by one. 

Thanks again and have a nice day! 🙂

 

SP22
Mega Sage
Mega Sage

Hi,

Please find the KB article link and let me know whether it is useful for you.

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0852780

Thanks

SP