Select to view content in your preferred language

Generate Tabular Report in PDF??

671
2
07-05-2011 10:23 AM
FrankRoberts
Frequent Contributor
I would like to create some relatively simple pdf reports from attributes found in an AGS service.  I know that ArcMap has some reporting capability out of the box, however I'm not seeing any way to access these reports via Flex/AGS.  I've done some searching of the forum and I'm not finding much.

Am I going to need to use AlivePDF and build my own report that way?

I was also thinking I've seen some uses of Python and geoprocessing tasks to generate reports, but maybe that is more advanced/server intensive then what I really need.

Any ideas would be wonderful,
Frank
Tags (2)
0 Kudos
2 Replies
Drew
by
Frequent Contributor
Frank,

The way I do is by sending the layer ID and Object ID (or any unique identifier) from the Flex app to a custom .NET web service. Then my web service uses the ESRI SOAP API to query that feature and get it's attributes and pushes them into a Microsoft Report (designed using Visual Studio). Once the report is complete in code I stream the bytes to an .ashx handler file and send it back to the client.

It sound complicated but if you know ASP.NET it can be accomplished quite nicely.

Drew
0 Kudos
AaronNash
Deactivated User
I did it using alivePDF and an ArcServer web service. I am just running a query on the web service, returning the values into a datagrid and then publishing the selected value into a PDF report. There was a thread on it in the Flex Viewer forum here. I did not use any geoprocessing or phython just some code found in the sample code section.
0 Kudos