- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 06:54 AM
On the case record we have attachment icon, and while preview the attachment it is showing an error but I want to preview the file before downloading is there any possibility?
In the attachment table, the file content type is application/octet-stream
Can we change the content type to pdf?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2025 10:20 AM - edited 04-17-2025 10:20 AM
Hello @zeerodger27 ,
Please submit a case on Now Support. There is either something wrong with ServiceNow's MIME type detection, or some of the PDFs that you are uploading have an improper internal format that prevents them from being recognized as PDF files.
Regards,
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 07:19 AM - edited 04-16-2025 07:20 AM
Hello @zeerodger27 ,
The type octet-stream refers to binary files that are meant to be opened with a specific application. Unless you are absolutely sure that this particular file is a PDF (try downloading it and adding the extension ".PDF" and see if you can open it with a PDF viewer) you cannot "convert" that file because you won't know that type of file it actually is. Does the attachment have an extension?
Regards,
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 07:30 AM
Attachment is having an extension of .pdf but content type is application/octet-stream
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 08:26 AM
@zeerodger27 And does it open with a PDF viewer after downloading it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 12:58 PM
Yes, it has content after downloading