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?