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)
Problem with &__format=pdf parameter
anir
Hi,
I am trying to export one of my reports to pdf by using the &__format=pdf parameter in the url. This is working fine for me in my machine both in my local deployment and qa deployment, but its not working for my colleagues on other machines. What can be the problem?
Another thing that I notice while exporting in my local, the pdf simply opens in a new window (does not give any Save option), but when I run the same in qa, it opens a new window, but then the pdf doesn't get displayed but instead gives me a Save option. Why is the behaviour different in local and qa? Does it have to do with some settings?
Thanks
Find more posts tagged with
Comments
mwilliams
Hi anir,
So, __format=pdf doesn't work when accessing the deployed report from another computer? That's the big issue here?
anir
Hi Michael,
Yes, this is the issue.
Thanks
anir
Hi Michael,
Figured this out with the help of my colleague, that this is an issue with window.open(). Using <a> solves the problem. Is that what you guys have also faced?
Also please look into the 2nd part of my original question. Any answers for that?
Thanks
Virgil Dodson
Hi anir,<br />
<br />
The open source viewer will try to open the PDF file in place, unless someone has right-clicked on the link to get the Save As dialog. Different browsers may also force the save as dialog if there is not a PDF reader plugin in the browser... or there may be a browser setting for how to deal with PDF files.<br />
<br />
Another thread started at <a class='bbc_url' href='
http://www.birt-exchange.org/forum/ad-hoc-interactive-reporting/13707-how-prompt-file-save.html'>http://www.birt-exchange.org/forum/ad-hoc-interactive-reporting/13707-how-prompt-file-save.html</a>
; gives another option for changing the default behavior of the BIRT viewer by modifying the source.
anir
Hi Virgil,
The same report is asking for "Save As" when run from QA. While its directly opening in the browser when I am running it on my local machine (localhost). Can you explain this?
Thanks for the links and the explanation
Thanks