Select to view content in your preferred language

eSearch export options

2184
6
08-26-2012 06:46 AM
JosephAccardi
Regular Contributor
Hi Robert, your eSearch widget is a great tool that I use to export out search results to csv format from the grid table. I was wondering if it was possible to add an Export to PDF to the search result window (not the grid table window)? I'm not a developer so I don't know how complex it is to add such functionally. No worries if you don't have any plans to add it. I really appreciate your contributions to the Flex Viewer community.

Joe
Tags (2)
0 Kudos
6 Replies
RobertScheitlin__GISP
MVP Emeritus
Joe,

   I don't have any plans to add something like export to pdf as it would be very hard to generalize a function that would work for the 100s of users of this widget.
0 Kudos
JosephAccardi
Regular Contributor
Okay, no problem. I was just wondering if there was a way to print out the search results for users who do not have MS Office or are not savvy enough to modify the .csv/.txt files into a readable format. I can't think of any 3rd-party software that converts these file formats into a readable MS Word/PDF format.

If I was working with the uncompiled version of FV would I be able to create "export to" functionalities in a web application?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Joe,

   Yes with the uncompiled version it would be possible to add that capability but it is not something I believe a beginner flex developer could tackle.
0 Kudos
JosephAccardi
Regular Contributor
Okay thanks for your honesty. Looks like I won't be getting a solution for this anytime soon.

I have another question regarding the way data is sorted in the exported csv file. I added the "asc|1|string" code for the data field that needs to be sorted in ascending order. It works perfectly in the datagrid results, but when I export the data to csv it becomes unsorted like the way it is in the search results. Is there a line of code that I'm missing in the config file that dictates the sort order in the search results and exported csv file?

Thanks
0 Kudos
JosephAccardi
Regular Contributor
Has anyone figured out how to get the selected records and exported data grid table records to sort in order based on preferred field values? You can sort field records in the data grid table, but when they are exported the sorted records doesn't hold.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Joe,

   No solution to this yet. Obvious answer is that it can be done in what ever program the end user brings it into, but I do agree that the export should maintain the sort, I just have not been able to get this working yet.
0 Kudos