Read Content from PDF file

_Gaurav
Kilo Sage

Hi Folks,

I have a requirement to read the content from the PDF/Docx file. I succeed in reading content from the .txt file but couldn't find a way to read from PDF/Docx file. 
Can you guys help to find me, how I can move further on this?

For your reference, I am getting this result.

Thanks

8 REPLIES 8

Hi Gaurav,

So here is the approach

1) create UI action on click of which it would call the mid server script include

2) mid server script include would send few values to the script; table record, sys_id

3) mid server script include will read the attachment content by using java code

Regards
Ankur

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

Hi Ankur,

Thanks for your guidance, I need your small help again.
Can you please provide me the name of the Script Include as I can see number of script includes are there.


Thanks.

Hi Gaurav,

you will have to create your new mid server script include

Regards
Ankur

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

Megha Padale
Giga Guru

Hi Gaurav,

Refer below links, it might help you:

https://docs.servicenow.com/bundle/orlando-platform-user-interface/page/use/using-forms/concept/Docu...

https://hi.service-now.com/kb_view.do?sysparm_article=KB0722859

If my answer helped you in any way, mark answer as helpful and correct.

Thanks and regards,

Megha.