Issue with view option in attachment

Eswar Chappa
Mega Sage
Mega Sage

I had an issue with xlsx and doc files while clicking on view, Instead of viewing it is downloading file directly into system.

But for PDF and PNG files it was viewing instead of downloading

Is there any solution to view it instead of downloading XLSX and DOC. In system properties i made changes as below

System property:- glide.ui.attachment.force_download_all_mime_types - value - false

 System Property:- glide.ui.attachment.download_mime_types value - text/html,image/svg,image/svg+xml

 Thanks in advance

find_real_file.png

1 ACCEPTED SOLUTION

Hi Martin,

Thanks for the reply.

Below link resolved my requirement

https://community.servicenow.com/community?id=community_video&sys_id=38006b59dbdf6810fa192183ca96192a 

View solution in original post

2 REPLIES 2

Martin Ivanov
Giga Sage
Giga Sage

How can you preview/view docx or xlsx in a browser? You cannot. This is the only option.

Mark Correct AND Helpful. Thanks!


Please mark Correct and click the Thumb up if my answer helps you resolve your issue. Thanks!
Martin Ivanov
ServiceNow MVP 2023, 2024

Hi Martin,

Thanks for the reply.

Below link resolved my requirement

https://community.servicenow.com/community?id=community_video&sys_id=38006b59dbdf6810fa192183ca96192a