Help with Migrating Knowledge articles containing knowledge blocks

Mrman
Tera Guru

Hi All,

I am in the process of migrating the knowledge articles from one instance to another .

Some of the knowledge articles have knowledge blocks added and I am exporting XML of  all articles from 'kb_knowledge' table .

Also, exported the XML of knowledge versions from 'kb_version' table . 

I have then imported both these XML into the other instance . The articles are imported properly and all the attachments are also imported . 

The problem I am facing is when I click on 'View article' for  the Knowledge articles having knowledge blocks added in them . These articles are not showing the content inside the blocks and just displaying the Block number and name . Please see attached image .

Request you to let me know if I am have done something wrong in importing the articles containing the knowledge blocks.

find_real_file.png

1 ACCEPTED SOLUTION

sachin_namjoshi
Kilo Patron
Kilo Patron

You will also have to export and import XML from below tables as well

 

kb_knowledge_block

 

m2m_kb_to_block_history

 

Regards,

Sachin

View solution in original post

2 REPLIES 2

sachin_namjoshi
Kilo Patron
Kilo Patron

You will also have to export and import XML from below tables as well

 

kb_knowledge_block

 

m2m_kb_to_block_history

 

Regards,

Sachin

Michael Ritchie
ServiceNow Employee
ServiceNow Employee

You can use the Add to Update Set Utility in Share as it will capture the KB article and associated blocks too.  I created a few blog articles describing its functionality:

Migrating Dashboards and Reports via Add to Update Set Utility

Add to Update Set Utility Documentation and Custom Configurations

 

Now one thing that is extremely tricky with KB article is versioning.  Unfortunately the Add to Update Set utility doesn't handle that completely as I had challenges figuring out the data model and the right records to move.

 

Please mark this post or any as helpful or the correct answer to your question so others viewing may benefit.