admin.vizexperts Posted March 14, 2014 Share Posted March 14, 2014 Hello Everyone,I am trying to generate a report using json file as datasource.I have successfully created the report and able to see the report with values from json file using iReport.Now i want to deploy this report to JasperServer. I know to deploy reports to jasperserver with other data source like with postgresqlbut not able to deploy this report to jasperserver with json datasource.I am using iReport 5.5.0 and Jasperserver 5.5.0.Please help me. Link to comment Share on other sites More sharing options...
admin.vizexperts Posted March 25, 2014 Author Share Posted March 25, 2014 As a progress i have added a parameter for json file url, which is on remote server.After that i have deployed this report into jasperreport server without passing any datasource.Now i am passing the remote json file url to that parameter.It is showing blank report.I am trying to make it work like remote xml datasource.Guys help me to tell where i am doing wrong. Link to comment Share on other sites More sharing options...
admin.vizexperts Posted March 25, 2014 Author Share Posted March 25, 2014 Hi all i have somehow solved the problem.I have added a property in my jrxml file:<property name="net.sf.jasperreports.json.source" value="http://localhost:port/jsonfilepath"/>In which i have passed remote JSON file url.by this report is working fine.Now, i want to change/pass this(my json file url) value from webapplication at run time.can i use a parameter field for this(if yes how), or there is something else what i am missing. Link to comment Share on other sites More sharing options...
vote4me Posted July 1, 2014 Share Posted July 1, 2014 I have tried to use an property expression to no avail. Link to comment Share on other sites More sharing options...
akothari Posted September 10, 2015 Share Posted September 10, 2015 Were you able to resolve this? Link to comment Share on other sites More sharing options...
manulachathurika Posted October 8, 2015 Share Posted October 8, 2015 Hi,Can you put your jrxml and json dataource file.Thanks ! Link to comment Share on other sites More sharing options...
micael.geiss Posted July 14, 2017 Share Posted July 14, 2017 It works for me after 2 long days looking for what my report was always blank. Thanks 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