Home
Analytics
Export to pdf from webviewer
siddu258
Hi All,
Need help to export to pdf format from currenlty displayed report.
I am using eclipse view to display the browser control.I have configured "run" servlet.
My requirement is to export the currently displayed report.
I have the idea about frameset servlet but i need to use run servlet to display the report.
As a workaround i have created a toolbar action for the view and clicking the icon i am creating runandrendertask to render the output to pdf. But this was export has to do the business logic processing to generate the report.
Is there any way to export from the currently displayed report using run servlet only.
Thanks,
Sridhar
Find more posts tagged with
Comments
mwilliams
The frameset creates the rptdocument, allowing for just the render task to be needed to show the different output. In your current setup, what you have is probably the way to do it. What is your need for using run over frameset?
siddu258
Hello Williams,
We are at the end of the project cycle and all the testing cycle has been done using run servlet.
At this moment switching to frameset servlet needs testing cycle which we do not have. Also the frameset servlet has many options in toolbar which we do not want to give to the user such as exporting to excel.
We planned to support pdf, word and powerpoint.
Can you suggest me the best way to go?
Thanks,
Sridhar
mwilliams
Without creating a report document with separate run and render tasks, you might be stuck doing it as you are, running the report again. The viewer pages are editable to remove the ability to do certain things. Export to XLS can be removed from the list, toolbar buttons can be removed, etc. However, if you don't have time to test this before release, this probably won't do you much good.
siddu258
Thanks Williams for your suggestion.
We are going with frameset servlet editing the unncessary options.
Again thanks for your valuable time.
Sridhar
mwilliams
You're welcome. Let us know whenever you have questions!