<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Internal reference to layer in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/internal-reference-to-layer/m-p/1062783#M30341</link>
    <description>&lt;P&gt;I've published a geoprocessing tool to ArcGIS Enterprise which is based upon a Python script.&lt;/P&gt;&lt;P&gt;In the web app I've added the geoprocessing tool and one of the parameters is a layer currently available on the web map.&lt;/P&gt;&lt;P&gt;When this is passed into the Python script I'm trying to get the name of the layer using the&amp;nbsp;arcpy.Describe function. What is returned is a reference to the in_memory layer and the name is a UUID e.g.&amp;nbsp;&lt;SPAN&gt;in_memory\&lt;/SPAN&gt;{&lt;SPAN&gt;dd2a2928-bf90-11eb-8529-0242ac130003&lt;/SPAN&gt;}&lt;/P&gt;&lt;P&gt;Do you know if there is a way to get the correct layer name?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Fri, 28 May 2021 08:49:46 GMT</pubDate>
    <dc:creator>PeterBaldwin1</dc:creator>
    <dc:date>2021-05-28T08:49:46Z</dc:date>
    <item>
      <title>Internal reference to layer</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/internal-reference-to-layer/m-p/1062783#M30341</link>
      <description>&lt;P&gt;I've published a geoprocessing tool to ArcGIS Enterprise which is based upon a Python script.&lt;/P&gt;&lt;P&gt;In the web app I've added the geoprocessing tool and one of the parameters is a layer currently available on the web map.&lt;/P&gt;&lt;P&gt;When this is passed into the Python script I'm trying to get the name of the layer using the&amp;nbsp;arcpy.Describe function. What is returned is a reference to the in_memory layer and the name is a UUID e.g.&amp;nbsp;&lt;SPAN&gt;in_memory\&lt;/SPAN&gt;{&lt;SPAN&gt;dd2a2928-bf90-11eb-8529-0242ac130003&lt;/SPAN&gt;}&lt;/P&gt;&lt;P&gt;Do you know if there is a way to get the correct layer name?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 08:49:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/internal-reference-to-layer/m-p/1062783#M30341</guid>
      <dc:creator>PeterBaldwin1</dc:creator>
      <dc:date>2021-05-28T08:49:46Z</dc:date>
    </item>
  </channel>
</rss>

