<?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 How to Share a Feature Layer as a Web Layer using ArcGIS Pro SDK? in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-share-a-feature-layer-as-a-web-layer-using/m-p/1651903#M13137</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I’m trying to replicate the &lt;STRONG&gt;“Share As Web Layer”&lt;/STRONG&gt; functionality (shown in the screenshot) using the &lt;STRONG&gt;ArcGIS Pro SDK&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Here are my questions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Is there a direct API in ArcGIS Pro SDK to share a feature layer (or raster layer) as a &lt;STRONG&gt;web layer&lt;/STRONG&gt; to ArcGIS Online / Enterprise?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;If not, is there any workaround through the SDK that mimics the desktop workflow (right-click → Share As Web Layer)?&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Share as a web layer.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/140731i6B9BDAE65F48B35A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Share as a web layer.png" alt="Share as a web layer.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Any insights, documentation links, or code examples would be very helpful.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;BR /&gt;&lt;BR /&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/9021"&gt;@UmaHarano&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/12882"&gt;@Wolf&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Sep 2025 19:54:12 GMT</pubDate>
    <dc:creator>AbhijeetNandeshwar1</dc:creator>
    <dc:date>2025-09-19T19:54:12Z</dc:date>
    <item>
      <title>How to Share a Feature Layer as a Web Layer using ArcGIS Pro SDK?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-share-a-feature-layer-as-a-web-layer-using/m-p/1651903#M13137</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I’m trying to replicate the &lt;STRONG&gt;“Share As Web Layer”&lt;/STRONG&gt; functionality (shown in the screenshot) using the &lt;STRONG&gt;ArcGIS Pro SDK&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Here are my questions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Is there a direct API in ArcGIS Pro SDK to share a feature layer (or raster layer) as a &lt;STRONG&gt;web layer&lt;/STRONG&gt; to ArcGIS Online / Enterprise?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;If not, is there any workaround through the SDK that mimics the desktop workflow (right-click → Share As Web Layer)?&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Share as a web layer.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/140731i6B9BDAE65F48B35A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Share as a web layer.png" alt="Share as a web layer.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Any insights, documentation links, or code examples would be very helpful.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;BR /&gt;&lt;BR /&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/9021"&gt;@UmaHarano&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/12882"&gt;@Wolf&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Sep 2025 19:54:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-share-a-feature-layer-as-a-web-layer-using/m-p/1651903#M13137</guid>
      <dc:creator>AbhijeetNandeshwar1</dc:creator>
      <dc:date>2025-09-19T19:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to Share a Feature Layer as a Web Layer using ArcGIS Pro SDK?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-share-a-feature-layer-as-a-web-layer-using/m-p/1652436#M13143</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/9021"&gt;@UmaHarano&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/12882"&gt;@Wolf&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/42133"&gt;@GKmieliauskas&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Please could someone help me with this query?&lt;BR /&gt;It would be a great help if anyone could provide some insights.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Abhijeet&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2025 14:14:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-share-a-feature-layer-as-a-web-layer-using/m-p/1652436#M13143</guid>
      <dc:creator>AbhijeetNandeshwar1</dc:creator>
      <dc:date>2025-09-23T14:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to Share a Feature Layer as a Web Layer using ArcGIS Pro SDK?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-share-a-feature-layer-as-a-web-layer-using/m-p/1652510#M13145</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/750572"&gt;@AbhijeetNandeshwar1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not aware of a way to accomplish this with the API.&amp;nbsp;&lt;BR /&gt;I recommend posting this request in the &lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/idb-p/arcgis-pro-ideas" target="_self"&gt;Pro ideas site&lt;/A&gt; for the API support.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2025 16:31:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-share-a-feature-layer-as-a-web-layer-using/m-p/1652510#M13145</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2025-09-23T16:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to Share a Feature Layer as a Web Layer using ArcGIS Pro SDK?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-share-a-feature-layer-as-a-web-layer-using/m-p/1652829#M13153</link>
      <description>&lt;P&gt;I am trying to find the script / GP tool that can be used to 'share' or 'publish' a feature layer as a web layer.&amp;nbsp; Until then you can at least present your users programmatically with the 'share feature layer as web layer' dockpane using this snippet:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;IPlugInWrapper wrapper = FrameworkApplication.GetPlugInWrapper("esri_sharing_SharingAsWebLayerPaneBtn");
