2018.1

Table Of Contents
validation method" on page593 and "How to make COTG elements required" on page489).
Get Job Data File on Submit
It is possible to test a COTG Form in the Designer and get access to an XML file that contains
the submitted data, without having a Workflow configuration to handle the data.
This option requires that:
l Workflow has been installed on the local machine, and the Workflow HTTP/Soap Service
has been started. To do this, in the Workflow menu, click Tools > Service Console, then
right-click HTTP/Soap Server and start it.
l
In the Designer menu Window > Preferences > Web, the Workflow URL has been set to
the correct host. The default is http://127.0.0.1:8080/_getSampleFormData_. This points
to an internal process of the Workflow component running at that host.
If these conditions are met, you can get the XML file as follows:
1.
Open the Form in the Designer, toggle to Live mode and fill out the form. Click the Add
Dummy Data button (found on the toolbar and only available in the Live view) to populate
empty form fields with dummy data. This adds dummy data to standard HTML form inputs
as well as COTG inputs like the camera and signature widgets. Inputs that already
contain data are left untouched. For a list of dummy data values, see the table below.
2.
Click the Get Job Data File on submit toolbar button. This replaces the default form
submit action and will send the form data to the Workflow's HTTP Service (which needs
to be running in the background).
Note
Workflow's HTTP Service must be running, but not necessarily the Workflow
Service itself.
3.
Hit the Submit button. Now the data file will be sent directly to the Designer. Once the Job
Data File is received by the Connect server, a dialog appears asking where to store it.
Page 495