WebDav (HTTP PUT) Data Destination

 

About

The WebDAV (HTTP PUT) Data Destination sends data from submitted forms to systems that support the WebDAV technology.  The standard use of WebDAV allows a server to act as a network drive, enabling collaborative work on files and objects contained in that folder. ProntoForms WebDAV uses HTTP PUT, which allows users to:

  • Create objects in an online collection or network drive
  • Change or update objects in an online collection or network drive
  • Move objects in an online collection or network drive

Most modern Operating Systems (OS) support some form of webDAV. 

Data destinations automatically back up data collected in the field.  They reduce the need to visit the web portal by making submitted forms available through the services you already use.  Different documents can also be sent to different services with a single form submission.  Read here for more information on data destinations.

[ top ]

 

admin.pngnouser.pngnomobile.png

Basic Set Up

 webdav.png

  1. Create the data destination following the instructions here.
  2. Destination Basics: Name the destination.  Optionally choose to auto-link forms and documents to this destination.
  3. Add Filtering:  With a filter set up, form submissions will only be sent through the destination if the filter is met.  Read more here.
  4. Connection: Set up an HTTP Connection or choose an existing connection.
  5. Set up the File Configuration and Request/Response Configuration tabs as discussed below.

[ top ]

 

File Configuration

Send attachments in separate files, alongside the Data Record Document.

Optionally choose to send attachments (images, signatures, barcodes, etc) as separate files.

 

Folder Expression

This is the folder your documents will be sent to.  If the folder doesn't exist yet, it will be created.

folder.png

  • Single folder: Enter the folder name.  For a folder named "Inspections",  enter "Inspections".
  • Multiple folders:  Use Data Record Expression Language.
    • %f - to sort submissions into folders named after the form.
    • %u - to sort submissions into folders named after the user submitting the form.
    • %a[Question Label] - to sort submissions into folders named with the answer to a chosen question.
    • Optionally add static text for formatting - eg.  "%f -- %a[Customer Name]"

[ top ]

 

Request/Response Configuration

Optional Request Headers

Use the parameter builder to choose which individual answers to send.

  • Key: The name of the POST parameter that the destination will use.
  • Value Expression: Use Data Record Expression Language to choose the data to send. Use the answer to a question by referencing question labels.
  • Note: Answer values which are binary data (e.g. data from an image capture or signature) are base64 encoded.

headers.png

[ top ]

 

HTTP Call Success Analysis

Select which HTTP response codes indicate a successful call. Optionally,  you can use a Regular Expression to analyze the HTTP response body to determine success vs. failure. The Regular Expression results in success if the pattern is found anywhere in the body.

[ top ]

 

Link the Data Destination to Forms

In order for the destination to send any submitted form data, it must first be connected to the form.  This is done in the Data Destinations tab of the form builder.

[ top ]

 

Testing and Troubleshooting Data Destinations

Data destinations should be configured and tested carefully before using them in production. This is key to ensuring that ProntoForms data is received correctly. Please consult the recommendations for testing and troubleshooting data destinations.

[ top ]

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments