Select to view content in your preferred language

Generate a PDF report from an Identify Result or Address Search Result

2247
2
05-31-2013 11:04 AM
PaulFerro1
Deactivated User
Using the Viewer for Flex, I want to deploy a custom widget to generate a .pdf report from an Identify Result or Address Search
Result .  I want the user to be able to search by address, or identify an x, y point on a map, return all of the operational layers this x,y intersects.  Then make a call to an xml or JSON which contains text blocks and populate a .pdf.  The operational layers would be
indexed by a number that would link the results and make the call to these text blocks (that are in an .xml, or JSON format).  We
have thought about using Python to generate the report, but unsure of how to link the Result to Python.

Can someone point to the right class in the flex api to begin building the code?
Tags (2)
0 Kudos
2 Replies
ShaunWeston
Frequent Contributor
Ok I would setup a geoprocessing service to do this. So yeah write some python code to do it basically and you would either have the address, XY point or feature set as input to the model and PDF as output. So you basically just need to setup in the code a way of sending the input parameter to the gp service. There are some examples here about how to set this up with Flex API:

http://resources.arcgis.com/en/help/flex-api/samples/index.html#/Calculate_viewshed/01nq000000590000...
0 Kudos
fdfsdfew
New Contributor
thank you for you acrgis service.
0 Kudos