Dynamic Reports --------------- Dynamic Reports provides a highly configurable reporting page which uses a similar technique to other dynamic forms to allow you to configure exactly what is output onto the page. You can include maps, charts and data grids. .. toctree:: dynamic-reports/tutorial/dynamic-reports Setting up a dynamic report page involves configuring the default view of the map (same process as for other forms), providing a set of report parameter values in the **Report Settings** section of the edit page, then using the **User Interface** section to define how the page should be output. If you are starting from a new Indicia page, then in the **Form Selection** section, set the **Form Category** to **Reporting** and the **Select Form** drop down to **Reporting page (customisable)**. Defining the form structure ^^^^^^^^^^^^^^^^^^^^^^^^^^^ The **Form Structure** box, in the **User Interface** section of a dynamic report's **Edit** tab, allows you to type free text to define the page output. This text is parsed with 1 token per line and any unrecognised text is output as HTML into the page which allows you to output static custom content of any nature. The structure of the page output can be defined using the following tokens, which are shared with the :doc:`other dynamic forms `. * ``=
=`` - any text wrapped in equals signs defines a section on the page. This maps to a tab if using tabbed output mode. * `|` - the pipe character, when alone on a line, defines that content in the current section preceding the pipe must go into one column, content following the pipe goes into a second column. CSS must be present on the page to layout the columns correctly. Control content can then be added to the page by specifying square brackets around the name of the control you want to output. The following controls are available: * ``[params]`` - Outputs a parameters form for the report. * ``[standard params]`` - Outputs a filter bar designed for setting up report parameters against reports which support filtering occurrences using the standard set of parameters. * ``[map]`` - Outputs a report map. * ``[reportgrid]`` - Outputs a grid of records for a report. * ``[report download link]`` - Outputs a simple link for downloading a CSV file. * ``[reportchart]`` - Outputs a chart of the output of a report (line, bar or pie). You can provide options to each of the controls on the subsequent lines in the form structure, by specifing option values in the form:: @