hozawa Posted October 15, 2015 Share Posted October 15, 2015 I've upgraded my CSV datasource tool so csv file and JasperReports Server domain are in sync. If the csv file is copied to a folder, domain is created. If the csv file is deleted, domain is deleted from JasperReports Server. Link to comment Share on other sites More sharing options...
ernestoo Posted October 16, 2015 Share Posted October 16, 2015 Oh that's cool! Nice demo, thank you hozawa! I guess you disabled caching? Also, I guess the schema is fixed or it will find the schema for you? Thanks for sharing! Link to comment Share on other sites More sharing options...
kkumlien Posted October 16, 2015 Share Posted October 16, 2015 Hi Hozawa, thanks for sharing! Please let me know if you'd like to share your code via the Exchange and I should be able to help you.P.s. For your next video I'd suggest setting the UI locale to English so that more people will be able to understand ; ) Link to comment Share on other sites More sharing options...
hozawa Posted October 16, 2015 Author Share Posted October 16, 2015 Scheme isn't fixed. A domain is dynamically generated when a csv file is copied to a folder. Link to comment Share on other sites More sharing options...
Solution hozawa Posted October 16, 2015 Author Solution Share Posted October 16, 2015 I've attached a new video with JasperReports Server's locale set to English. The csv file can be located in user's pc instead of on JasperReports Server. In this case, a client software needs to be installed on user's pc to make the csv file available to JasperReports Server.1. I'm copying a csv file into the drop folder, This creates a domain in JasperReports Server using the name of the csv file.2. I'm creating an Adhoc View using the created domain.3. I'm editing the csv file to have fewer rows and inserting a column "MIDDLENAME"4. Refreshing the web browser to show data update. Domain won't be refreshed automatically so I'm reloading the domain. (I think I can make the Domain update so a field selection will be sufficient. The problem will be when the used column is deleted from the csv file.)5. Viewing Adhoc View after reloading the domain6. Finally, deleting the csv file from the drop folder. This also deletes the Domain.I think this tool will make using Adhoc Views much easier to use. Link to comment Share on other sites More sharing options...
kkumlien Posted October 20, 2015 Share Posted October 20, 2015 Thanks Hitoshi! If you could share the code it would be perfect ; ) Link to comment Share on other sites More sharing options...
ashiwalv Posted February 17, 2017 Share Posted February 17, 2017 Which client did you use in this case? 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