Extracting content from attachments like doc, pdf, png

Basina Akash
Tera Contributor

Hi All,
There is an use case, Where there will be attachments on the incident like doc, pdf or png we need to extract the content in a normal string is there any way to do that,

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@Basina Akash 

As per my understanding you cannot extract content of doc, pdf, png etc within ServiceNow.

You can get content of text file, csv etc using GlideSysAttachment API.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hi @Ankur Bawiskar ,
Is there any way to convert the content in doc into base 64 data and converting into normal string?