TIP WebDAVLinkPlugin is not installed on Foswiki.org.

WebDAVLinkPlugin

Automatically open links to WebDAV resources in local applications icon.png

Usage

This plugin adds support that helps you edit files held in WebDAV resources using native applications (such as Microsoft Word) when you click on a link in the browser. It is designed specifically for use with the WebDAVContrib, but is flexible enough to be used with any WebDAV provider.

The plugin supports the following standard file extensions for opening files in Microsoft Office tools from Internet Explorer:
  • .doc, .docx, .docm, .dotm
  • .xls, .xlsx, .xlsm, .xlt, .xltx, .xltm, .xlsb, .xlam
  • .ppt, .pptx, .pptm, .pot, .potx, .potm, .ppam, .ppsx, .ppsm

You don't have to do anything other than enable and configure the plugin. It will scan your topics for anchor links, and automatically redirect those links that refer to the webdav servers you identify.

Both Internet Explorer and Firefox require some client-side setup steps.

Installation Instructions

You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server.

Open configure, and open the "Extensions" section. Use "Find More Extensions" to get a list of available extensions. Select "Install".

If you have any problems, or if the extension isn't available in configure, then you can still install manually from the command-line. See http://foswiki.org/Support/ManuallyInstallingExtensions for more help.

Configuring the plugin

You must run configure and give a value for {Plugins}{WebDAVLinkPlugin}{URLs} so the plugin knows where your WebDAV servers are.

The plugin will automatically detect links in your pages that refer to the URLs you specify in the plugin configuration.

If the directories where you store Foswiki attachments on the server are accessible using WebDAV, you can configure attachment tables with a control that opens attachments using native applications. This plugin ships with a skin template, templates/attachtables.webdav.tmpl, that customises some features of the default skins to include appropriate links to open attachments and folders. The template is enabled by adding webdav to the skin path (see SitePreferences), for example:
    * Set SKIN = webdav,pattern
You will see a "WebDAV" column in attachment tables (and in Internet Explorer only, an "Open WebFolder" link on the right).

The template is not guaranteed to work with other skins, but should provide sufficient inspiration for you to be able to customise them if necessary.

Note: if you want to be able to open WebFolders from Firefox, you may find the "Open as WebFolder" Firefox extension to be of value (not included in this package).

Configuring Internet Explorer

In the Internet Explorer menu bar:
  • Select Tools -> Internet Options
  • Select Security and select the "Trusted Sites" zone
  • Click on "Sites"
    • Deselect "Require server verification" unless this is an https: site
    • In the dialog, add the webdav site e.g http://myserver.com
    • Close the "Trusted Sites" dialog

WebDAV-trusted-sites1.png

WebDAV-trusted-sites2.png

  • Select "Custom level"
    • Scroll down to the "ActiveX controls and plug-ins" section
    • Scroll down to "Initialise and script Active X controls not marked as safe for scripting"
    • Select the "Prompt" radio button
    • OK the "Security Settings - Trusted Sites Zone" dialog

WebDAV-custom-level.png

WebDAV-security-settings.png

  • OK the "Internet Options" dialog

Configuring Firefox

Download and install the signed firefox plugin from the Foswiki site: https://foswiki.org/pub/Extensions/WebDAVLinkPlugin/webdavlink-1.7-fx.xpi=

Use the extension preferences to tell the extension what program to use to open WebDAV links.

If you have configured the plugin correctly you should see the edit features in the table of attachments to this topic.

Firefox Developer Note

Recent versions of Firefox now require extensions to be signed, and if you rebuild the extension you will have to sign it (a signed version of the latest code is kept in the Mozilla Add-ons site). If you want to roll your own, the process for signing an unlisted extension is straightforward, see https://wiki.mozilla.org/Add-ons/Extension_Signing

Running WebDAV on on Mac OS X

The native client of Mac OS X is a bit crippled, but with a decent WebDAV client it works very well. For example Transmit (http://www.panic.com/transmit/) or Interarchy (http://nolobe.com/interarchy/) will provide easy access to WebDAV store on Foswiki for users. Both clients allow secure WebDAV over https transfers. Its possible to connect to your Wiki like a network drive and make it available within your Finder. For example Transmit has a feature called "Transmit Disk" which enables mounting of WebDAV shares.

You can mount WebDAV folders via this URL: %WEBDAVFOLDERURL%

Connect to WebDAV via Transmit

WebDAV-trusted-sites1.png

Browse and open Files

WebDAV-trusted-sites1.png

Mount WebDAV as Network Drive via Transmit

WebDAV-trusted-sites1.png

Topic attachments
I Attachment Action Size Date Who Comment
Example.docxdocx Example.docx manage 10 K 03 Nov 2016 - 08:36 CrawfordCurrie Example.docx
Example.odtodt Example.odt manage 11 K 03 Nov 2016 - 08:36 CrawfordCurrie  
MacOS-Transmit-connect.pngpng MacOS-Transmit-connect.png manage 127 K 03 Nov 2016 - 08:35 CrawfordCurrie MacOS-Transmit-connect.png
MacOS-Transmit-filelist.pngpng MacOS-Transmit-filelist.png manage 115 K 03 Nov 2016 - 08:35 CrawfordCurrie MacOS-Transmit-filelist.png
MacOS-Transmit-mount.pngpng MacOS-Transmit-mount.png manage 169 K 03 Nov 2016 - 08:35 CrawfordCurrie MacOS-Transmit-mount.png
WebDAV-custom-level.pngpng WebDAV-custom-level.png manage 25 K 03 Nov 2016 - 08:36 CrawfordCurrie WebDAV-custom-level.png
WebDAV-security-settings.pngpng WebDAV-security-settings.png manage 20 K 03 Nov 2016 - 08:36 CrawfordCurrie WebDAV-security-settings.png
WebDAV-trusted-sites1.pngpng WebDAV-trusted-sites1.png manage 21 K 03 Nov 2016 - 08:36 CrawfordCurrie WebDAV-trusted-sites1.png
WebDAV-trusted-sites2.pngpng WebDAV-trusted-sites2.png manage 11 K 03 Nov 2016 - 08:36 CrawfordCurrie WebDAV-trusted-sites2.png
WebDAVLinkPlugin.md5md5 WebDAVLinkPlugin.md5 manage 171 bytes 03 Nov 2016 - 08:37 CrawfordCurrie  
WebDAVLinkPlugin.sha1sha1 WebDAVLinkPlugin.sha1 manage 195 bytes 03 Nov 2016 - 08:37 CrawfordCurrie  
WebDAVLinkPlugin.tgztgz WebDAVLinkPlugin.tgz manage 571 K 03 Nov 2016 - 08:37 CrawfordCurrie  
WebDAVLinkPlugin.zipzip WebDAVLinkPlugin.zip manage 577 K 03 Nov 2016 - 08:37 CrawfordCurrie  
WebDAVLinkPlugin_installerEXT WebDAVLinkPlugin_installer manage 6 K 03 Nov 2016 - 08:37 CrawfordCurrie  
icon.pngpng icon.png manage 17 K 03 Nov 2016 - 08:35 CrawfordCurrie icon.png
webdavlink-1.7-fx.xpixpi webdavlink-1.7-fx.xpi manage 27 K 03 Nov 2016 - 08:21 CrawfordCurrie Signed unlisted firefox extension
wikiringlogo20x20.pngpng wikiringlogo20x20.png manage 1 K 03 Nov 2016 - 08:35 CrawfordCurrie wikiringlogo20x20.png
Topic revision: r3 - 03 Nov 2016, CrawfordCurrie - This page was cached on 03 Dec 2016 - 11:08.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License