2022.2

Table Of Contents
l
Values:Printcontentitemsandsetsdon'tcontaindatafields,buttheydohavealinktothedata
recordwithwhichtheywerecreated,soselectingandsortingthembyvalueisstillapossibility.
l
Propertiesarekey/valuepairsthatcanbesetonentitiesintheConnectdatabase.Thereare
twowaystodothat:
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.)
Sortingbypropertyisonlypossibleifthepropertyhasbeensetexplicitlyontherespectivecontent
items(notcontentsets)intheConnectdatabase.
Itisalsoimportanttonotethatinordertouseadatafieldorpropertyinasortingrule,itshouldbe
presentinallcontentitems.
Youmayhavetosetpropertiesoncontentitems(notcontentsets)oradddatafieldstoadatamodel
(see"Datamappingconfigurations"onpage199),fornootherreasonthantosorttheitemsbythem
eventually.
InConnecttherearetwoplaceswhereyoucouldgroupandsortprintcontentafterithasbeenretrieved
fromtheConnectdatabase:
l
InaJobCreationPreset.
l
OntheBatching/ComminglingtaboftheRetrieveItemstask.
Job Creation Preset
BasedonthesettingsinaJobCreationPreset,theConnectServercanfilter,sort,andgroupprintcon-
tentitems,addmetadataandmakefinishingsettings(see"JobCreationPresets"onpage1322).Com-
paredwiththeBatching/ComminglingtaboftheRetrieveItemstask,aJobCreationPresetoffersalot
moreoptions.Itisalsousuallymoreefficient;that'swhyit'stherecommendedmethod,forlargerjobs
atleast.
AJobCreationPresetcanonlytakecontent setsasinput.So,ifyouwanttouseaJobCreationPre-
set,theRetrieve ItemstaskmustretrievecontentsetsfromtheConnectdatabase,notcontentitems.
Thisalsomeansthatifyouwanttousepropertiesinconditionstoretrievethecorrectitems,thoseprop-
ertiesmustbesetonthecontentsetlevel.
Page 180