2020.2

Table Of Contents
Field Type Description
allowContent AllowContent
Used to specify on which sides of a sheet (in a
certain position) content is allowed.
Possible values:
l AllowContent.ALL_SIDES
l AllowContent.FRONT_ONLY (only with
duplex printing)
l AllowContent.BACK_ONLY (only with duplex
printing)
l AllowContent.NONE (not allowed on all,
single and middle positions)
masterBack String Specifies the Master Page to use on the backside
of sheets in this position.
masterFront String Specifies the Master Page to use on the front of
sheets in this position.
media String Specifies the Media to use with sheets in this
position.
Note
To remove a Media or Master Page via script, give it the value undefined, or null, or
an empty string (""); see the examples below.
Examples
This script retrieves a Print section and modifies a number of settings for all of its sheets.
let section = merge.template.contexts.PRINT.sections["Section 1"];
section.sheetConfig.positions.all.allowContent = AllowContent.ALL_
SIDES;
section.sheetConfig.positions.all.media = "MyMedia";
Page 914