2022.2

Table Of Contents
Sample Project: Print Promotional Jobs
ThePrintPromotionalJobsSampleProjectcreatesasimple,yetcompleteOLConnectprojectthatpro-
ducespromotional print output.
TheprojectextractsdatafromanXMLfileandusesthatdatatopersonalizeapromotionalletter.The
outputisasinglefilecontainingalltheletters,intheformatthatwasselectedinthewizard(PDF,PCL
orPostScriptLevel3).
ForanintroductiontothisSampleProject,seeSampleProjectsoverviewvideoontheOLLearnweb-
site(startat0:52)oronYouTube:PrintPromotionalJobs.
Installingtheproject
SelectFile > New > Sample Projects > Print Promotional JobsfromthemenutostartthePrintPro-
motionalJobsSampleProject.(Seealso:"PromotionalPrintJobs-SampleProject"onpage922.)
Note: Inordertousetheproject,OLConnectServerandOLConnectWorkflowmustbeinstalled
onthelocalmachine.
Thewizardletsyouselectthefolderinwhichyouwantthesolutiontobeinstalled.SinceSamplePro-
jectsareversioned(see"Versionedprojects"onpage123),thesoftwaresuggeststostoreitintheOL
ConnectfolderthatislocatedinyourDocumentsfolder.Bydefault,allversionedprojecthavetheir
ownfolderunderDocuments/Connect.
Intheselectedfolder,theSampleProjectwillcreatetwosubfolders:ConfigurationsandWorkspace.
Theproject'sresourcefilesaresavedtotheConfigurationsfolder.
TheWorkspacefolderisusedfordebuggingorrunningthesolution.IthasanInfolderthatmaybe
usedtomonitorincomingdataandanOutfoldertowriteoutputfilesto.
Theselectedfolder'spathissavedtoaglobalvariableintheWorkflowconfiguration(see"Workflow
configuration"onpage151).
ThatvariableisusedinthesettingsoftheCaptureFolderandSendtoFoldertasks.
Next,youhavetoselectthedesiredoutputtype:PDF,PCLorPostScriptLevel3.Eachoftheoutput
typesisavailableintwovariants.The'Stationery'variantswillincludethevirtualstationery(storedin
theOLConnecttemplate)intheoutput.ThisisasettingintheOutputCreationPreset(see"Printset-
tings"onpage150).
Finally,entertheusernameandpasswordthatwillallowthesoftwaretoaccesstheConnectServer.
Testingandrunningtheproject
OncetheSampleProjecthasfinishedtheinstallation,theprojectisreadytobetested.
Page 148