Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

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

$
0
0
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...2002b2d85ea5de ). 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

Viewing all articles
Browse latest Browse all 2485

Trending Articles