2022.2

Table Of Contents
whenitisusedasasection'sbackground,textandotherelements,suchasabarcode,canbelaidon
topofit.
Dynamic backgroundsareswitchedautomaticallydependingonthevalueofadatafield.
Addingadynamicbackground
DynamicbackgroundPDFscanbeaddedtoaPrintsectionusingtheDynamicSectionBackground
ScriptWizardif:
l
OneormoredatafieldscontainvaluesonthebasisofwhichthePDFscanbeswitched.
l
ThereisanappropriatePDFforeachcase.ItisimportantthatthePDFsarenamedafterthevari-
ouspossiblevaluesoftherelateddatafield.
l
AllPDFsarestoredinonefolder(theImagesfolderontheResourcespane,oranexternal
folder).
Otherwise,addingadynamicbackgroundrequiresaself-madescript(forhelponthis,see"Control
Script:SettingaPrintsection'sbackground"onpage404).
TousetheDynamicSectionBackgroundScriptWizard:
1. OpentheWizard.Therearethreewaystodothat:
l
Right-clickthePrintsectionontheResourcespaneandclickDynamic Background.
l
OntheScriptspane,clickthearrownexttotheNewbuttonandselectDynamic Back-
ground Script.Double-clickthescripttoopenit.
l
OntheScriptspane,right-clickControlandselectNew > Dynamic Background Script.
2. SelectthedesiredsectionfromtheSectiondrop-down.Youmayalsochangethenameofthe
script.
3. Selectthelocationofthefiles:
l
SelectResourcesifthePDFsresideintheImagesfolderontheResourcespane.
l
Folder on diskreferstoafolderonaharddrivethatisaccessiblefromyourcomputer.
ClicktheBrowsebuttontoselectafolder.
Asanalternativeitispossibletoenterthepathmanually.Youcangivealocalpath(e.g.
C:\Images\)orusethe"file"protocol.ThecompletesyntaxofafullyqualifiedURLwiththe
"file"protocolis:file://<host>/<path>.Note:ifthehostis"localhost",itcanbeomit-
ted,resultinginfile:///<path>,forexample:file:///c:/resources/images/.
l
Onlinerequiresyoutogiveaspecificwebaddress(forexample,http://www.mys-
ite.com/images/).
Page 326