<?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 Provide &amp;quot;Copy Python Command&amp;quot; for Share As/Overwrite Web Layer in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/provide-quot-copy-python-command-quot-for-share-as/idi-p/1496853</link>
    <description>&lt;P&gt;The ability to "Copy Python Command" for a geoprocessing tool, from the tool dialog or the history is very handy when building a Python Notebook or script for automation. It would be great to be able to do that for when you select "Share As Web Layer" or "Overwrite Web Layer" as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Figuring out the correct Python to accomplish those two tasks is notoriously challenging. Being able to fill out those dialogs, and then copy the resulting chain of ArcGIS python methods (e.g., FeatureSharingDraft, StageService, Upload Service Definition, etc.), would be a great help!&lt;/P&gt;</description>
    <pubDate>Mon, 24 Jun 2024 20:25:15 GMT</pubDate>
    <dc:creator>PeterKnoop</dc:creator>
    <dc:date>2024-06-24T20:25:15Z</dc:date>
    <item>
      <title>Provide "Copy Python Command" for Share As/Overwrite Web Layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/provide-quot-copy-python-command-quot-for-share-as/idi-p/1496853</link>
      <description>&lt;P&gt;The ability to "Copy Python Command" for a geoprocessing tool, from the tool dialog or the history is very handy when building a Python Notebook or script for automation. It would be great to be able to do that for when you select "Share As Web Layer" or "Overwrite Web Layer" as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Figuring out the correct Python to accomplish those two tasks is notoriously challenging. Being able to fill out those dialogs, and then copy the resulting chain of ArcGIS python methods (e.g., FeatureSharingDraft, StageService, Upload Service Definition, etc.), would be a great help!&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 20:25:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/provide-quot-copy-python-command-quot-for-share-as/idi-p/1496853</guid>
      <dc:creator>PeterKnoop</dc:creator>
      <dc:date>2024-06-24T20:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: Provide "Copy Python Command" for Share As/Overwrite Web Layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/provide-quot-copy-python-command-quot-for-share-as/idc-p/1497015#M30813</link>
      <description>&lt;P&gt;As somebody who has gone through the same process then I agree&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/374806"&gt;@PeterKnoop&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In fact I would go as far as to say having it all packaged as a single arcpy command would be extremely useful. I appreciate it blurs the lines between arcpy and the ArcGIS API, but it;s a very common operation and being able to call it in a single line would be so much easier&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2024 08:31:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/provide-quot-copy-python-command-quot-for-share-as/idc-p/1497015#M30813</guid>
      <dc:creator>RichardHowe</dc:creator>
      <dc:date>2024-06-25T08:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Provide "Copy Python Command" for Share As/Overwrite Web Layer - Status changed to: Closed</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/provide-quot-copy-python-command-quot-for-share-as/idc-p/1497727#M30835</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thank you for submitting this idea. However, supporting this functionality is not possible since Share As Web Layer or Overwrite Web Layer are not GP tools. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;With this being said, you can create your own custom tool by following the steps in this &lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-pro/mapping/publish-and-overwrite-web-layers-in-modelbuilder/" target="_self"&gt;blog article&lt;/A&gt;. The&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;article includes a&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.arcgis.com/home/item.html?id=c3d986828baf4862ab567c1d33951d66" target="_self" rel="nofollow noopener noreferrer"&gt;project package&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;containing a sample model and script tools.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 17:21:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/provide-quot-copy-python-command-quot-for-share-as/idc-p/1497727#M30835</guid>
      <dc:creator>JonahLay</dc:creator>
      <dc:date>2024-06-26T17:21:31Z</dc:date>
    </item>
  </channel>
</rss>

