1.8

Table Of Contents
l
Delete: Click to delete the resource. This is the same as pressing the Delete key while
the resource is selected.
Snippets
Snippets are pieces of HTML or JSON code that can be inserted within sections and master
pages, dynamically or statically. See "Snippets" on page196 for more information.
Contextual menu
l
New HTML Snippet: Click to create a new HTML Snippet resource.
l
New JSON Snippet: Click to create a new JSON Snippet resource.
l
New Folder: Click to create a new folder to organize resources more easily.
l
Rename: Click to open the resource's Rename. This is the same as pressing the F2 key
while the resource is selected.
l
Delete: Click to delete the resource. This is the same as pressing the Delete key while
the resource is selected.
Scripts pane
The Scripts pane contains all of the scripts that are used to replace data in a template, or to
modify its look; see "Personalizing Content" on page237.
This pane allows to add, edit and manage scripts (see "Managing scripts" on page265).
Scripts can be exported and imported via the buttons or through drag & drop between the
Scripts pane and any location on the computer.
Note
Scripts included on the Scripts pane are completely distinct from the JavaScript resources found in
the "Resources pane" on page393 (see Using JavaScript).
Think of scripts as server-side in the sense that they are executed through the Connect modules
(Server and Content Creation especially). Scripts have access to the whole PrintShop Mail Connect
JavaScript API (see "Designer Script API" on page507), such as the record object.
JavaScript resources, on the other hand, are only executed after the content creation is done,
generally in a browser.
Page 397