PermaLink Portlet Factory - exporting data to Excel02/10/2007
Portlet Factory
I was recently working on exporting data from a Websphere Portlet Factory application to Excel.  Portlet factory has an "Excel Export" builder that makes exporting data from a service provider easy.  

The twist here is that the user also wants to have the data match exactly with the various sort options selected from a view.  These were based on the column headings they have clicked on.  I also provide the user with a query interface to allow them to drill down on the data.  This needed to be included also.  So this was not going to be easy....

I immediatley assumed I would need to capture the clicked columns some how and sort the filtered data in java or pass this info to an SQL query to perform.  I was pleasantly surprised to find that if I used the same result set that the view was presenting to the user, that it was physically sorted according to the columns they have clicked on.  I also filter that result set using the drill down technique I built.  So the Excel export matched the data in view exactly. It could not have been any easier.

John

Here's a screen shot of the Excel Export Builder:
"PFExcelExport.GIF"

Technorati:
This page has been accessed 237 times. .
Comments :v
No comments.
Search
XPage Examples
By Category
My Links
Downloads
Monthly Archive
Powered by
Blogsphere
Lotus Domino ND7 RSS News Feed RSS Comments Feed Geo URL netcraft RSS Validator Lotus Geek Chris. A. Brandlehner OpenNTF BlogSphere
Calendar
No calendar found.
The BlogRoll