We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Knowledge base article export with images

Moedeb
Tera Guru

Wondering if anyone knows of a way to export knowledge base articles into word for example, or PDF or whatever that would keep all text, formatting and images?

Ultimately we are going to be moving to a new instance of ServiceNow and would like to not have to rewrite and create new images for the knowledge articles we want to keep.

1 REPLY 1

Not applicable

Hi @Moedeb ,

Try creating a UI Action with this code :

function createDoc() {  
  var sysparm_table = g_form.getTableName();  
  var sysparm_sys_id = g_form.getUniqueValue().toString();  
  var url = sysparm_table + '.do?DOCX&sys_id=' + sysparm_sys_id;  
  window.open(url);  
}  

 

Or, refer to this thread which is as per your requirement: https://community.servicenow.com/community?id=community_question&sys_id=ac2d03a9db9cdbc01dcaf3231f96...

Mark my answer correct & Helpful, if Applicable.

Thanks,

Sandeep