2018.2

Table Of Contents
Create Preview PDF
The Create Preview PDF plugin generates a PDF preview for a single record as fast as
possible. This preview is typically used for previews embedded in web pages.
The plugin retrieves the resulting PDF from the file store and makes it available to the process
as the job data file. The job file name extension is .pdf.
This file could be written to a publicly accessible location (for example the _iRes folder) so that
the path could be served back to the browser, allowing the web page to embed the PDF data
for online viewing.
To make the rendering process as fast as possible, the generated PDF isn't optimized for print
production purposes.
Note
Content creation may be aborted by a script in a Connect template that raises a fatal error. This
triggers the On Error tab of the Content Creation task. See Designer Script API.
Properties
Datamapper tab
The Create Preview PDF plugin gets one record from the source selected on the Datamapper
tab. This record is then merged with the template (selected on the Content Creation tab) to
create a preview PDF.
The Datamapper tab can have one of the following source options:
l
Data mapping configuration sets the data source to a data mapping configuration.
l
%o: Select this to use a dynamic data mapping configuration name. Click on %o to
change the expression that determines the name of the data mapping configuration
to use.
l
Alternatively, select a configuration name. Adding configurations to this list is done
through the Send to Workflow option in the Designer module.
Click the Open data model of selected configuration button to view the data
Page 510