2021.1

Table Of Contents
l Using a Workflow configuration. When a user submits a Capture OnTheGo Form,
the data are received by a Server Input task (see Workflow Help: HTTP Server Input
or NodeJS Server Input) that receives and handles the submitted data. Add a Send
To Folder plugin to the same process. Workflow will then output the XML file that
contains the submitted data in the location specified for the Send To Folder plugin.
No other tasks are needed in the process, or in the Workflow configuration.
Note
When user of the COTG app clicks or touches the Submit button in a Form, the name
and value of form elements are submitted. Normally, the name and value of an
unchecked Checkbox or Radio Button would not be submitted, but in Connect, they
are. Connect uses the workaround described in the following topic: "Getting the
status of unchecked checkboxes and radio buttons" on page592.
The Form's validation should ensure that the data that the user submits is valid (see
"Changing a Form's validation method" on page711 and "How to make COTG
elements required" on page589).
2. Create a data mapping configuration
The next step is to use the sample data - an XML file - to create a data mapping
configuration (see "Data mapping configurations" on page197).
1. Choose File > New > Data mapping Wizards > From XML file.
2. Select the XML data file as its source and click Next.
3. Set the XML Elements option to /request/values. This will automatically add an
extraction step for the submitted form fields.
4. Click Finish. The file is opened in the DataMapper and the form fields are
automatically extracted, including the data for the Signature and Camera object.
5. Save the data mapping configuration.
3. Create a template
Finally, create a Designer template and personalize it using the data mapping
configuration (see "Personalizing content" on page780). Strings, base64-encoded strings
and SVG data stored in data fields using the DataMapper can be added to the template
just like any other variable data (see "Variable Data" on page796). They will show up in
the template as they are. SVG data will be interpreted and displayed as an image.
Page 611