<?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>idea Improved GP Tool Publishing - Approve Changes to scripts before publish in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/improved-gp-tool-publishing-approve-changes-to/idi-p/1410497</link>
    <description>&lt;P&gt;When publishing a GP tool (after a tool is run in ArcGIS Pro) to become a geoprocessing tool it is possible to see a major breaking issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Recently we found that a shared path:&lt;/P&gt;&lt;P&gt;"\\server\share\contentfolder\myDB.sde\myFeatureLayer"&lt;/P&gt;&lt;P&gt;Was being mangled in the publication/conversion process. Pro is taking in these strings\paths and inferring in them that they need to be made "Server" friendly based on assumed needs.&lt;/P&gt;&lt;P&gt;The above folder was being turned into:&lt;/P&gt;&lt;P&gt;"%scratchworkspace%\\server\share\contentfolder\myDB.sde\myFeatureLayer"&lt;/P&gt;&lt;P&gt;This then means that all connections/functions depending on these strings are now broken. The big issue we have is that this script/tool is now broken, and while the tool will publish the function will not work and will return a lovely 99999 error that the tool could not be executed.&lt;/P&gt;&lt;P&gt;What we need is a way to review/approve the changes being made to a GP tool that is being published so that Pro is not making a change that in fact is not needed to happen and breaking the script in such a way that renders it inoperative.&lt;/P&gt;&lt;P&gt;Troubleshooting and diagnosing this issue was complex, it required connecting to the ArcGIS-Config folder where it was published and running the script locally to the server to get to the "path not found" level issue from where the folder/string was changed.&lt;/P&gt;</description>
    <pubDate>Tue, 16 Apr 2024 18:16:04 GMT</pubDate>
    <dc:creator>DEWright_CA</dc:creator>
    <dc:date>2024-04-16T18:16:04Z</dc:date>
    <item>
      <title>Improved GP Tool Publishing - Approve Changes to scripts before publish</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/improved-gp-tool-publishing-approve-changes-to/idi-p/1410497</link>
      <description>&lt;P&gt;When publishing a GP tool (after a tool is run in ArcGIS Pro) to become a geoprocessing tool it is possible to see a major breaking issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Recently we found that a shared path:&lt;/P&gt;&lt;P&gt;"\\server\share\contentfolder\myDB.sde\myFeatureLayer"&lt;/P&gt;&lt;P&gt;Was being mangled in the publication/conversion process. Pro is taking in these strings\paths and inferring in them that they need to be made "Server" friendly based on assumed needs.&lt;/P&gt;&lt;P&gt;The above folder was being turned into:&lt;/P&gt;&lt;P&gt;"%scratchworkspace%\\server\share\contentfolder\myDB.sde\myFeatureLayer"&lt;/P&gt;&lt;P&gt;This then means that all connections/functions depending on these strings are now broken. The big issue we have is that this script/tool is now broken, and while the tool will publish the function will not work and will return a lovely 99999 error that the tool could not be executed.&lt;/P&gt;&lt;P&gt;What we need is a way to review/approve the changes being made to a GP tool that is being published so that Pro is not making a change that in fact is not needed to happen and breaking the script in such a way that renders it inoperative.&lt;/P&gt;&lt;P&gt;Troubleshooting and diagnosing this issue was complex, it required connecting to the ArcGIS-Config folder where it was published and running the script locally to the server to get to the "path not found" level issue from where the folder/string was changed.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 18:16:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/improved-gp-tool-publishing-approve-changes-to/idi-p/1410497</guid>
      <dc:creator>DEWright_CA</dc:creator>
      <dc:date>2024-04-16T18:16:04Z</dc:date>
    </item>
  </channel>
</rss>

