Portlight Posted February 9, 2011 Share Posted February 9, 2011 I need to be able to schedule a report - donethat saves the results to a rtf file - (can do) in a folder that is on the server but not specifically in the "root" of the jasperserverin other words - can i map a folder to the jasper server in which i can save reports or can i save the report results to a file other than inside of jasper server Link to comment Share on other sites More sharing options...
Portlight Posted February 9, 2011 Author Share Posted February 9, 2011 or am open to suggestions on what to use to auto move files from the jasper directory to a local drive on the same server network Link to comment Share on other sites More sharing options...
federico.cattozzi Posted February 10, 2011 Share Posted February 10, 2011 Do you know js-import and js-export utilities?From Command Line you can export everything from JS Repository to file system: js-export --uris=path_on_JS_repository --output-dir=path_on_filesystemor import.Read JasperServer User Guide, pages 51-52.Post Edited by helyair at 02/10/2011 07:59 Link to comment Share on other sites More sharing options...
Portlight Posted February 10, 2011 Author Share Posted February 10, 2011 I saw that you can export everything...i am only wanting to export one report - daily as in scheduled and would like to do this automatically. Link to comment Share on other sites More sharing options...
Portlight Posted February 10, 2011 Author Share Posted February 10, 2011 found it in the server 4.0 options! thank you Link to comment Share on other sites More sharing options...
federico.cattozzi Posted February 10, 2011 Share Posted February 10, 2011 What are you saying?I don't see options on JS to save report output into a filesystem directory, but only into JS repository.You can schedule an OS task that calls js-export daily on a single report output or directory. Link to comment Share on other sites More sharing options...
Portlight Posted February 10, 2011 Author Share Posted February 10, 2011 yes, that is what i found. I re-read the pages you sent me to. I could not find that in the jasper server 3.7 - are you saying that you can do this in server 3.7 and that there is no need to upgrade Link to comment Share on other sites More sharing options...
federico.cattozzi Posted February 10, 2011 Share Posted February 10, 2011 On Windows I have js-export and js-import under ...\jasperserver-ce-3.7.0\scripts. Link to comment Share on other sites More sharing options...
Portlight Posted February 14, 2011 Author Share Posted February 14, 2011 this is the what i am putting in the command promptC:\Users\jessie.brown.NS-1> js-export --uris = ContentFiles/Covington --output-dir = c:\covingtonThis is the results'js-export' is not recognized as an internal or external command,operable program or batch file.Do i need to place the js-export script somewhere else or how can i fix this. Link to comment Share on other sites More sharing options...
Portlight Posted June 28, 2011 Author Share Posted June 28, 2011 Just in case others need this!My mistake was not navigating to the correct directory where the js-export script is housed. Once i was in the correct directory the above command line workedso this is the correct version:d:\jasper3.7directory/scripts/js-export --uris = ContentFiles/Covington --output-dir = c:\covington 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