====== Reports ====== Reports are specific of a center. For each report add an entry in [QAP10_HOME]/WebContent/local/view/Statistics/Statistics.jsp

Equipments

====== Engines ====== QAP10 uses [[http://www.eclipse.org/birt|BIRT]] report as default report engine. It is possible to add another report engine like a PHP server. To do so, define your settings in [QAP10_HOME]/WebContent/local/view/primus.jsp $.extend(true, appliParam, { ... "reportServerURI": { // BIRT engine with reports root diretory set to 'lab' "birt" : "http://[server IP ]:8080/qap10report/preview?__report=lab/", // another engine (e.g. web server with php) "php" : "http://[server IP ]/qap10report/" } ... }); Reports filename extension are set automatically according to engine name : birt=.ptdesign, php=.php, py=.py ... so beware of the engine's name ! ====== Syntax ====== QAP10 uses a javascript function //statistics_Launch()// to call a report, with the following arguments in **JSON** format * //rptname// : relative path of the filename or URL call (string) * //paramsStatic// : fixed parameters expected by the call (string) * //dialog// : call a dialog popup before launching the report (boolean) * //engine// : (string) ====== Calling examples ====== A plain report. Nothing is said about the report engine, so the BIRT default engine is used. Example 1 The same statistic in xls format Example 1 Excel format Another BIRT report in sub directory 'quality', and with a popup dialog to setup parameters. Example 2 Use a 'php' engine. Example 3 Of course a direct request is always possible. Example 4 ====== Dialog popup ======