Jump to content

How to place the i-report in jasper server


raju143

Recommended Posts

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

There are a few ways to do this the easiest way i find is

First you need to add the jasperserver to the ireport repository navigator. 

Then right click the folder you want to add the report to, click add report unit, 

give the report a name, description etc.

Then choose the jrxml file or choose the current file to be used

then define the data soure

ALL DONE!!

i know the instructions are very basic but it really is that easy!

Link to comment
Share on other sites

Does your report / subreport run when previewing it in ireport? If not the sub report needs to have parameters and these parameters need to map to fields or parameters on the main report. (In the main report click on the sub report and in properties scroll to the bottom and add Parameter (Name = name of param from subreport, expression = field or parameter in main report).
 

Then you need to change the path of your Subreport Expression to "repo:thenameofyourrepor". Save, compile main report, load onto server in report unit.
Then you need to compile your subreport and Add jrxml file / upload them (the easiest way for me) to the Resources folder INSIDE your Report Unit folder.

Now the subreport will NOT run in ireport but should work in Run Report Unit (server)

This was very confusing for me, 5 hrs. to get it to work.

good luck!

http://osdir.com/ml/java.jasperreports.general/2006-06/msg00055.html

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...