Generate a PDF

Discussion created by tribeiro on Jun 5, 2012
Latest reply on Jun 6, 2012 by jbarrette-esristaff
Hello everybody,

I have a webGIS, and I'm trying to generate a PDF using a python script based in this sample,, but with a few twits.
I'm already able to generate a PDF with my own custom layers and layout. Now I need to add some more information to the map based in selections made in the WebGIS.
Basically what I want is to query a feature class, then add the resulting records to my map, and finally show them in the PDF.
What I'm planning to do is to add an empty feature classes to the mxd, with symbology already defined, and then copy the rows from the source feature class to this one.
Since I don't have yet a lot of experience with Python and geoprocessing, I ask you:

  • Is this the best approach, and if not, can you tell me how you would accomplish this?

  • Can you point me to the right functions and resources to do this?

For now it's all. Hopefully someone can help me!