You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cloned the repository to test documents edition with Microsoft Office Word (Office 365). I encountered some problems when trying to test it (with Protected Mode enabled).
You can see below the behaviour of editing mode :
My Office Word configuration (for Protected mode) is shown below :
Steps to reproduce
Apply protected mode for potentially dangerous locations
Open a document from an URL (I type ms-word:ofe|u|https://localhost:60225/Doc2.docx in my browser, then I open this document in Office)
Office Word opened document in Protected Mode
I click on button to activate the document edition
Word closed and opened the document to apply Edition mode
⚠️ When document is opened the second time, it is always in Protected mode.
Alternative
Disable Protected mode for potentially dangerous locations
Reopen document with the same URL
Document is directly opened in edition mode
This alternative is not recommended and not desired. I do not want to update this setting on each machine that will use my web application. Moreover, there is not this setting on macOS.
Notices
I have installed the certificate (with GenCertificate.ps1)
I do not have edited the source code
I have Windows 11 with Office 365
Questions
I try to develop a web app that can directly list and edit Office documents. The purpose is not to deactivate the protected mode.
How can we correct this behaviour ?
The text was updated successfully, but these errors were encountered:
fridezlucas
changed the title
Protected mode - Can not activate edition
Office Word : Protected mode - Can not activate edition
Oct 28, 2024
This seems like Office is expecting something special from the WebDAV server, but I'm no expert on Office. Please enable debug logging and try to check the requests that Office makes and how NWebDAV responds to it. Maybe there are some special requests that can't be honored and cause this issue. I cannot really help you with that...
Hi,
I cloned the repository to test documents edition with Microsoft Office Word (Office 365). I encountered some problems when trying to test it (with Protected Mode enabled).
You can see below the behaviour of editing mode :
My Office Word configuration (for Protected mode) is shown below :
Steps to reproduce
ms-word:ofe|u|https://localhost:60225/Doc2.docx
in my browser, then I open this document in Office)Alternative
This alternative is not recommended and not desired. I do not want to update this setting on each machine that will use my web application. Moreover, there is not this setting on macOS.
Notices
GenCertificate.ps1
)Questions
How can we correct this behaviour ?
The text was updated successfully, but these errors were encountered: