<?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 Enable Service Configuration within PortalDatastore.publish_layers() in ArcGIS API for Python Ideas</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-ideas/enable-service-configuration-within/idi-p/1268831</link>
    <description>&lt;P&gt;The ability to "Bulk Publish" items from a datastore is one of the more exciting developments to come out of ArcGIS Portal and the new ArcGIS Enterprise deployment methodology. This allows an organization to reduce the number of bespoke services they publish and instead rely on an automated system of publishing services that allows new schema changes to be synced at the push of a button.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For those of us that do not like pushing buttons, this new capability comes with a significant flaw. The corresponding action within the ArcGIS API for Python &lt;SPAN&gt;PortalDatastore.publish_layers(), does not honor service configuration templates that include changes to the basic capabilities including edit privileges&amp;nbsp;or syncing. It is only possible to "bulk publish" a vanilla map and feature service without additional capabilities; these must be configured utilizing the ArcGIS Server Manager GUI or after the services are published programmatically edit the capabilities (&lt;A href="https://developers.arcgis.com/python/guide/updating-feature-layer-properties" target="_blank"&gt;https://developers.arcgis.com/python/guide/updating-feature-layer-properties&lt;/A&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ideally, the idea would be to allow the&amp;nbsp;&lt;SPAN&gt;publish_layers() function to honor the full service configuration template. At a minimum, options to enable edit and sync would be a welcome enhancement. For end users, the defaults of the template would need to be documented to clarify which parameters would need to be changed for a given configuration to be successful.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This Github issue covers the current state of affairs:&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-python-api/issues/1483" target="_blank"&gt;https://github.com/Esri/arcgis-python-api/issues/1483&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Mar 2023 00:17:23 GMT</pubDate>
    <dc:creator>feralcatcolonist</dc:creator>
    <dc:date>2023-03-17T00:17:23Z</dc:date>
    <item>
      <title>Enable Service Configuration within PortalDatastore.publish_layers()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-ideas/enable-service-configuration-within/idi-p/1268831</link>
      <description>&lt;P&gt;The ability to "Bulk Publish" items from a datastore is one of the more exciting developments to come out of ArcGIS Portal and the new ArcGIS Enterprise deployment methodology. This allows an organization to reduce the number of bespoke services they publish and instead rely on an automated system of publishing services that allows new schema changes to be synced at the push of a button.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For those of us that do not like pushing buttons, this new capability comes with a significant flaw. The corresponding action within the ArcGIS API for Python &lt;SPAN&gt;PortalDatastore.publish_layers(), does not honor service configuration templates that include changes to the basic capabilities including edit privileges&amp;nbsp;or syncing. It is only possible to "bulk publish" a vanilla map and feature service without additional capabilities; these must be configured utilizing the ArcGIS Server Manager GUI or after the services are published programmatically edit the capabilities (&lt;A href="https://developers.arcgis.com/python/guide/updating-feature-layer-properties" target="_blank"&gt;https://developers.arcgis.com/python/guide/updating-feature-layer-properties&lt;/A&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ideally, the idea would be to allow the&amp;nbsp;&lt;SPAN&gt;publish_layers() function to honor the full service configuration template. At a minimum, options to enable edit and sync would be a welcome enhancement. For end users, the defaults of the template would need to be documented to clarify which parameters would need to be changed for a given configuration to be successful.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This Github issue covers the current state of affairs:&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-python-api/issues/1483" target="_blank"&gt;https://github.com/Esri/arcgis-python-api/issues/1483&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 00:17:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-ideas/enable-service-configuration-within/idi-p/1268831</guid>
      <dc:creator>feralcatcolonist</dc:creator>
      <dc:date>2023-03-17T00:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Service Configuration within PortalDatastore.publish_layers()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-ideas/enable-service-configuration-within/idc-p/1269208#M58</link>
      <description>&lt;P&gt;Here's the ArcGIS API for Python command:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis._impl._datastores.PortalDataStore.publish_layers" target="_blank"&gt;https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis._impl._datastores.PortalDataStore.publish_layers&lt;/A&gt;&lt;/P&gt;&lt;P&gt;And if you've never bulk published before it's pretty great:&lt;/P&gt;&lt;P&gt;&lt;A href="https://enterprise.arcgis.com/en/portal/latest/use/bulk-publish-arcgis-server-feature-layers.htm" target="_blank"&gt;https://enterprise.arcgis.com/en/portal/latest/use/bulk-publish-arcgis-server-feature-layers.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;And here's a video from Esri Canada that does a better job of explaining what it is and how to use it:&lt;/P&gt;&lt;P&gt;&lt;A href="https://youtu.be/aBhr2pFtffw" target="_blank"&gt;https://youtu.be/aBhr2pFtffw&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Mar 2023 14:04:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-ideas/enable-service-configuration-within/idc-p/1269208#M58</guid>
      <dc:creator>feralcatcolonist</dc:creator>
      <dc:date>2023-03-18T14:04:09Z</dc:date>
    </item>
  </channel>
</rss>

