thomassoo Posted March 24, 2009 Share Posted March 24, 2009 Hi jasperserver master, I would like to know whether we can delete or modify specific datasources, reports or folders without login to jasper server. if can, could you provide code for window and linux os? Link to comment Share on other sites More sharing options...
anandharaj Posted March 24, 2009 Share Posted March 24, 2009 You can do the changes using iReport via JasperServer plugin. Link to comment Share on other sites More sharing options...
thomassoo Posted March 24, 2009 Author Share Posted March 24, 2009 sorry, idea from client, we cannot use ireport to change the setting. we only allow to use command to remove or modify. only idea I know, we can drop all jasperserver content in current server and import another server's jasperserver content. Link to comment Share on other sites More sharing options...
anandharaj Posted March 24, 2009 Share Posted March 24, 2009 Actually what are you trying to do? Link to comment Share on other sites More sharing options...
thomassoo Posted March 24, 2009 Author Share Posted March 24, 2009 migration report, data source from UAT server to Production server. Client don't want to remove or modify report, datasource and folder by login jasper server. they want to use command to update jasperserver information. anyway, i know the way to update report and data source but how about delete folder, report and data source. Post Edited by thomas soo at 03/24/09 09:05 Link to comment Share on other sites More sharing options...
anandharaj Posted March 25, 2009 Share Posted March 25, 2009 Is that mean that you only want to migrate certain information (reports, datasource, etc) to the PRD server? If that is the case, i would just use the import-export tool to do the jobIf the user still insist to do any changes from UI, perhaps they can do it directly in DB (if they know how to do) :-) Link to comment Share on other sites More sharing options...
thomassoo Posted March 25, 2009 Author Share Posted March 25, 2009 justlike import and export, do you have delete command or script? Link to comment Share on other sites More sharing options...
anandharaj Posted March 25, 2009 Share Posted March 25, 2009 Why you want to delete if you going to migrate those needed information only? Link to comment Share on other sites More sharing options...
thomassoo Posted March 25, 2009 Author Share Posted March 25, 2009 if in production server, there is one data source or report no longer use. we will need to remove them. My project manager want to remove them by using command instead of login to jasperserver to remove them. Link to comment Share on other sites More sharing options...
samvijay Posted March 25, 2009 Share Posted March 25, 2009 If your aim is to delete resources in JasperServer without using either JasperServer-UI or iReport, then you could probably write a simple Java class with main method that will call JasperServer WebService to delete the resource. This class can be bundled as a jar file with dependencies, and can be executed from .cmd or .sh by passing required arguments You can refer to JasperServer-Web-Services-Guide.pdf for more details on JasperServer WebService 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