cannot view attachments

Gerry Crumbley
Giga Expert

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?

15 REPLIES 15

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


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.


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


Hi Gerry,


gerrycrumbley



Just wanted to check with you, everything got answered ?


GV Saranesh Kum
Kilo Guru

Use the property glide.ui.attachment.force_download_all_mime_types and set it to false.