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)
Birt Report export to [PDF] missing script validations
tsg
Birt Team.,
Platform : Eclipse Version: 3.4.2 with BIRT 2.3.2
IBM Maximo Asset Management 7.5.0.2
My report
Find more posts tagged with
Comments
micajblock
This might have to do with the fact the page number might be different with the different emitters. Try using Fixed Layout instead of auto layout.
Also, how are you creating the PDF. If from within the Designer, try once you are viewing the report, export to PDF.
tsg
mblock,
Even -after changing the layout from auto to fixed. No change in outcome. Following steps are used to generate PDF
a)Generating the report in Maximo Viewer
micajblock
<blockquote class='ipsBlockquote' data-author="'tsg'" data-cid="112983" data-time="1357327622" data-date="04 January 2013 - 12:27 PM"><p>
mblock,<br />
<br />
Even -after changing the layout from auto to fixed. No change in outcome. Following steps are used to generate PDF<br />
a)Generating the report in Maximo Viewer
tsg
mblock, Can you be specific ,I am struggling from last 1 week to resolve this issue.
micajblock
<blockquote class='ipsBlockquote' data-author="'tsg'" data-cid="112993" data-time="1357360131" data-date="04 January 2013 - 09:28 PM"><p>
mblock, Can you be specific ,I am struggling from last 1 week to resolve this issue.<br /></p></blockquote>
More specific about what. Unfortunately Maximo uses a very old version of BIRT and only recently (in Maximo 7.5) upgraded to a more recent version of BIRT.<br />
<br />
It appears to be a bug because as you state sometimes it works (when specifying the page) and sometimes it does not (when you use the default).<br />
<br />
If it is a bug it will not be fixed (for that release). If it is an issue with your code it will require more investigation which unfortunately I do not have time for this week.
PPB
<p style="margin-left:40px;">Hi Guys, I have a slightly similar problem. We are on 7.5.0.4 with Maximo and here is what happens sometimes:</p><p style="margin-left:40px;"> </p><p style="margin-left:40px;">In maximo I run a report for example to a PO. in The report viewer in maximo all data and detail is good. When use the Export to PDF option or to Word I get a blank document or sometimes just missing some details from that compare the report result in the Maximo report viewer. This is not a Maximo OOB report this is a custom report but as they don't yse lot's of reports at all I don't have any feedback from behaving of other reports. Do you think it is a bug in the convert process between Maximo and pdf, word or something with the report itself?</p><p style="margin-left:40px;"> </p><p style="margin-left:40px;">Thanks a lot in advance</p><p style="margin-left:40px;">PPB</p>
wwilliams
<p>tsb, I haven't run into this, but it doesn't mean I won't.</p><p>PPB, the times I have had a blank pdf output it has been an issue with the reportdata. Sometimes using the preview tab and the scrolling to the bottom will shed some light. I have also printed the sqlText in the report header to validate the SQL.(cut and paste to query tool)</p>
PPB
<p>Hi wwilliams,</p><p>In the designer there is nothing problem with the report. There is no scripts error at the end of the report if I scrolling down, in the log file there is no any error message (no for scripts or even sql queries), the sql queries from the script parts give back the proper results if I run them in the sql developer. There is no any fancy scripts in the report anyway so it is just a simple report with two queries. In maximo when I run the report in the PO application or in the report admin application I always get the proper result as it has to be. The problem is beginning when I open the pdf file after the export to pdf action and sometimes that is blank or missing some content.</p>
micajblock
<blockquote class="ipsBlockquote" data-author="tsg" data-cid="112983" data-time="1357327622"><div><p>N.B: This i discovered accidentally, if i mention the pages specifically in the export option screen (Out of 4 Pages for this report)<br />
say: a) 1,2,3,4 .Proper PDF file is generated. <img src='
http://www.birt-exchange.org/forum/public/style_images/master/attachicon.gif'
alt='Posted Image' class='bbc_img' /><a data-ipb='nomediaparse' href='
http://www.birt-exchange.org/forum/index.php?app=core&module=attach§ion=attach&attach_rel_module=post&attach_id=8010'>3.gif</a><br
/>
<br />
Suggestions are welcome to improve the script logic</p></div></blockquote><p>It is possible that this has something to do with how Maximo works. When specifying page numbers Maximo converts the report directly to PDF. When you export the whole report it might be looking for attachments and actually re-runs the report and this part fails.</p><p>It might be a bug in Maximo.</p>