cannot view attachments
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2017 09:39 AM
when I click on "view" an attachment in an incident, it takes me to a download page. How can I get it to let me actually view it in SN?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2017 11:02 AM
Hi Gerry,
Apologies, as I have misunderstood your issue previously.
Just want to echo with naveenaechan that there is a system property named 'glide.ui.attachment.download_mime_types' which defines which kind of attachment (read attachment extension type) will not render inline in the browser and will be downloaded directly. For example, if you click on 'View' for any .pdf attached file it will open in a different window but if you click on any .doc type attached file, it will be downloaded directly.
I hope this helps.Please mark correct/helpful based on impact
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-14-2017 04:55 PM
So, I can view .pdf's but not .doc's ???
Where can I find glide.ui.attachment.download_mime_types? can that be changed to allow .doc's to open like .pdf's?
I looks like google chrome tries to open the .doc's in a separate browser because I get the about:blank window before I get the download window.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-14-2017 11:37 PM
You can find that property in System properties list (sys_property.list), whose default value is empty. But this property is different, see below description.
"A list of comma separated attachment mime types that do not render inline in the browser. This will prevent cross site scripting attacks. For example, text/html will force html files to be downloaded to the client as attachments rather than viewed inline in the browser."
No, other than PDF files which is opened in separate pop up window, you cant read .docs directly. They have to be downloaded.
I recommend, please raise a enhancement request from "Hi" and will be implemented accordingly.
PS: Hit like, Helpful or Correct depending on the impact of the response
Thanks
Naveen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2017 09:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-17-2019 02:23 AM
Use the property glide.ui.attachment.force_download_all_mime_types and set it to false.