Extracting content from attachments like doc, pdf, png
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-14-2025 04:21 AM
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,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-14-2025 05:29 AM
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.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-14-2025 09:58 AM
Hi @Ankur Bawiskar ,
Is there any way to convert the content in doc into base 64 data and converting into normal string?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-14-2025 05:42 AM