Import a knowledge base from static html files

poornima2
Mega Expert

We would like to import an existing KB article we have saved locally as an HTML file to the Service-Now server and create a new KB.
I was provided a script which is in the wiki (http://wiki.service-now.com/index.php?title=Useful_Scripts#Import_a_knowledge_base_from_static_html_files_.26_rename_all_image_tags). This script is supposed to enable uploading of HTML files(including images) to the KB.
My problem is,i can able to upload the file into the KB,but the images are not visible in the KB article
(The images within the articles are not uploading).If anyone else has had success with such an operation, please let us know.

Thanks.

22 REPLIES 22

Can you share what document layout was required when using this script? For instance, did the article short description need to be prefaced by a certain symbol/text?


Hi Poornima,



Thank you but would like to know how did you get the directory path '/glide/instances/lathamtest_16012/webapps/glide/itil/WEB-INF/update/customer/uploads/'; .' . Is this ServiceNow server? Can you please help me to understand.



Thanks


Prashant


prashantnagaral
Kilo Guru

Hi Poornima,



Can you please help me to understand this script.



Thanks


Prashant