<?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 ArcGIS Pro GPTool not able to publish in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-gptool-not-able-to-publish/m-p/1287565#M68989</link>
    <description>&lt;P&gt;I currently have the problem that I can no longer publish the GPTool in ArcGIS Pro.&lt;BR /&gt;In the tool 4 layers are addressed, which are correctly located in the map (I can also see the data over the attributetable).&lt;BR /&gt;Also, the tool returns with a success when testing in ArcGIS Pro.&lt;BR /&gt;But if I now try to publish the tool, then comes with all 4 layers the error 00068 Script ... contains broken data source: Layername&lt;BR /&gt;To find the source of the error in the script I have minimized the code piece by piece.&lt;BR /&gt;It seems to be a function of Arcpy.&lt;/P&gt;&lt;P&gt;LAYERNAME = "MYLAYER&lt;BR /&gt;arcpy.SelectLayerByAttribute_management(LAYERNAME, "CLEAR_SELECTION")&lt;/P&gt;&lt;P&gt;But I have no idea how to fix the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 May 2023 06:18:33 GMT</pubDate>
    <dc:creator>WUE_BARAL</dc:creator>
    <dc:date>2023-05-10T06:18:33Z</dc:date>
    <item>
      <title>ArcGIS Pro GPTool not able to publish</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-gptool-not-able-to-publish/m-p/1287565#M68989</link>
      <description>&lt;P&gt;I currently have the problem that I can no longer publish the GPTool in ArcGIS Pro.&lt;BR /&gt;In the tool 4 layers are addressed, which are correctly located in the map (I can also see the data over the attributetable).&lt;BR /&gt;Also, the tool returns with a success when testing in ArcGIS Pro.&lt;BR /&gt;But if I now try to publish the tool, then comes with all 4 layers the error 00068 Script ... contains broken data source: Layername&lt;BR /&gt;To find the source of the error in the script I have minimized the code piece by piece.&lt;BR /&gt;It seems to be a function of Arcpy.&lt;/P&gt;&lt;P&gt;LAYERNAME = "MYLAYER&lt;BR /&gt;arcpy.SelectLayerByAttribute_management(LAYERNAME, "CLEAR_SELECTION")&lt;/P&gt;&lt;P&gt;But I have no idea how to fix the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 06:18:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-gptool-not-able-to-publish/m-p/1287565#M68989</guid>
      <dc:creator>WUE_BARAL</dc:creator>
      <dc:date>2023-05-10T06:18:33Z</dc:date>
    </item>
  </channel>
</rss>

