This abstract class defines constants for specifying input types in the JasperReports plugin for Servoy, supporting formats like XML, CSV, custom datasources, and JDBC. These constants integrate with the plugins.jasperReports.runReport
method to streamline report generation, enabling dynamic data handling and flexible compatibility with various data sources.
Copy var $parameters = null ; //...
var $repfile = 'report.jrxml' ;
var $xmlDataCombined = plugins . file .readTXTFile ( '/path/to/datasource.xml' );
var $locale = 'en' ;
plugins . jasperReports .runReport (
plugins . jasperReports . INPUT_TYPE . XML ,
$xmlDataCombined ,
'/node/to/iterate/on' ,
$repfile ,
null ,
OUTPUT_FORMAT . VIEW ,
$parameters ,
null )
Copy var $parameters = null ; //...
var $repfile = 'report.jrxml' ;
var $xmlDataCombined = plugins . file .readTXTFile ( '/path/to/datasource.xml' );
var $locale = 'en' ;
plugins . jasperReports .runReport (
plugins . jasperReports . INPUT_TYPE . XML ,
$xmlDataCombined ,
'/node/to/iterate/on' ,
$repfile ,
null ,
OUTPUT_FORMAT . VIEW ,
$parameters ,
null )
Copy var $parameters = null ; //...
var $repfile = 'report.jrxml' ;
var $xmlDataCombined = plugins . file .readTXTFile ( '/path/to/datasource.xml' );
var $locale = 'en' ;
plugins . jasperReports .runReport (
plugins . jasperReports . INPUT_TYPE . XML ,
$xmlDataCombined ,
'/node/to/iterate/on' ,
$repfile ,
null ,
OUTPUT_FORMAT . VIEW ,
$parameters ,
null )
Copy var $parameters = null ; //...
var $repfile = 'report.jrxml' ;
var $xmlDataCombined = plugins . file .readTXTFile ( '/path/to/datasource.xml' );
var $locale = 'en' ;
plugins . jasperReports .runReport (
plugins . jasperReports . INPUT_TYPE . XML ,
$xmlDataCombined ,
'/node/to/iterate/on' ,
$repfile ,
null ,
OUTPUT_FORMAT . VIEW ,
$parameters ,
null )