2022.2

Table Of Contents
Scripting improvements
l
Newclosest() commandaddedtotheScriptingAPI,tolocateclosestmatchingelementaboveit
intheDocumentObjectModel(DOM)tree.(SHARED-41789)
l
Script editing improved.Linenumberingnowavailablewithintheeditor,supportforcodecom-
pletionandsyntaxhighlightingadded,aswellassupportforvariousECMA6commands.
(SHARED-42768/43696)
l
Supportaddedforcloning Sections in a Control Scripttoallowadocumenttohaveadynamic
numberofSections.(SHARED-43683)
l
ImprovedScripts tool tipwarninganderrormessaging.(SHARED-42550/43758)Improve-
mentsinclude:
l
Bettertailorederrormessagesandwarnings.
l
Iconsaddedrepresentingscripttypeaswellasshowingtheissueseverity.
l
Duplicatedproblemsnowfilteredout.
l
Severalotherminorimprovements.
l
ImprovedsupportforrawHTMLwithinDesignerscriptingAPIcommands.(SHARED-43075)
Capture On The Go (COTG)and Web form improvements
l
InputfieldsresidinginaFieldTableorDynamictablearesubmittedusinganarraynotation
(requiresWorkflow8.5).Thisresultsinanested XML structure(groupedfields)inthejobdata
file,simplifyingtheWorkflowprocessandextractingdataintheDataMapper.(SHARED-45577)
l
COTG/Web-Form:Optionintroducedtoretrievethejobdata XMLfilefromwithintheDesigner.
AniconhasbeenaddedtothetoolbarthatinterceptstheSubmitactioninLiveviewandthensub-
mitstheformtoalocalorremoteWorkflowengine.Adialogalsoallowsforsavingthedatafile.
(SHARED-44899)
l
DeployingaCOTGTest formnolongerrequiresdata.(SHARED-41889)
l
New scripting optionshavebeenaddedtotheCOTG.jslibrarytoregistercustomfunctionsfor
saveandrestore.(SHARED-40670)
l
Colour pickersupporthasbeenaddedtotheCOTG Starter Templatewizards.(SHARED-
33561)
l
Improvedspeed/sizeofCOTG Cameraobjects.RatherthanembeddingimagesinoutputPDFs,
ConnectnowsupportsembeddingdataURLsinCOTGtemplates.(SHARED-38575)
l
DocumentsfromtheLibrarynowautomatically deleteduponsuccessfulsubmission.(COTG-
367)
Page 1536