2022.2

Table Of Contents
l
UsingtheSetPropertiestask.
Ideally,theSet PropertiestaskdirectlyfollowstheCreatePrintContenttaskinaWorkflow
process.TheCreatePrintContenttaskreturnstheIDsofthecontentitemsaswellasthe
IDofthecontentsettotheprocessviatheMetadata.UsingthoseIDs,theSetProperties
taskcaneithersetpropertiesonallnewContent ItemsorontheContent Setthatwas
justcreated.
UsetwoconsecutiveSetPropertiestaskstosetpropertiesonbothlevels.
l
ThroughaPostPaginationscriptinthetemplate.(See"PostPaginationScripts"on
page850and"contentitem"onpage1298.)
Inordertoretrieve(setsof)itemsbydatavalues,youmayhavetoadjustthedatamappingcon-
figuration(see"Datamappingconfigurations"onpage199).
Notethatapropertycanonlybeusedtoretrieveentitiesonthelevelonwhichthepropertywasexpli-
citlyset.Forexample,whenyousetapropertyonacontent set,youcanonlyusethatpropertyto
retrievethecontentsetinitsentirety(i.e.allcontentitemsthatbelongtothatcontentset);itisn'tpos-
sibletoretrieveindividualcontentitemsusingthatproperty.Propertiesaddedtoacontentsetarenot
propagatedtotheindividualitemsinthatcontentset.
Tolabelbothasetandtheitemsinit,usetheSetPropertiestasktwice.
Note: DatafieldvaluesandpropertiesofitemsintheConnectdatabasearealsousedwhensort-
ingtheoutput.Makesuretosetpropertiesthatarenecessaryforsortingonthecontentitem
level.
Commingling
Whendocumentsinoneprintbatchoriginatefromdifferenttemplates,thatiscalledcommingling.
Comminglingisn'tverydifferentfrombatchinginhowit'sdone.Thecontentcreationphasewilllikelybe
alittledifferent,astherewillprobablybeaseparateprocessorbranchforeachofthetemplatesused
tocreatetheprintcontent.
However,sorting and groupingcanbecomemoreimportantwhenprintcontentitemsarecom-
mingled.Forinstance,wheninvoicesandlettersarecommingled,theyprobablyneedtobegrouped
percustomer,andsortedinacertainway.EnsurethatthereisauniqueIDinthedifferentdatasetsthat
canbeusedtogroupitemstogetherthatbelongtothesamemailpiece.
Sortingandgroupingitemsinprintbatches
Printcontentitemscanbegroupedandsortedbythevaluesofdatafieldsorbythevaluesofprop-
ertiessetonthemintheConnectdatabase.
Page 179