2022.2

Table Of Contents
Groupingfields
Togrouponeormorefields,selectthefield(s),right-clickandselectAdd group.Itisalsopossibleto
creategroupswithingroups;thisisdoneinthesameway.
Tomoveafieldintoanexistinggroupyoucansimplydrag and dropitintothegrouporontothename
ofthatgroup.
Todeleteagroup,right-clickitandselectUngroup.Thefieldswillbemoveduponelevelinthestruc-
ture.Tomoveafieldoutofanexistinggroupyoucanalsosimplydrag and dropitoutofthatgroup.
Todeleteanemptygroup,right-clickitandselectDelete.
Using the Data Model in templates
TheDataModeliswhatenablesyoutocreatepersonalizedtemplatesintheDesignermodule.
Youcandrag&dropfieldsfromtheDataModelintothetemplatethatyouarecreating(see"Variable
datainthetext"onpage708).Forthis,youneedtoeitherhaveatemplateandadatamappingcon-
figurationopenatthesametime,orimportaDataModel(see"Importing/exportingaDataModel"on
page261).
TheDataModelisreusable,meaningthatitcanbesharedamongstdifferenttemplatelayoutsandout-
puttypes.
DifferentdatamappingconfigurationscouldusethesameDataModel,allowingatemplatetobepop-
ulatedwithdatafromdifferentsourcesandformats,withouttheneedtomodifythetemplate(see
"Importing/exportingaDataModel"onpage261).
InWorkflow,whenadatamappingconfigurationisusedtoextractdatafromadatasource(see"Data
mappingconfigurations"onpage199),theextracteddataisstoredinarecordsetintheOLConnect
database.
AddingfieldsanddataviaWorkflow
TheDataModelisnotextensibleoutsideoftheDataMapper.WhenitisusedinWorkflow-aspartofa
datamappingconfiguration-thecontentsofitsfieldscanbeupdatedbutnotitsstructure.
Thereareanumberofinstanceshowever,wherefieldsmayneedtobeaddedtothedatamodelafter
theinitialdatamappingoperationhasbeenperformed.Forinstance,youmightneedtoaddacleansed
postaladdressnexttotheoriginaladdress,orretrieveavaluefromadatabaseandaddittotherecord.
ExtraData field
YoucanaddemptyfieldsinadvancetoprovidespaceintheDataModelforWorkflowtostoredata.For
convenience,onefieldcalledExtraDataisautomaticallycreatedateverylevelofeachdatarecord.
ThatmeanstherecorditselfgetsanExtraDatafield,andeachdetailtablealsogetsone.
BydefaultthefieldisnotvisibleintheDataMapper'sDataModel,becauseitisnotmeanttobefilledvia
anextraction.ItcanbemadevisibleusingtheShow ExtraData FieldiconatthetopoftheDataModel.
Page 263