2018.1

Table Of Contents
Dynamically set Media Background Images
Support has been added for dynamically setting the path of media backgrounds at run time (aka
Virtual Stationery). This is achieved via the Control Script API. The path can be set to an image
in the Images folder but also to a file on disk (the http:// and https:// protocols are not currently
supported). This greatly simplifies template management in situations where a design is shared
between different brands. This technique can also be used to dynamically set the stationery
image for the preview template in Connect Send environments. (SHARED-53522)
var myMedia = merge.template.media["Media 1"];
myMedia.stationery.front.enabled = true;
myMedia.stationery.front.url = "file://C:/letterhead.pdf";
Page Breaks inside Lists
Support has been added to allow the splitting of lists across pages. This includes Widows and
Orphans control for ordered (<ol>) and unordered (<ul>) lists.
The Orphans CSS property specifies the minimum number of lines at the bottom of a page and
the Widows property specifies the minimum number of lines after the page break. To prevent
page breaks inside these elements simply add page-break-inside: avoid; to your stylesheets.
A formatting dialog for these elements will be added in a future version. (SHARED-14092)
Page 1262