Portlight Posted June 28, 2011 Share Posted June 28, 2011 I need to export a file to a simple root directory NOTresources\ContentFiles\NewdirectoryJUST TO newDirectoryis there anyway at all to do thisOur clients do not want to have to drill down to get the reports we have exported! Link to comment Share on other sites More sharing options...
tkavanagh Posted June 28, 2011 Share Posted June 28, 2011 Hi, the import-export file format is considered an "internal" format. The purpose is to be able to save off the state of the resoruces in the database repository, and to help with the upgrade to new versions, and to allow moving specific resources from one instance to another. So, if we drill down into the exported folder or zip we will find that it is not very "user friendly". It seems to me the purpose you are describing is to get a jrxml (or perhaps all report resources) in order to share it with coworkers?One other way to get resources is to use iReport Designer. It can connect to JasperReports Server and pull reports into iReport for editing. And then it can re-post an updated report back to JasperReports Server. It would be very difficult to change the internal format of the import-export file. One enhancement which is being discussed is to be able to "grab" a jrxml file via the Browser based User Interface. Do you think this would help with the case you are describing? Link to comment Share on other sites More sharing options...
Portlight Posted June 29, 2011 Author Share Posted June 29, 2011 iReport is not an option for me - however I did find a solution.1. create my report2. create a bat file - called it report.bat in which the repository is exported and then JUST the files I want to be available for the client are moved to a rootlevel directorybat file:call js-export --uris /ContentFiles/Covington --output-dir D:\ReportsTestecho moving files to reportTestmove D:\ReportsTest\resources\ContentFiles\Covington\*.csv D:\creditcardpayments This did exactly what I needed - I then created a scheduled task so that exports are done daily and a record is kept.works 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