WebDAV cross browser support

Maarten van den Hooven asked on September 18, 2015 13:15

We build a couple of websites where you can have document collaboration, so share, edit, create and read documents. We did this with WebDav and also with a combination of Sharepoint, Web Apps and One Drive.

But now we have an inquiry for an client who wants to use only Kentico, of course a EXCELENT CHOICE :-) but they also want to have it working cross browser. At the moment this is not possible because WebDAV is only compatible with Internet Explorer. See the documentation.

Does somebody has any experience with changing the WebDAV code to achieve this goal, or maybe has experience with an workaround.

I also posted this on user voice in the hope that I can collect a lot of votes to integrate something nice in an future version of Kentico. So please vote!!!!

Correct Answer

Jeroen Fürst answered on September 18, 2015 14:41

Hey Maarten, I have used FFWinPlugin to get WebDAV working in Firefox https://msdn.microsoft.com/en-us/library/ff407576.aspx.

I changed two files:

CMSFormControls\Media\DirectUploadControl.ascx and added: <object id="winFirefoxPlugin" type="application/x-sharepoint" width="0" height="0" style="visibility: hidden;">

CMSScripts\WebDAV.js and added:

var hownowPlugin = document.getElementById("winFirefoxPlugin");
var version = hownowPlugin.GetOfficeVersion();

hownowPlugin.EditDocument(strDocument, version);

Simply add some logic to determine the browser is Firefox and you are good to go :)

I am not aware of any other plugins to get other browsers supported but I guess the implementation will be similar.

Good luck and happy coding! :)

1 votesVote for this answer Unmark Correct answer

Recent Answers


Maarten van den Hooven answered on September 18, 2015 14:48

Thanks Jeroen for your answer, now we can have it working in FF :-)

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.