We will go through the following steps:

  1. Introduction
  2. What is WebDAV?
  3. Why WebDAV is necessary for the order inbox
  4. What needs to be installed
  5. Settings for WebDAV in Fledge Desktop
  6. Examples
    1. Synology example
    2. Windows Server 2019 example

This document describes the installation of a WebDav server so that it can be used
with Fledge Web. It is intended that a system administrator, with this document at hand, can install a WebDAV server. Many different solutions exist for WebDav, so
we would like to hear your experiences so that we can adapt this document accordingly.

To send files over the Internet via URLs, and to do so securely, WebDAV was devised. WebDAV is a protocol built on top of the already existing Internet protocol. With WebDAV, the URL indicates where the file is located on the Internet. The WebDAV server ensures that the file is sent when that URL is visited. For more information, visit: WebDAV link

When sending an email or making an order, files are sent with it. This can be a drawing, but also a UBL or PDF file. Fledge's web server, which is located at Previder in Hengelo, must be able to retrieve the files from the order. These documents can then be displayed on the Fledge web pages. By installing the WebDAV server in your company's network, the Fledge Web server can retrieve, via a URL, the files needed to create an order. This keeps the files within the company, on the file server where WebDAV is running, but they are still securely available to Fledge via the Internet.

First, a choice should be made with your system administrator for a WebDAV server solution. This guide contains two examples (Windows Server 2019 and Synology DSM) that the system administrator can use to install WebDAV. These are two examples, but every company/network is different, so a different solution may be chosen. As long as there is a working WebDAV server within the company, you can communicate with the Fledge web server.

These conditions must be met before Fledge can connect:

Sidenote: From experience, conflicts can quickly arise within a network with network ports and Web servers, so make sure only WebDAV is running on the domain name (webdav.company.nl).

To ensure a safe connection between WebDAV and Fledge, you need an SSL certificate. You can get one for free from Let's Encrypt. You can bind your SSL certificate to the IIS.

------------------------------ IMPORTANT ------------------------------
Make sure to whitelist the Fledge IP: 62.165.74.120/29, or also 62.165.74.120/255.255.255.248. Simply said: 62.165.74.121 t/m 62.165.74.126.
It might be useful to also temporarily whitelist 185.6.162.232. This is the Fledge office IP, which will allow us to test it and set it up for the user in their Fledge environment.

If the WebDAV server is running, the user is set up, and the server is reachable by Fledge, this can be entered in Fledge Desktop. The settings that make the folders available on the WebDAV server are in the following menu: [Profile] → [Settings] → [Storage locations].

The [Storage locations] button opens the menu to link the folders on the WebDAV server to the URLs of the WebDAV server. This way, Fledge can find the correct linked documents. After all, these are stored in the database under the local file path (e.g. C:\documents\drawings), and thus need to be translated to a URL. By entering this translation (mapping) here, Fledge can find the correct URL to the path that is in the database. The WebDAV user must also be entered here so that Fledge can connect to the WebDAV server. After saving, the documents are available on Fledge Web.

These links provide examples of WebDAV setup using two different operating systems.

  1. Synology example
  2. Windows Server 2019 example