2020.2

Table Of Contents
Creating a custom template report
The Export Template Report wizard also offers the possibility to export custom template reports
(in PDF format only). A custom template report could contain another selection of information
and present that differently, e.g. with the logo of your company.
To create a custom template report, you need two files: A template design with the desired
layout and variable data. This .OL-template file has to be made in the Designer. A data
mapping configuration provides the variable data. You could use the data mapping
configuration made for the standard template report, or create another one in the DataMapper
module, using the standard XML template report as data sample.The DataMapper is included
only in PlanetPress Connect and PReS Connect. Data mapping configurations have the
extension .OL-datamapper. The following zip file contains both the template and data mapping
configuration that are used to generate the standard template report:
http://help.objectiflune.com/en/archive/report-template.zip.
Resources
This page clarifies the difference between Internal, External and Web resources that may be
used in a template, and explains how to refer to them in HTML and in scripts.
Internal resources
Internal resources are files that are added to and saved with the template.
To add images, fonts, style sheets, and snippets to your template, you can drag or copy/paste
them into the Resources Pane. See also: "Images" on page268, "Snippets" on page282,
"Styling templates with CSS files" on page287 and "Fonts" on page323.
Resource files can also be dragged or copy/pasted out of the the application to save them on a
local hard drive.
Alternatively you could import resources and scripts from another template; click File >Import
Resources... in the menu and select a template to import resources from (see ).
Once added or imported, internal resources are accessed using a relative path, depending
where they're called from. Resources can be located in the following folders:
l images/ contains the files in the Images folder.
l fonts/ contains the files in the Fonts folder.
Page 114