2022.2

Table Of Contents
abletousethesubmitteddatainatemplateforthatletteroremailreceipt,followthesesteps:
1. Get sample data
BeforeyoucancreateatemplatethatusesCOTGdatathatissubmittedfromacertainCOTG
Form,youhavetogetaccesstoasampleofthatdata.Therearetwowaystodothis:
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Workflowconfiguration.WhenausersubmitsaCaptureOnTheGoForm,thedata
arereceivedbyaWorkflowHTTPServerInputtask(seeWorkflowHelp:HTTPServer
Input)thatreceivesandhandlesthesubmitteddata.Evenwhennoothertasksarepresent
inthatWorkflowconfiguration,WorkflowcanoutputanXMLfilethatcontainsthesubmitted
data,inalocationspecifiedfortheSendToFolderplugininWorkflow.
Note: WhenaCOTGFormissubmitted,byclickingortouchingtheSubmitbutton,the
nameandvalueofformelementsaresubmitted.IfaCheckboxorRadioButtonisnot
checked,itsnameandvaluearenotsentwhentheformissubmitted.Fortunately,thereis
aworkaroundforthis;see"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
UsetheresultingXMLfiletocreateadatamappingconfiguration(see"Datamappingcon-
figurations"onpage199).
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
CreateaDesignertemplateandpersonalizeitusingthedatamappingconfiguration(see
Page 520