pete3031 Posted February 9, 2012 Share Posted February 9, 2012 Hi GuysI have a huge problem, when I run my report in iReport it works fine but when I run it in jasper it says the report is empty. Any suggetions? Please Guys. Thanks Link to comment Share on other sites More sharing options...
rault Posted February 13, 2012 Share Posted February 13, 2012 Sounds like your data source connectios are different in some way. Maybe the user account used to connect to the database? Are you using schemas? Link to comment Share on other sites More sharing options...
pete3031 Posted February 15, 2012 Author Share Posted February 15, 2012 It's the same user account that we've always used, and the same database accounts, all the other reports work it is just this one. Link to comment Share on other sites More sharing options...
norcenmarco Posted February 15, 2012 Share Posted February 15, 2012 What did you put in your report?Flash maps and other stuff or only text and field? Link to comment Share on other sites More sharing options...
pete3031 Posted February 17, 2012 Author Share Posted February 17, 2012 There is a table which shows data in ireport but not in jasper Link to comment Share on other sites More sharing options...
norcenmarco Posted February 17, 2012 Share Posted February 17, 2012 Did you have any parameters in your report? Link to comment Share on other sites More sharing options...
pete3031 Posted February 17, 2012 Author Share Posted February 17, 2012 Which parameters specifically? Link to comment Share on other sites More sharing options...
norcenmarco Posted February 17, 2012 Share Posted February 17, 2012 I mean in your report do you use any parameter you know $P{Name} maybe you din't create it in the repository... Link to comment Share on other sites More sharing options...
khahn Posted February 20, 2012 Share Posted February 20, 2012 The data source that you set up in iReport is not saved in the jasperreport. You have to redefine the data source when you add the jasperreport as a resource to JasperReports Server. For example, right-click the Samples folder in server and choose Add Resource. Use the Add JasperReport wizard Data Source button to define the data source. The JasperReports Server User Guide has step-by-step instructions in chapter 5 for adding a simple report to the repository. I think it might help to take a look.There's an article about setting up data sources here:jasperforge.org/plugins/mwiki/index.php/JasperserverRegarding your email question, Do you know if it is possible to create a new top menu? A new button like view and create?Yes, you can create a new top menu. 1. In the actionModel-navigation.xml, you create a menu mutton similar to the ones you see there (see code).2. In pro_nav_messages.properties (JRS-pro) or jasperserver_messages.properties (community), define the NAV key for example NAV_032_MYMENU.3. Add a navigation path in the actionModel.primaryNavigation.js.Here's a link to a document that describes making some similar (but not exactly what you asked about) customizations to JRS-pro that might help:jasperforge.org/uploads/forum/102/87270/customizing_server.pdfSee also: jasperforge.org/projects/jasperserver/docs Code:<!--context for view option on primary menu--><context name="main_mytopmenu_mutton">. . .<option labelKey="NAV_032_MYTOPMENU" action="primaryNavModule.navigationOption"actionArgs="mytopmenu"/></selectAction></context>Post Edited by khahn at 02/20/2012 23:26 Link to comment Share on other sites More sharing options...
pete3031 Posted February 22, 2012 Author Share Posted February 22, 2012 Hi, thanks for the advice. Finally fixed it, will post the resolution. 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