Skip to content

CxReports Subreports Guide

This guide will help you understand how to use subreports in CxReports. For an explanation what subreports are in CxReports, please refer to this link.

Important: Before you start, make sure you have a report type and a report template defined.

Creating a Subreport

To use subreports, you first need to create one:

  1. Under Reporting section select Subreports
  2. Click on the Add new report button.
  3. Fill in the form and save the report.

Note

If this is your first time creating a report, please refer to Create your first report guide.

Setting Up Report Parameters

For a detailed explanation what parameters are, please refer to Report Parameters article.

Setting up parameters can be done in a few different ways, you can have reusable parameters, global parameters or you can add them locally in the report.

Using Subreports

  1. Drag and drop the Flow component into the page.
  2. Drag and drop a component (for example, Text) into the page. You can use any component you like.
  3. On the right sidebar for the Text component, in the "Text" field, replace the default value with {$params.test}. Now, the value of the "test" parameter should appear on your page. If you named your parameter "description", you would access it through {$params.description}.
  4. If you need more parameters, repeat the steps in the Setting Up Parameters section of this guide.