Select to view content in your preferred language

How to get layer definition from web map and pass to python to print PDF?

795
0
05-09-2014 06:20 AM
CindyLu
Deactivated User
Hello,

I am trying to do a print PDF function on a web application using python. I got the sample here (http://www.arcgis.com/home/item.html?id=8f16fdeef39c46b3952002b2d85ea5de ). But I could not find anywhere that I can get the layer selection (or layer definition) from webpage and pass this parameter to geoprocessing and get that paramter in python, then export to PDF. Could someone help me with this?

I am using the sample, but when I tried 'edit' exportPDF geoprocessing, I could not edit it. I tried to add an input paramter (for layers definitions) in 'exportPDF' geoprocessing, but I don't know how to do that (I am not so familiar with geoprocesing and python). Can someone tell me how can I get the web map layers defintions in python?

I highly appreciate your help!

Thanks,

Cindy
Tags (2)
0 Kudos
0 Replies