Home
Analytics
BIRT report download as pdf
Kiranmca
Hi All,
I am using birt:viewer tag to generate the .rptdesign file into to pdf or xls of html.
Every thing work fine. but when the report is download as PDF is getting with some security Message as "Unknown file format". The popup does not have the open button since its is different file format. so as of that i need to save the file as with .pdf extension and open the file.
Is that any other way to give the File name with its extension so that the problem of downloading will be solved.
The birt Viewer tag i am using as such specified below
<birt:viewer id="XXXXXXX"
reportDesign="xxxxxxxx.rptdesign" pattern="frameset"
format="pdf" height="1" width="1">
</birt:param>
</birt:viewer>
Thanks in advance
Find more posts tagged with
Comments
JasonW
This looks like a bug in the tag library. Can you open a bugzilla entry? You could try this extension
http://birtworld.blogspot.com/2008/09/naming-exported-files-from-birt.html
and see what extension type is being sent.
Jason
Kiranmca
HI ,
Thanks for the reply. Can you please let me know is their any away to give the type of the file while download.
i am new to birt i am not sure about how to use the link which provided by you. can you let me know is their a workaround for the issue.
JasonW
Can you open a bugzilla entry? The devs may know of a work around.
Jason