Read Content from PDF file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2020 10:47 AM
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
- Labels:
-
Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2020 11:14 PM
Hi Gaurav,
This won't be possible in ServiceNow itself. As you rightly said you are able to read content of .txt file; you can also read content of csv or xls file but not for Pdf
you would require a mid server script include to get the file content
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2020 12:18 AM
Thanks for the response Ankur,
Can you guide me how I can do that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2020 12:34 AM
Hi Gaurav,
I would like to understand where the pdf resides
1) Are you saying pdf would be attached to table record
2) You want to get data from that pdf line by line
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2020 12:09 AM
Hi Ankur,
The scenario is like, I will add the attachment in the record and there is a UI Action labeled as "Read Content". Once I hit that UI Action I want all the content to populate in the description field.
I want to read the data line by line