2022.2

Table Of Contents
Dataformatsettingsdefinedforadatasourceapplytoanynewextractionmadeinthecurrentdata
mappingconfiguration.ThesesettingsaremadeontheSettingspane;see"Settingspane"on
page307.
SettingsforafieldthatcontainsextracteddataaremadeviathepropertiesoftheExtractstepthatthe
fieldbelongsto(see"Settingthedatatype"onpage268).Anyformatsettingsspecifiedperfieldare
alwaysused,regardlessoftheuserpreferencesordatasourcesettings.
Note: DataformatsettingstelltheDataMapperhowtoreadandparsedatafrom the data
source.Theydon'tdeterminehowthesedataareformattedintheDataModelorinatemplate.In
theDataModel,dataareconvertedtothenativedatatype.Dates,forexample,areconvertedto
aDateTimeobject.HowtheyaredisplayedintheDataModeldependsonthepreferences(see
"DefaultFormat"onpage786).
Properties and runtime parameters
Adatamappingconfiguration'spropertiesholddatathatcanbeusedthroughoutthedatamapping
workflowtocompareagainstinconditionsortocomplementtheexistingdata.
Anumberofpropertiesarepredefined,suchasthepathofthefilethatiscurrentlybeingprocessed,
andthecurrentpositionofthepointerinthedata.
Itisalsopossibletodefinecustomproperties.Forinstance,auniqueIDcouldbecreatedtobeadded
toeachrecordintheoutputforintegritycheckslateron,oratimestampcouldbeaddedtocreate
reports.Atagcouldbeaddedtoprocesscertainrecordsdifferently.
Ultimatelydatamappingconfigurationsaremeanttobeusedinautomatedprocesses,toextractdata
fromaparticulartypeofdatafile.
Runtime parameterscanpassvaluesfromanautomationtool-PlanetPressWorkflow,usually-toa
template,datamappingconfigurationorJobCreationPreset.Theactualvaluesoftheparametersmay
bedifferentfromonetimethataprocessrunstothenext,whichmeanstheoutputcouldbedifferent
evenwhenthesametemplate,datamappingconfigurationand/orJobCreationPresetsareused.
Inadatamappingconfiguration,certainruntimeparametersarepredefined,suchastheonesthatrefer
totheJobInfovariablesinWorkflow.Foranoverviewsee"Fixedautomationproperties"onpage324.
Youcanalsodefinecustomruntimeparameters.Withthose,youcould,forexample:
l
PassaJSONstructure,containingboundaryinformationaswellasthenameandlocationof
fieldstobeextracteddynamicallyfromadatastream.Thisway,agenericdatamappingcon-
figurationcouldbeusedtoprocessseveralkindsofdifferentfiles.
l
Definedefaultvaluesthataredifferentfromonedatamappinginstancetothenext,evenwhen
usingthesamedatamappingconfiguration.
Page 227