2021.1

Table Of Contents
For an explanation and examples of this style rule, see
https://www.w3schools.com/css/css_image_sprites.asp.
l Dynamically added images are loaded in a script. To retrieve one page from a PDF file
in a script, add the page parameter to the file path and set that as the source of the image.
Here is an example (assuming that the page number is stored in a variable pageNumber):
var imageStr = "";
var imagePath = "file:///C:/image-collection.pdf?page=" +
pageNumber;
imageStr += '<img src="' + imagePath + '">';
results.after(imageStr);
Runtime parameters
Runtime parameters can pass values from an automation tool - PlanetPress Workflow, usually
- to a template, data mapping configuration or Job Creation Preset. The actual values of the
parameters may be different from one time that a process runs to the next, which means the
output could be different even when the same template, data mapping configuration and/or Job
Creation Presets are used.
Runtime parameters first have to be defined in the template, data mapping configuration or Job
Creation Preset, depending on where they are needed.
Next, the source of each runtime parameter value must be set in the automation tool used. E.g
in PlanetPress Workflow, it should be set in the Runtime Parameters section of the OL Connect
task that uses the template, data mapping configuration or Job Creation Preset.
For more information about defining and accessing runtime parameters:
l In a template, see: "Runtime parameters" on page458.
l In a data mapping configuration, see: "Properties and runtime parameters" on page228.
l In a Job Creation Preset, see: Runtime Parameter Selection.
Page 1494