2022.2

Table Of Contents
1. Get sample data
First,youneedtogetasampleofthesubmitteddata.Therearetwowaystodothis:
l
UsingtheoptionGet Job Data File on SubmitinConnectDesigner;see"TestingaCap-
tureOnTheGoTemplate"onpage541.Thiswayyoudon'thavetocreateaWorkflowcon-
figurationfirst.OncetheJobDataFileisreceivedbytheConnectserver,adialogappears
askingwheretostoreit.
l
UsingaWorkflow configuration.WhenausersubmitsaCaptureOnTheGoForm,the
dataarereceivedbyaServerInputtask(seeWorkflowHelp:HTTPServerInputor
NodeJSServerInput)thatreceivesandhandlesthesubmitteddata.AddaSendToFolder
plugintothesameprocess.WorkflowwillthenoutputtheXMLfilethatcontainsthesub-
mitteddatainthelocationspecifiedfortheSendToFolderplugin.Noothertasksare
neededintheprocess,orintheWorkflowconfiguration.
WhenuseroftheCOTGappclicksortouchestheSubmitbuttoninaForm,thenameand
valueofformelementsaresubmitted.Normally,thenameandvalueofanunchecked
CheckboxorRadioButtonwouldnotbesubmitted,butinConnect,theyare.Connectuses
theworkarounddescribedinthefollowingtopic:"UsingCOTGElements"onpage536.
TheForm'svalidationshouldensurethatthedatathattheusersubmitsisvalid(see
"ChangingaForm'svalidationmethod"onpage643and"HowtomakeCOTGelements
required"onpage538).
2. Create a data mapping configuration
Thenextstepistousethesampledata-anXMLfile-tocreateadatamappingconfiguration
(see"Datamappingconfigurations"onpage199).
a. ChooseFile > New > Data mapping Wizards > From XML file.
b. SelecttheXMLdatafileasitssourceandclickNext.
c. SettheXMLElementsoptionto/request/values.Thiswillautomaticallyaddanextractionstepfor
thesubmittedformfields.
d. ClickFinish.ThefileisopenedintheDataMapperandtheformfieldsareautomaticallyextracted,
includingthedatafortheSignatureandCameraobject.
e. Savethedatamappingconfiguration.
3. Create a template
Finally,createaDesignertemplateandpersonalizeitusingthedatamappingconfiguration(see
"Personalizingcontent"onpage708).Strings,base64-encodedstringsandSVGdatastoredin
datafieldsusingtheDataMappercanbeaddedtothetemplatejustlikeanyothervariabledata
Page 555