Skip to main content
Hitachi Vantara Lumada and Pentaho Documentation

Deploy a Template to Interactive Reporting

Once you've created a template for PIR, you must follow the below process to deploy it to the Interactive Reporting plugin.

  1. Shut down the Pentaho Server if it is currently running.

  2. Create an icon for your template, in PNG format, with the same name as the template file. The size of the icon doesn't matter; PIR will scale it to fit the correct dimensions. However, you can avoid unusual scaling issues by creating a square-shaped (equal width and height) graphic. If you'd like further guidance, take a look at the default template icons that Pentaho provides in the templates directory.

  3. Copy the icon and the PRPT template files to the /pentaho-solutions/system/pentaho-interactive-reporting/resources/templates/ directory.

  4. Edit the /pentaho-solutions/system/pentaho-interactive-reporting/resources/messages/messages.properties file and add a new line for your template with the template_ prefix, the name of your template file, and a friendly name for the template as you'd like it to appear in the PIR interface, as in the following example (given a template filename of template_demo.prpt):

    template_template_demo=Template Demo

Your template is now deployed to Pentaho Interactive Reporting.