Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Difference between rptDesign & rptDocument
rajivpa
Hi
I am new to BIRT. I understand that reports could be generated either from
rptDesign or rptDocument, my questions
1. What is the difference between report generated from rptDesign and rptDocument ?
2. If report is generated from rptDesign, does the Data engine in presentation phase read data directly through datasource or is a rptDocument kind of file is internally created and Data engine reads data off that file ?
(the Integrating and Extending BIRT book has a chapter on BIRT architecture, which specifically mentions that Data engine in presentation phase reads data from rptDocument ? is that true always ?)
Thanks
Rajiv Patil
Find more posts tagged with
Comments
Rosche
I have the same question.
What is the difference between rptdesign and rptdocument?
And what difference does each have on performance of the Report Engine? (I mean which would be faster to read?)
pauljin
As you know already there is basically two way to make the report works . First one is using 'runandrender' task which doesn't create a .rptdocument . The second method will make use of two seperate task viz run task and render task . The second one is used when you are using birt interactive web viewer. It enables a lot of advanced features such as exporting the report to other formats etc.
So make it simple run task is the one which create .rptdocument which is nothing but a binary file which has report design and data bind inside it.
So now it comes the hard part
does it really have the data... well my answer would be yes...
then you will come up with the question is that rational all the time???
you are right no.. ideally BIRT will make use of .rptdocument when there is no report changes and input parameters are also the same. Once either of them changes BIRT will recreate the report . So if you look at the performance side it add a big plus...........earlier we had issue that even if the parameter changes BIRT refused to acknowledge it....but that has been fixed in earlier releases .........
Just for your knowledge there is an option there to recreate the .rpotdocument every time you invoke the report.......this could come in handy to some of us who are very keen on getting the latest report..
well there it goes..this is my understanding about it..............................any body interested in something about the same ???
looking forward to your comments
Shreelekha
<blockquote class="ipsBlockquote" data-author="pauljin" data-cid="45175" data-time="1237819116"><div><p>As you know already there is basically two way to make the report works . First one is using 'runandrender' task which doesn't create a .rptdocument . The second method will make use of two seperate task viz run task and render task . The second one is used when you are using birt interactive web viewer. It enables a lot of advanced features such as exporting the report to other formats etc.<br />
<br />
So make it simple run task is the one which create .rptdocument which is nothing but a binary file which has report design and data bind inside it.<br />
<br />
So now it comes the hard part
does it really have the data... well my answer would be yes...<br />
then you will come up with the question is that rational all the time???<br />
you are right no.. ideally BIRT will make use of .rptdocument when there is no report changes and input parameters are also the same. Once either of them changes BIRT will recreate the report . So if you look at the performance side it add a big plus...........earlier we had issue that even if the parameter changes BIRT refused to acknowledge it....but that has been fixed in earlier releases .........<br />
Just for your knowledge there is an option there to recreate the .rpotdocument every time you invoke the report.......this could come in handy to some of us who are very keen on getting the latest report..<br />
<br />
<br />
well there it goes..this is my understanding about it..............................any body interested in something about the same ???<br />
looking forward to your comments</p></div></blockquote><p>Hi..</p><p> </p><p style="color:#000000;font-family:helvetica, arial, sans-serif;">[font="arial, sans-serif;font-size:13.333333015441895px;"]Above you have mentioned that rptdocument [/font][color=rgb(40,40,40);]is used when we are using birt interactive web viewer.[/color]</p><p style="color:#000000;font-family:helvetica, arial, sans-serif;">[color=rgb(40,40,40);]I'm using open source birt 4.2.2[/color]</p><p style="color:#000000;font-family:helvetica, arial, sans-serif;">Where [font="arial, sans-serif;font-size:13.333333015441895px;"].rptdocument will be stored?[/font]</p><p style="color:#000000;font-family:helvetica, arial, sans-serif;">[font="arial, sans-serif;font-size:13.333333015441895px;"]Please suggest me how to use it in drill through to create hyperlink?[/font]</p><p style="color:#000000;font-family:helvetica, arial, sans-serif;"> </p><p style="color:#000000;font-family:helvetica, arial, sans-serif;">[font="arial, sans-serif;font-size:13.333333015441895px;"]Thanks[/font]</p><p style="color:#000000;font-family:helvetica, arial, sans-serif;">[font="arial, sans-serif;font-size:13.333333015441895px;"]Shreelekha[/font]</p>