2022.2

Table Of Contents
Adding a snippet to a section
Eachtypeofsnippetsisuseddifferently;see"AddinganHTMLsnippettoasection"onthefacing
page,"UsingaJSONsnippet"onpage665and"UsingHandlebarstemplates:examples"onpage777.
Editing a snippet
Toeditasnippet,openthesnippetfilebydouble-clickingitontheResourcespane.
Bydefault,anHTML snippetthatisbeingusedassharedcontentcanalsobemodifiedinasection
whereitisused.Thisbehaviourcanbechanged;see"Editingasnippet"onthefacingpage
Renaming a snippet
Torenameasnippet,right-clickitontheResourcespaneintheSnippetsfolderandselectRename.
IfyourenameanHTML snippetthatwasinsertedintoasectionassharedcontent,youneedtoupdate
thereferencetothesnippetmanually;see"Renamingasnippet"onthefacingpage.
Translating a snippet
Snippetsinamultilingualtemplategettranslatedatthemomenttheyareinsertedintheoutput,ifthe
textistaggedfortranslation.Formoreinformationsee"Translatingtemplates"onpage856and"Tag-
gingtextinsnippets"onpage859.
HTML snippets
HTMLsnippetscancontainanycontentsthatasectioncanhave,suchastext,images,variabledata,
dynamictables,etc.Justlikeothertypesofsnippets,HTMLsnippetsarestoredintheSnippetsfolder
ontheResourcespane,buttheirfilenameendsin.html.
ThistopiccontainsinformationthatonlyappliestoHTMLsnippets.Ifyouwanttoknowhowtoaddan
existing(remote)snippettotheresources,orhowtocreateanemptyHTMLsnippet,pleasesee"Snip-
pets"onpage661.
Tip: ItispossibletoopenandeditanyexternalHTMLfileintheDesigner:selectFile > Open,
selectAll files (*.*)asthefiletypeandthenselectanHTMLfile.
UsingcontenttocreateanHTMLsnippet
Toturnapartofaletter,emailorwebpageintoanHTMLsnippetforreuseinthecontentofatemplate:
1. Openthesectionandselectthepartorpartsthatshouldbesavedtoasnippet.
2. Right-clicktheselection,pointtoSnippetandclickCreatetocopytheselectedparttoanew
snippet,orCreate Shared Contenttocreatethenewsnippetandreplacetheselectedpartwith
areferencetothenewsnippet.
3. Givethesnippetaname.
Page 663