2022.2

Table Of Contents
paign.Toviewthecampaign,logintoMailjetandchoose:Campaigns>All.
Generating Web output
TheWebcontextoutputsoneHTMLwebpage.InadditiontotheHTMLtextitcontainseitherthe
resourcesorreferencestotheresourcesnecessarytodisplayit.
JavaScriptfilesareaddedtothe<head>inthegeneratedHTMLfile.JavaScripttoolboxeslikejQuery
anditsplugins,orMooTools,areusefulwhenyouwanttoimplementspecialfeaturesinthewebpage.
(See"UsingJavaScript"onpage512)
Stylesheetsarealsoaddedtothe<head>andareusedjustastheywouldbeusedinaregularweb
page.(Alsosee:"StylingtemplateswithCSSfiles"onpage672)
Weboutputcanbegeneratedintwodifferentways:itcanbeattachedtoanEmailtemplatewhengen-
eratingEmailoutput,oritcanbegeneratedusingWorkflow.
WeboutputcanbegeneratedfromtheDesignerwhenadatasetisavailable.Thedatacanberetrieved
fromadatabaseordatafile,orfromadatamappingconfiguration.
Ifyouhaveanopendatamappingconfigurationandopenanotherdatafile,thecurrentdatamapping
configurationwilltrytoretrievedatafromthefileordatabaseusingitsownDataModelandextraction
logic.
Note: Whengeneratingoutputwithjustanopendatamappingconfiguration,thetemplateis
mergedwiththecompletesampledatafilethatispartofthedatamappingconfiguration.Theout-
putisnotlimitedtothenumberofrecordsshownintheDataModelpane(whichisoneoftheset-
tingsintheDataMapper).
Page 1348