Knowledge Article attachments are downloaded instead of opening in the browser. How can I change this behavior?

Abhinav4
Kilo Contributor

Knowledge Article attachments are downloaded instead of opening in the browser. How can  I change this behavior?

8 REPLIES 8

Thanks for your response but I have created a KB article where "Attachment Link" flag is not checked.

find_real_file.png

BBut when I click on the attachment, it's downloaded and not opening directly in the browser.

 

find_real_file.png

We want attachment to open in the browser and must not be downloaded. I wanted know if there is any configuration which is preventing attachments to open in browser and some security setting in browser is preventing it.

Winny
Tera Contributor

Hi
@Abhinav

 Could you fix this attachment download issue?
I am facing the same issue, please suggest me.
I also want to open the attachment in browser, instead of download in local machine. 

Regards,
Witt

 

Lauren Methena
Giga Guru

Hi, all! Try this - this is something I've started doing recently, and it seems to work.

1. Code your attachment using the link tool. (Type=Attachment > Choose your attachment > Target=New Window. (See image for settings.) Click OK.

find_real_file.png

2. Go into the source code and add "&view=true" right behind the sys_id in the URL. (NOTE: They hygiene feature of ServiceNow will change this to "&view=true" and that's OK - it will still work.

find_real_file.png

This will make it so your attachments open in your PDF viewer (which needs to be activated/installed/etc. within your system for this to work).

Does this work for you? (Just now noticing the date on this question - not sure why it's popping up for me now, haha.) Leaving here in case it helps anyone else along the way. Cheers, all!

 

Hey Lauren,

 

It sure works, thank you very much!

 

KT