I am working on an internal webpage of which has a couple of excel files and a couple of word documents. We need the users to be able to open these documents, edit them then save them just the same as they would in excel. I know most browsers block this from happening but with more applications becoming web based this must have come up before? Does anyone have a suggestion on how to do this?
I have tried doing the <a href="file:///path/file.xlsx"> link but that does not seem to work.
On a side note this is on a file server and some of the folder names are a little on the long side (20-30 characters) but nothing that would excede the limit on path names.
As to editing Office files in the browser, I think just a few browser/OS combination can do that, most likely Edge and IE on Windows. Other browsers and OSes need to download the file for opening it in an external application (like MS Office or LibreOffice). If the file was served via a file URL that points to the file server, saving the file should work, though, assuming the client has write access to it. Also, you need to consider what happens if two users edit the file simultaneously.
posted 5 months ago
Sorry for the delay in responding... What I am trying to accomplish is when a user clicks on a hyperlink MS Excel opens with a specific spreadsheet. This is a function that is working in most of our applications (both excel and word opening up) but anything that I try seems to be blocked from opening up the applications. This seems to be as a result of new security that has been put into modern browsers but as applications are being turned into web apps I am trying to find the best solution to address this.
posted 5 months ago
It's a browser setting that determines what should happen with files, whether to download or display, and if to display, which application to use. For example, in Firefox it's configured under Preferences -> General -> Files and applications