2022.2

Table Of Contents
BeforegeneratingWeboutput
l
BeforeactuallygeneratingtheWeboutput,youmaywanttorasterizecertainelements,suchas
businessgraphics.RasterizingconvertstheelementtoaJPGorPNGimage.Thisisveryuseful
tosupportasmanyclientsaspossible.Forexample,whenaheadingusesafonttypethatisnot
aWebfont,convertingtheheadingtoJPGinsteadwouldensurethattheheadinglooksthesame
inallbrowsers.
Torasterizeanelement,right-clickitandselectRasterize options.ForaJPGimageyoucanset
thequalityoftheresultingimageinapercentage.
Note: RasterizationoptionsareonlyavailableforBoxes(<div>elements);see"Boxes"on
page623.
l
ForWeboutput,PNGisthepreferredimageformat.
EPS,PDF,SVGandTIFFimagesinaWebsectionareautomaticallyconvertedtoPNGto
ensurethattheycanbeseeninthebrowser.
Web output settings in the Web context and sections
ThereareafewsettingsfortheWebcontextandWebsectionsthathaveanimpactontheactualweb
pagethatisgenerated.
Thesesettingsare:
l
WhichWebsectionisthe'default';see"SettingadefaultWebpageforoutput"onpage501.
WhengeneratingWeboutput,iftherearemultipleWebsections,onlyoneofthemcanbe
mergedwitheachrecord.
l
Thetitle,shortcuticonandmetatagsappearinginthewebpage'sheader.See"Settingthetitle,
metadataandashortcuticon"onpage501
Attaching Web output to an Email template
ToattachtheWebcontexttoEmailoutput:
1. OpenatemplatewithaWebcontextandanEmailcontext.
2. Checktheoutputsettingsforbothcontexts;see"EmailoutputsettingsintheEmailcontextand
sections"onpage1341and"WeboutputsettingsintheWebcontextandsections"above.
Note: WhenaddingtheWebcontexttoanemail,onlythedefaultWebsectionisgenerated
andaddedtotheemailasanHTMLfile.ToattachmultipleWebsectionsasseparate
attachments,youneedtocreateaControlScriptthatspecifiesparts;see"ControlScripts"
onpage838and"ControlScriptAPI"onpage1271.
3. Loadadatafileordatabasecompatiblewiththistemplate.See"Loadingdata"onpage710.
Page 1349