cindylu

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

Discussion created by cindylu on May 9, 2014
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

Outcomes