2021.1

Table Of Contents
Other JavaScript files
You may add other JavaScript files, libraries and frameworks to a template, to enhance your
Capture OnTheGo Forms; see "Using JavaScript" on page557.
Testing the template
A Capture OnTheGo (COTG) template will be used to create a form that can be downloaded,
filled out and submitted using the COTG app. Before starting to actually use the template, you
will want to make sure that it produces a form that looks good and functions as expected. How
to preview the form, how to submit data and how to preview the submitted data is described in
another topic: "Testing a Capture OnTheGo Template" on page593.
Sending the template to the Workflow tool
After testing the template (see "Testing a Capture OnTheGo Template" on page593) the
template must be sent to the Workflow module. Templates sent to the Workflow module can be
used in any process within it.
How to send the template and the corresponding data mapping configuration to the Workflow
tool is explained in another topic: "Sending files to Workflow" on page446.
Next, you can start building a Workflow configuration that receives and handles the submitted
data. The configuration should start with a HTTP Server Input task (see Workflow Help: HTTP
Server Input) of which the HTTP action is the one specified in the COTG Form's action.
Receiving and extracting data from a COTG Form
When a user submits a Capture OnTheGo Form, the submitted data are sent to the address
specified in the action of the form (see "Specifying an action" on page564). They will be
received by the process that starts with the matching Server Input task (see Workflow Help:
HTTP Server Input).
The data is passed on as XML.
The next task in the process typically is an Execute Data Mapping task. This task can extract
the data using a data mapping configuration that must be tailor-made for this XML. In order to
create this data mapping configuration you will need an XML file with the exact same structure.
The easiest way to get this is to test the template and use the "Get Job Data File on Submit"
option; for instructions see "Submitting and previewing data" on page594.
Page 566