Importing Data Sources
Reusing the same reports on multiple report servers or moving reports from i-net Designer to the actual reporting server requires to have the same datasources available at different locations. Using Export and Import allows to do just that.
The import function in the Manager will add each Data Source given in the respective exported XML file to the list of available Data Sources. The exported XML file can be created by exporting Data Sources from this manager, the i-net Designer or every previous version of i-net Clear Reports.
Note: Imported Data Sources will be validated. A hint at the summary representation will let users know the status of the validation.
Importing Data Sources using the command line
The following commands can be used to import Data Sources from the command line:
java -jar core/inetcore.jar -importDatasource <scope> <file> # or java -jar core/inetcore.jar -forceImportDatasource <scope> <file>
Where <scope>
is either SYSTEM
, USER
, or APPLICATION
. The parameter <file>
is the given XML file.
Note: If a Data Source already exists with the same name in the SYSTEM
or USER
scope, the forceImportDatasource
option has to be used - overwriting the existing Data Sources.
Exporting Data Sources
Data Source Configurations can be exported individually using the options menu on every Data Source. Additionally multiple Data Sources can be exported by first selecting them using CTRL+Click
(or CMD+Click
on macOS) and then using the "Export" in the menu bar.