if ((wrapper is ICommand command) &amp;amp;&amp;amp; command.CanExecute(null))
            command.Execute(null);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Sep 2025 15:34:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-share-a-feature-layer-as-a-web-layer-using/m-p/1652829#M13153</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2025-09-24T15:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to Share a Feature Layer as a Web Layer using ArcGIS Pro SDK?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-share-a-feature-layer-as-a-web-layer-using/m-p/1652862#M13154</link>
      <description>&lt;P&gt;After some digging we found this:&lt;BR /&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/server/an-overview-of-the-publishing-toolset.htm" target="_blank"&gt;An overview of the Publishing toolset—ArcGIS Pro | Documentation&lt;/A&gt;&lt;BR /&gt;which indicates that it is possible to publish a feature layer as a web layer.&amp;nbsp; It appears that to accomplish this is very complicated.&amp;nbsp; I will try to publish a sample that publishes a feature layer as a web layer.&amp;nbsp; I'll put the sample on this thread as well - if i can get it to work.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Sep 2025 16:12:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-share-a-feature-layer-as-a-web-layer-using/m-p/1652862#M13154</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2025-09-24T16:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to Share a Feature Layer as a Web Layer using ArcGIS Pro SDK?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-share-a-feature-layer-as-a-web-layer-using/m-p/1652904#M13156</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/12882"&gt;@Wolf&lt;/a&gt;&amp;nbsp;, I am waiting for you to provide me with a example.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Sep 2025 18:30:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-share-a-feature-layer-as-a-web-layer-using/m-p/1652904#M13156</guid>
      <dc:creator>AbhijeetNandeshwar1</dc:creator>
      <dc:date>2025-09-24T18:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to Share a Feature Layer as a Web Layer using ArcGIS Pro SDK?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-share-a-feature-layer-as-a-web-layer-using/m-p/1654174#M13163</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/12882"&gt;@Wolf&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you for your insights. I tried this workflow, but I want to autopopulate the Geoprocessing tool through code. It doesn’t achieve the desired result.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2025 14:05:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-share-a-feature-layer-as-a-web-layer-using/m-p/1654174#M13163</guid>
      <dc:creator>AbhijeetNandeshwar1</dc:creator>
      <dc:date>2025-09-30T14:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to Share a Feature Layer as a Web Layer using ArcGIS Pro SDK?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-share-a-feature-layer-as-a-web-layer-using/m-p/1655587#M13175</link>
      <description>&lt;P&gt;Sorry about the delay we started to certify 3.6...&amp;nbsp;&lt;BR /&gt;I attached a sample ArcGIS Pro Add-in project that includes the python script used to publish a feature layer as a web layer.&amp;nbsp; &amp;nbsp;Because the code is using ExecuteToolAsync to run the python script the script can utilize the existing ArcGIS Pro portal connection eliminating the need to passing user name/ password to the script.&lt;BR /&gt;here is the sample's readme:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;This solution file includes an example python script named MySharing.pyt which is included as 'Content' (Build action) in the add-in.&lt;/LI&gt;&lt;LI&gt;The python script is stored in the .\Toolboxes\toolboxes folder and when this add-in is loaded in ArcGIS Pro the python script is available a script tool under the ArcGIS Pro Geoprocessing toolbox.&lt;/LI&gt;&lt;LI&gt;You can run the python script from the Geoprocessing toolbox as shown here.&lt;BR /&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen1.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/141405i5D52A6EB70C34C42/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen1.png" alt="Screen1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen2.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/141404iE5CD2C06B74DCA00/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen2.png" alt="Screen2.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen3.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/141406i36F707C8A6245FE7/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen3.png" alt="Screen3.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen4.png" style="width: 541px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/141403iAC8EE7384DC99E72/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen4.png" alt="Screen4.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen5.png" style="width: 529px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/141407i34CC46E6F76D8EE7/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen5.png" alt="Screen5.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen6.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/141408i2704D252873C785F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen6.png" alt="Screen6.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;SPAN&gt;4. You can also run the python script from code as implemented in the 'Publish as Web Layer' button under the 'Custom Publishing' tab (RunPyScriptButton.cs).&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen7.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/141411i8F7B2E1BF085B5A5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen7.png" alt="Screen7.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen8.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/141410iAC9857F307D613BD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen8.png" alt="Screen8.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen9.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/141409i27D11B2CE7368312/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen9.png" alt="Screen9.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Mon, 06 Oct 2025 17:37:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-share-a-feature-layer-as-a-web-layer-using/m-p/1655587#M13175</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2025-10-06T17:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to Share a Feature Layer as a Web Layer using ArcGIS Pro SDK?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-share-a-feature-layer-as-a-web-layer-using/m-p/1655944#M13182</link>
      <description>&lt;P&gt;Wolf,&lt;BR /&gt;&lt;BR /&gt;Thank You for the reply above.&amp;nbsp; Your Python script works well.&lt;BR /&gt;&lt;BR /&gt;It does seem like the workflow you scripted in Python would be practical as a C# Method in the ArcGIS Pro SDK.&amp;nbsp; And it seems like there would be a huge number of customers that could use this functionality.&lt;BR /&gt;&lt;BR /&gt;Yes... I know... I could suggest this as an "idea".&lt;BR /&gt;&lt;BR /&gt;It is certainly possible that I am missing something... but it does not appear possible to load a tpkx file to ArcGIS Online with Python.&lt;BR /&gt;&lt;BR /&gt;The tpkx files appear to be more advantageous to my customers because they can be loaded to a device and read natively from the Field Maps app.&amp;nbsp; That is extremely advantageous for several reasons.&amp;nbsp; There are still many cellular dead spots (and more extremely slow spots) in the world.&amp;nbsp; Satellite cellular connections will soon change this to some extent... however, this data will always need a lot of bandwidth... which means that for quite some time it will be best to store the mapping data on a device.&lt;BR /&gt;&lt;BR /&gt;Again... Thank You for your work.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Oct 2025 18:05:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-share-a-feature-layer-as-a-web-layer-using/m-p/1655944#M13182</guid>
      <dc:creator>JeromeHaaland</dc:creator>
      <dc:date>2025-10-07T18:05:43Z</dc:date>
    </item>
  </channel>
</rss>

