Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How we can read data from word document attached in knowledge article?

shareknowledge
Kilo Contributor

Actually i want to read data or copy data (Images, tables, text etc) from the word document attached in knowledge article and then i want that data to be copied or put into the knowledge Text field.

5 REPLIES 5

Michael Fry1
Kilo Patron

You would have to take the word doc and import it into the KB to get the data to populate in the article text field: Importing Word documents into the Knowledge Base


Hi Michael,



Thank you for the reply, but actually i want to copy text or data from the attachment (doc. file ) attached in knowledge ticket. for e.g.   File name abc.doc attached in knowledge ticket KB000XXX and i want that the data of that doc file to be copied in KB000XXX   text field.


Hi Aman,



I have gone through the below link for reading the content of attachment if it is plain text. It may be helpful to some extent.



I tried in my background script and it is returning the result if the attachment is a plain text.



snprotips.com/blog/2016/2/25/understanding-and-using-glideattachment


Thank you Vinoth