iReport Netbeans plugin missing preview designer button

0

Hi, I have installed on netbeans 7.4 the iReport plugin 5.5.0 downloaded from netbean plugin portal.

No error appear during install. Wizard to create new report was added. After create new report through the wizard the source editor open but preview and designer button missing from the toolbar. The Palette show with generic icon. what's wrong?

info_113's picture
Joined: Dec 21 2013 - 8:44am
Last seen: 5 years 8 months ago

In Tool Bar--->goto  View--->Just select Show Editor tool bar.

That's it. 

merugu.srinivas - 2 years 8 months ago

7 Answers:

1

Hi,

In netbeans we need to create the viewee using a JPA form. You can follow the process- 

1. After installing plug-in in NetBeans IDE you will observe a new category in Swing Palette: JasperReport Viewer

2. In a NetBeans Form (from where Jasper Reports (jrxml or jasper) must be invoked) created in an JPA project (meaning that persistence.xml must exists) you can add JasperRunnerButton.

3. The most important property is reportURL where you must provide the path and the name of the target Jasper report. The appropriate syntax must be relative to project package-structure and must be specified using normal Java conventions such as: /japp/view/reports/Report.jasper. Even a more java-source-like syntax is accepted, like japp.view.reports.Report.jasper.

4. The target report file must be included in NetBeans project and must be send in compilation (build/classes) or distribution path.

5. Other optional properties:
- reportParameters - to send parameters using a Map containing parameter name - value pairs;
- runSynchronous - to disable lunching button until preview window is up;
- databaseURL, databaseUser, databasePassword, databaseDriver if it is a JDBC only application (not a JPA context)
- sqlText - to send as parameter for JasperReport a SQL phrase like those used to initialize JDBC Prepared Statements and where the parameters marked with ? symbol will be replaced by the Map supplied with reportParameters property, Map that will include index-value pairs this time.

6. The plug-in installs the necessary jasper libraries (jars), so there is no need to add them separately.

7. The JasperReportViewer.jar contains JasperReportHelper class that is doing the whole integration work. This class contains three runJasper methods that can be called to lunch a Jasper report using database parameters or a JDBC connection or even a JDBC PreparedStatement.

 

Hope that this helps.

Regards,
Ankur Gupta

Ankur Gupta's picture
Joined: Jan 21 2013 - 10:36pm
Last seen: 1 week 5 days ago
0

Hi, thanks for reply.

If you see this video from oracle blog https://blogs.oracle.com/geertjan/entry/ireport_for_netbeans_ide_7
n
ext to he wizard creation of the .jrxml, when the file auto open the toolbar is very different from the mine.

This is my screenshot:

info_113's picture
Joined: Dec 21 2013 - 8:44am
Last seen: 5 years 8 months ago
0

Next to fresh install of all (jdk, netbeans, plugin), all is working ok.

Thanks for help

Erik

info_113's picture
Joined: Dec 21 2013 - 8:44am
Last seen: 5 years 8 months ago
0

Hi mate,

I also had the same issue.  I'm using Netbeans 8.0.1 version and I firstly downloaded and installed this plugin. But when I tried to create the report I also noticed that I 'm having only the xml. Preview and Design buttons were not there. 

So then I remove the installed plugins (.nbm files) and downloaded this from Netbeans and reinstalled the plugin.

Then it worked perfectly for me. So my thought is, your plugin might missing some files.. so better if you can remove that and redownload the plugin from here.

Hope it will work. Cheers!

 

supun2011s's picture
Joined: Jan 27 2016 - 9:26pm
Last seen: 3 years 7 months ago
0

Mostly the main reason behind  not showing the designer platform is because of the extension of the file you are created either not providing an extension or for  some reason  creating as a plain xml file.

While creating makesure you include .jrxml  as the extension of the file

The problem should be over.

nairgh's picture
33
Joined: Jan 19 2016 - 8:20pm
Last seen: 3 years 7 months ago
0

In Tool Bar--->goto  View--->Just select Show Editor tool bar.

That's it. 

merugu.srinivas's picture
Joined: Nov 3 2016 - 11:17pm
Last seen: 1 year 9 months ago
0

The screenshot is simply saying that some plugins were missed. You have to install below mentioned .nbm files one by one. For installing these plugins you have to download it first,then in IDE goto Tools then Plugins-->then downloaded--->then select one by one which we have downloaded.After every plugin installation it will restart the IDE automatically.If not Kindly restart the IDE then you may able to see all tools which are compatable with iReport.

1.iReport-5.6.0.nbm

2.jasperreports-components-plugin-5.6.0.nbm

3.jasperreports-extensions-plugin-5.6.0.nbm

4.jasperserver-plugin-5.6.0.nbm

 

 

With Regards,

Merugu Shrinivas.

 

merugu.srinivas's picture
Joined: Nov 3 2016 - 11:17pm
Last seen: 1 year 9 months ago
Feedback
randomness