2022.2

Table Of Contents
About records
Arecordisablockofinformationthatmaybemergedwithatemplatetogenerateasingledocument
(invoice,email,webpage...)forasinglerecipient.Itispartoftherecord setthatisgeneratedbyadata
mappingconfiguration.
Ineachrecord,datafromthedatasourcecanbecombinedwithdatacomingfromothersources.
Recordscanbeduplicatedbysettingthenumberofcopiesinascript(see"record"onpage393).
DuplicatesarenotshownintheDataModel.
Creating a Data Model
ADataModeliscreatedautomaticallywithineachdatamappingconfiguration,butitisemptyatthe
start.TofillityoucoulduseanotherDataModel(see"Importing/exportingaDataModel"below)orstart
creatingadatamappingworkflow(see"Datamappingworkflow"onpage221).
Tolearnhowtoaddandeditfields,see"Fields"onpage264.
Importing/exportingaDataModel
TouseaDataModelinanotherdatamappingconfiguration,ortouseitinaDesignertemplatewithout
adatamappingconfiguration,youhavetoexportthatDataModelandimportitintoadatamappingcon-
figurationortemplate.
ImportingandexportingDataModelsisdonefromwithintheDatamodelPane,usingthetop-right
icons and .
ForinformationaboutthestructureoftheexportedDataModelfile,see"DataModelfilestructure"on
page284.
WhenyouimportaDataModel,itappearsintheDataModelpanewhereyoucanseeallthefieldsand
theirtypes.
InsteadofaDataModelfile,youcanimportaJSONfile,oraConnectfilethatcontainsaDataModel.
Thefile'sdatamodelstructurewillbedisplayedintheDataModelpane.
Youcandeleteoraddfields,orchangetheirtype.OncetheDataModelisimportedandallthefields
areproperlyset,allyouneedtodoisextracttheinformationfromtheactivedatasample(see"Extract-
ingdata"onpage229).
Note:
l
ImportedDataModelfieldsalwaysoverwriteexistingfieldpropertieswhenthefieldname
isthesame(althoughtheywillstillbepartofthesameExtractstep).Non-existentfields
arecreatedautomaticallywiththeappropriatefieldsettings.Theimportiscase-insensitive.
l
AllimporteddatamodelfieldsaremarkedasrequiredintheDataModel(indicatedwithan
asterisk(*)nexttotheirnames).Thisistopreventthemfrombeingremoved,asthe
Page 261