Prevent Edge from opening Office files

Copper Contributor

Hi everybody

 

I do not know if this hub is the proper place to report this problem, but I have been last hour “binging” where to and I think this one is the closest to my problem.

 

I am a web developer for my organization. Most of my organization’s computers are behind a proxy that does not allow then to go to internet, only to intranet.

 

I am developing a web application that needs to download an Excel xls template and every time I download this xls template, Edge tries to open it online instead of saving it locally. This is really a problem as computers cannot go internet (due to proxy) and eventually Edge is not allowed to load on-line Excel and the process fails.

 

Is there some way to prevent Edge from opening office files from html o Javascript? As web developer I cannot push any policy to my organization's computers and I need to force Edge to download this file. I really wouldn't like to to insert a “Don’t use Edge in this site. Use Chrome instead” banner in my web app.

 

Thank you. Regards

2 Replies

@pererexxl Hi!  I was first going to suggest investigating the QuickViewOfficeFilesEnabled policy, but understand that is not an option in this case.

 

Eric Lawrence from Microsoft has written about this feature.  Here is a link to his blog: “Can I… in the new Edge?” (Un-FAQ) – text/plain (textslashplain.com).  Can you use one of the options listed to bypass the feature?  

 

-Kelly

 

 

@Kelly_Y 
Yep, this helped me.

in edge go to settings > Downloads > turn off "Open Office files in the browser"