Dropbox Dialog

Contents Hide

 

Dropbox Dialog

Dropbox dialogs provide a seamless and direct integration to files and folders stored in a Dropbox account. Using Dropbox integration, mobile devices do not have to synchronise data to and from a BrightServer instance. Instead the required mobile data can be sourced from files in Dropbox. Similarly the data collected on the device can be pushed to files in Dropbox. This may be a good option for mobile app solutions where a server instance is not required, especially for teams with very small number of users in the field.

The data exchange is handled through files in CSV (Comma Separated Values) format (https://en.wikipedia.org/wiki/Comma-separated_values). The files that are to be transferred from Dropbox are expected to be simple CSV files. In the other direction, the data captured on the device is sent to Dropbox as CSV files as well.

There are few simple rules that need be followed when the CSV files are consumed or created. They are as follows:

Important Note: The CSV field format of date-time column values must be in the ISO yyyy-MM-dd HH:mm:ss format when downloading data from Dropbox. HH in the format indicates that the time component is in 24 hour format. When sending date-time values to Dropbox, a format can however be specified to create the CSV date-time fields in the desired format. If date-time field values are not in the required format, then the date-time values will be either a null value or the current date-time depending on the platform.

A Dropbox dialog allows defining multiple requests on the same form. These requests are also known as "transfers". Each transfer specifies the direction of the data flow: Sending data to Dropbox is an "upload" action, and in reverse, receiving data from Dropbox is a "download" action.

Dropbox Transfers

Dropbox transfers define the synchronisation of data between devices and Dropbox accounts. They specify what table is to be synchronised with, the sync direction (upload to or download from Dropbox) and the data set to be sent or downloaded. The Dropbox dialog editor allows Dropbox transfers to be added through the button and can be removed by the button. By adding a Dropbox request it will automatically add a check box control to the form. Clicking on a Dropbox request in the Dropbox transfer list, allows for the transfer settings to be changed through the options shown. These options include:

Form Values

Form Value Name Description
Checkbox values Contains the current value of the checkbox. It will be a boolean where TRUE indicates checkbox is ticked and FALSE specifies checkbox has not been ticked.