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)
Export report file name
Lucquy
<p>Hi,</p>
<p> </p>
<p>I am running Eclipse BIRT Designer Version 4.6.0.</p>
<p> </p>
<p>When I do an export from viewer, the export file should be named as the .rptddesign file.</p>
<p>In my case the export files are named "BIRTreport".</p>
<p>I did not find any way to set export to the default (use the .rptdesign file name for the export file.</p>
<p> </p>
<p>Thanks in advance.</p>
<p> </p>
<p>Edit 20 december : nobody knows ?</p>
Find more posts tagged with
Comments
Lucquy
<p>Nobody knows ? Really ?</p>
Matthew L.
<p>Typically when you export a report its in a 3rd party format (See screenshot) rather than an .rptdesign file.</p>
<p> </p>
<p>How are you exporting your report (Export Data, Export Report)?</p>
<p>Or which options are you using to export with?</p>
<p> </p>
Lucquy
<blockquote class="ipsBlockquote" data-author="Matthew L." data-cid="146420" data-time="1483551186">
<div>
<p>Typically when you export a report its in a 3rd party format (See screenshot) rather than an .rptdesign file.</p>
<p> </p>
<p>How are you exporting your report (Export Data, Export Report)?</p>
<p>Or which options are you using to export with?</p>
</div>
</blockquote>
<p>To export I go throught the report viewer doing export report and usually using the xlsx format, but it is the same wit the others formats.</p>
<p>Since my first message I find that the new reports are exported using the name of the rptdesign file.</p>
<p>So if I redesign an old report from scratch (without copy/paste anything) the export goes well using the report name.</p>
<p>It seems that there is some option attached to the report rptdesign determinig the way of the naming export file.</p>
<p>Thank you for your help.</p>
Matthew L.
<p>I think I understand the issue you are seeing.</p>
<p>Its not the file extension (ex: MyReport<strong>.xlsx</strong> vs MyReport<strong>.BIRTreport</strong>) it's the output file name (ex: <strong>MyReport</strong>.xlsx vs <span style="color:rgb(40,40,40);font-family:'Source Sans Pro', sans-serif;"><strong>BIRTreport</strong>.xlsx) that is having an issue.</span></p>
<p> </p>
<p>You said that redesigning an old report from scratch fixes the issue.</p>
<p>What version are the old reports based on (BIRT 2.5, BIRT 3.7, etc)?</p>
Lucquy
<blockquote class="ipsBlockquote" data-author="Matthew L." data-cid="146423" data-time="1483556067">
<div>
<p>I think I understand the issue you are seeing.</p>
<p>Its not the file extension (ex: MyReport<strong>.xlsx</strong> vs MyReport<strong>.BIRTreport</strong>) it's the output file name (ex: <strong>MyReport</strong>.xlsx vs <span style="color:rgb(40,40,40);font-family:'Source Sans Pro', sans-serif;"><strong>BIRTreport</strong>.xlsx) that is having an issue.</span></p>
<p> </p>
<p><strong>Yes it is MyReport.xlsx vs BIRTreport.xlsx.</strong></p>
<p> </p>
<p> </p>
<p>You said that redesigning an old report from scratch fixes the issue.</p>
<p> </p>
<p>What version are the old reports based on (BIRT 2.5, BIRT 3.7, etc)?</p>
<p> </p>
<p>I don't remember it should be the version on Birt from Eclipse Keller.</p>
<p>At this point the culprit could be the updates of birt making modification on the old rptdesign files to adapt them to the new versions of Birt at each update.</p>
<p> </p>
<p> </p>
</div>
</blockquote>
Matthew L.
<p>If you have both working and non-working .rptdesign files, you can open both in a diff application (ex: Notepad++ with Compare plugin) and compare the raw XML of the designs to determine what "could" be causing the issue between the versions.</p>
<p> </p>
<p>However you are probably correct that the culprit could be that the BIRT Design Engine is updating older XML structure methods and causing the issue to occur.</p>
Lucquy
<p>Thank you for your help. So I will compare the xwl and once I found the difference (If I am able to find) I come back here to give the result.</p>
<p> </p>
<p>Thank's again.</p>
Lucquy
<p>At last I finally find that it is, I think, the solution.</p>
<p>The use of the name "BIRTReport.*" (default name ?) comes when the name of the .rptdesign file contains some letters with accent.</p>
<p>When renaming the .rptdesign file with current letters, the export file is generated with teh same name of the rptdesign file.</p>
<p>I don't know if there is a list for the unconvenient caracters.</p>