Internal reference to layer

343
0
05-28-2021 01:49 AM
PeterBaldwin1
New Contributor II

I've published a geoprocessing tool to ArcGIS Enterprise which is based upon a Python script.

In the web app I've added the geoprocessing tool and one of the parameters is a layer currently available on the web map.

When this is passed into the Python script I'm trying to get the name of the layer using the arcpy.Describe function. What is returned is a reference to the in_memory layer and the name is a UUID e.g. in_memory\{dd2a2928-bf90-11eb-8529-0242ac130003}

Do you know if there is a way to get the correct layer name?

Thanks.

Tags (2)
0 Kudos
0 Replies