{{getMsg('Help_YouAreHere')}}: {{page.title}} {{page.title}}

Data Source Import/Export

Instead of configuring the database connection all time for each report, it is now possible to create the database connection based on a given data source in i-net Designer. Data sources can be reused in multiple reports and on multiple computers. With the data source manager you can import and export data sources from other computers.

Data Source Manager

You can export the data source that you have used in your i-net Designer and import it on the server so that you can use the same data source at runtime as at design time.

Note that it is also possible to import data sources via command line by running the Configuration Manager with a command line parameter:

java -jar core/ClearReports.jar -importDatasource <scope> <file>
 
# or
java -jar core/ClearReports.jar -forceImportDatasource <scope> <file>

This will import the data source from an XML file created when exporting a data source configuration. Note that if a data source under the same name already exists, it will be replaced with "forceImportDatasource", otherwise an additional one will be created with a unique name.