tbuckel Posted January 23, 2014 Share Posted January 23, 2014 Hi,We want to be able to import and export individual reports from one JasperReports server instance to another (e.g. development to testing to production migrations as well as being able to script the update of individual reports on client installations).By now, I think I understand reasonably well how the js-import/js-export works: If I'm exporting an individual report (=URI), the tool js-export automatically includes all referenced shared resources, i.e. datasources and input-controls. When importing that export (with update option) into an existing Jasperserver installation which already contains these shared resources, these shared resources would be overridden, wouldn't they?Is there any way to export/import only the "definition" of report with its JRXML file without touching the references resources?Any help and ideas appreciatedCheers,Thomas Link to comment Share on other sites More sharing options...
ogavavka Posted January 23, 2014 Share Posted January 23, 2014 You can delete Reports which you want update in destination, then import data without "update"Import will skip existing resources in this case. Link to comment Share on other sites More sharing options...
tbuckel Posted January 24, 2014 Author Share Posted January 24, 2014 Hi ogavavka, is there a way to script the deletion of the report? Link to comment Share on other sites More sharing options...
ogavavka Posted January 24, 2014 Share Posted January 24, 2014 If you are familiar with some programing language you can use REST API for Update/Delete Reports. How to do that - look at docs or samples for your language.<<<<<< This comment was blocked and unpublished because Project Honeypot indicates it came from a suspicious IP address. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now