Forum Discussion
SeanL95
Aug 30, 2022Copper Contributor
WebDAV protocol difference from 2016 to 365
Hey Don't know if this is the right forum but hope you can help. I have a client who uses a custom WebDAV on-premise server together with Saperion as document handler, they do NOT use SharePoi...
Gmoniker
Aug 29, 2023Copper Contributor
We ran into this also when a customer switched to office 365. We employ a webdav server that allow the users to checkout documents exclusively and save them back to the webdav system. But with office 365 Excel refused, because the file might be shared.
It is the call to _api/web/GetFileByUrl(@v) that spoils the flow. If Excel doesn't get some formatted response back (even though there is no prior indication of this being a SharePoint system), then it will block webdav saving.
We encountered something like this with Office 2007, and now the refusal to properly interoperate with standard systems is back again.
Fortunately if you can intercept these calls and send back a response a simple json response will do.
Content-Type: application/json; odata.metadata=minimal
{ 'value' : [] }
Now Excel 365 will assume there are no sharers, or that it legitimately cannot get that information and just uses the LOCK mechanism.
Happy webdav'ing.
It is the call to _api/web/GetFileByUrl(@v) that spoils the flow. If Excel doesn't get some formatted response back (even though there is no prior indication of this being a SharePoint system), then it will block webdav saving.
We encountered something like this with Office 2007, and now the refusal to properly interoperate with standard systems is back again.
Fortunately if you can intercept these calls and send back a response a simple json response will do.
Content-Type: application/json; odata.metadata=minimal
{ 'value' : [] }
Now Excel 365 will assume there are no sharers, or that it legitimately cannot get that information and just uses the LOCK mechanism.
Happy webdav'ing.
- GmonikerAug 29, 2023Copper ContributorP.s. Forgot to mention.
The OPTIONS call to / of the system is back also. If your webdav system doesn't respond on root, then you will have to make up for that also, even if your sharing is not in the root.
Just like in the Office 2007 days. 😞