This question follows on from a previous question that went unanswered.
I've got a requirement in an Azure web app to edit a Document, instead of:-
- Downloading the file
- Open the downloaded file in MS Office Word
- Editing and saving it locally
- Clicking a button on a web form
- Browsing to the edited file and then clicking OK to upload it
The client would like an experience similar to what you get in Sharepoint i.e.
- Click a link to a word document
- MS Office Word starts on the client
- They edit and save the (online) document
One solution I've found is...
Store the Documents in a Azure File Share. Create a login script which would run on every windows client access to set the user name and password for the Azure File Share....
cmdkey /add:<storage_account>.file.core.windows.net /user:AZURE\<storage_account> /pass:<storage_account_key>
Use links in the html like...
<a href='file://///<storage_account>.file.core.windows.net/<storage_container>/test.docx'>Test.doc</a>
There's a number of issues with this.
- It's not a cross browser solution. Whilst this link will cause MS Office Word to be launched and load the document successfully in Firefox and Internet Explorer, it doesn't work in Chrome (which downloads file) and Edge (which doesn't process it at all).
- It's inherently insecure, requiring a single set of credentials being distributed to all the clients that need to access the system.
Can anyone suggest alternative solutions?