- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
on ‎09-23-2019 11:42 AM
Best Practice:
Export/Import Knowledge Bases, Categories, and Articles in batches. Do not attempt to transfer all at once as some KB Articles may be bigger than others and can cause corruption, issues or unintended issues (missing attachments and other items) that are easier to fix in batches then an all or nothing method.
Also, create a local update set prior to starting just in case.
Example:
Need to export Knowledge Base, its Categories and all its relative Articles from SNOWsiteA too SNOWsiteB.
Follow these steps:
- Be sure to export the Knowledge Base from SNOWsiteA and import the intended SNOWsiteB (Production, Test, Development, etc.).
- Export the Knowledge Base Categories from SNOWsiteA and import the intended SNOWsiteB
- Export the Articles from SNOWsiteA:
-
- Go to SNOWsiteA Knowledge > Articles > All.
- Create a filter to render a scoped export.
- Right-click at the tables banner > Export > XML
- Import the Articles to SNOWsiteB
- Post Import
-
- Update all articles hardcoded hyperlinks to correct links
- doublecheck all attachments and images
- doublecheck styling
- all other check and tests need to be applied.
Was this Helpful?? Please reply or click Helpful if it helped!
- 7,984 Views
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Update all articles hardcoded hyperlinks to correct links
Can't it be automated? Do we have to manually update links?
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Honestly, there probably is a third-party app for that, but at this time I dont think you can do it.
It just doesnt make sense either. If the links are from another KB like SharePoint or Confluence, and one is migrating to ServiceNow where the KB Articles don't exist yet.
Key questions to automate the link update:
- Where/how will you point the new links to via automation?
- IF hyperlink SNOWKBarticle_1B doesnt exist in > go to SNOWKBarticle_1A hyperlink > Extract > upload > Publish > Generate SNOWKBarticle_1B > Update SNOWKBarticle_1 hyperlink SNOWKBarticle_1A == SNOWBarticle_1B hyperlink...
- Will SNOW connect to CONFLUENCE (or other KB System...), will it be able to self check... i dont know maybe....
it seems like a lot more coding would be required, then to have the owners of those articles make the necessary changes or to do it manually... it isnt fun...
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi,
I tried this method and was able to import only the articles. The categories remained empty. is there anything else that can be done?

- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi, thanks for the guide, really good initiative!
Question: shouldn't one also migrate User Criteria, user records for KB Owners and KB Managers, and maybe some more stuff? Also, the Service Portal in the receiving instance should be configured for which of the KBs should be shown there. Just off the top of my head, there may be more.
cheers, hope that helps /Tommy
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
HI, When exporting the articles. will the metadata such as tags versioning and images export as well?
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hello,
Great info!
Does importing Categories separately and articles separately can update the respective categories in the respective articles?
What do we need to align respective categories for that respective articles.
Thanks in advance!
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi, Import the categories. And then the articles and everything would update. Also I recommend creating articles in prod and working u way backwards to dev and uat. Just incase u have other users using KB in production their article numbers won’t conflict with the ones u created. U can make a kb in dev with kb1234 and an end user will make one in prod with kb1234 and when u import yours it will show duplicated kb’s and it’s a pain.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
I had also to export/import the kb_version records related to Kb article.