Home
Analytics
Birt report in a web browser
ajunuthula
Hi all,
I am trying to understand how birt functions.
To view a report in a browser, do you need to have any part of birt software running/installed on your machine? or can the report be viewed on any browser even without birt.
What is needed to open/run the report in a browser? How is this functionality done?
Can anyone explain us briefly or is there any article that we can read on this?
Thank you.
Find more posts tagged with
Comments
mwilliams
Hi ajunuthula,
If you download the birt-runtime, there is an exampleWebViewer that you can deploy to an application server like Tomcat and deploy your report to that and then you can access them by a URL from any computer with access to the server.
Hope this helps.
ajunuthula
Hi,
I downloaded the Birt runtime and deployed the WebViewerExample into apache tomcat(webapps) and also deployed my report(xx.rptdesign) to tomcat.
Now how can I access this by URL(from local machine and also any computer)?
Can you please briefly explain on this.
Thank you,
Aparna J
mwilliams
Aparna J,
If you deploy it onto your internal network within Tomcat, you can access it from any computer on your internal network. If you deploy it to an outward facing server for your customers, they should be able to access them from their computer without downloading anything.
Take a look at these instruction on installing and testing the WebViewerExample:
http://www.eclipse.org/birt/phoenix/deploy/viewerSetup.php
ajunuthula
Thank you so much for the information.
I did exactly the same way, and the URL
"
http://localhost:8080/WebViewerExample/frameset?__report=test_parameters.rptdesign"
; open up, but cannot see the content.
Am I missing something?
I am attaching the webpage with the above url.
mwilliams
Did you follow the installation and see the test report design?
ajunuthula
Yes, I followed the instructions and did exactly the same.
I can open the report viewer for test.rptdesign but cannot see the content.
"
http://localhost:8080/WebViewerExample/frameset?__report=test.rptdesign&sample=my+parameter"
;
Thank you.
mwilliams
So, you get the page that say that the viewer was installed correctly and to click on the link to view the test report? And you click on the link and don't see anything?
ajunuthula
Yes, I get to the page where it says "Birt Viewer has been installed"
Now when I click on "View Example", a webpage with the URL
"
http://localhost:8080/WebViewerExample/frameset?__report=test.rptdesign&sample=my+parameter"
; open up and it says
Birt report Viewer..... showing page 1 of 1..........and can see the icons like run report,print,export data,export report........
But cannot see the content in the report, it is just blank.
I tried to run the test.rptdesign from within birt and can see the content as
"Congratulations!
If you can see this report, it means that the BIRT viewer is installed correctly.
Sample Parameter: Hello "
Any idea?
Thank you,
Aparna J
mwilliams
Aparna J,
You might try deleting the web viewer and then reinstalling it.
ajunuthula
I deleted the web viewer and installed it again, but still the same problem, can open the "view example",but cannot see the content.
ajunuthula
Its working, didn't copy birt.war to the correct location on tomcat.
Thank you.
mwilliams
I haven't seen this issue before. What web browser are you using?
ajunuthula
AM using IE8.
I have a quick question.
I can run both test.rptdesign and test1.rptdesign.
So do I need to deploy my report designs from birt into tomcat and run using the same url with the needed changes?
Thank you.
mwilliams
Yes, you'll need to put your report into the deployed viewer.
ajunuthula
Yes, my report test_parameters.rptdesign is in the deployed viewer, and when I open the url
"
http://localhost:8080/birt/frameset?__report=test_parameters.rptdesign"
, I get errors as
"cannot load the report query:1022 Table(id=1022)
Thank you,
Aparna
mwilliams
Have you deployed your database driver and made sure that your dataSource still has access to your database when you're deployed?
Can you expand the error and post the entire stack trace in here?
ajunuthula
Yes, I did deploy the database driver.
Attached is the error stack file.
Thank you.
mwilliams
The only thing I get from the error is that there is something wrong with the query for the table with ID 1022. Are you sure this is the entire stack? Usually there's a "caused by" section.
ajunuthula
yes.
I creatd a sample report and deployed into tomcat but still get the same error.
Am attaching the entire error report.
My report has a table with one column that gets the data from the database.
Thank you.
Aparna J
dungnn2
<blockquote class='ipsBlockquote' data-author="'ajunuthula'" data-cid="73244" data-time="1297446550" data-date="11 February 2011 - 10:49 AM"><p>
AM using IE8.<br />
<br />
I have a quick question.<br />
<br />
I can run both test.rptdesign and test1.rptdesign.<br />
<br />
So do I need to deploy my report designs from birt into tomcat and run using the same url with the needed changes?<br />
<br />
Thank you.<br /></p></blockquote>
<br />
Hi,<br />
I can see it on ie7 but not visible in ie 8 & 9<br />
<br />
pls help.<br />
<br />
thanks!