<?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 Publish SD to specific Server folder and to specific item id in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/publish-sd-to-specific-server-folder-and-to/m-p/1308581#M8876</link>
    <description>&lt;P&gt;I´d like to publish a referenced service using an existing SD to ArcGIS Enterprise.&lt;BR /&gt;&lt;BR /&gt;I found two different methods:&lt;/P&gt;&lt;P&gt;- publishing to Portal, which allows to set the item_id, but not the ArcGIS Server Folder:&lt;BR /&gt;&lt;BR /&gt;publish&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN class=""&gt;publish_parameters&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;None&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN class=""&gt;address_fields&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;None&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN class=""&gt;output_type&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;None&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN class=""&gt;overwrite&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;False&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN class=""&gt;file_type&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;None&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN class=""&gt;build_initial_cache&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;False&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN class=""&gt;item_id&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;None&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN class=""&gt;geocode_service&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;None&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;A title="Permalink to this definition" href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html?highlight=publish#arcgis.gis.Item.publish" target="_blank" rel="noopener"&gt;¶&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html?highlight=publish#arcgis.gis.Item.publish" target="_blank" rel="noopener"&gt;arcgis.gis module | ArcGIS API for Python&lt;/A&gt;&lt;/P&gt;&lt;P&gt;- using the Service Manager publish_sd&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN class=""&gt;sd_file&lt;/SPAN&gt;&lt;/EM&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN class=""&gt;folder&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;None&lt;/SPAN&gt;&lt;/EM&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN class=""&gt;service_config&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;None&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;A title="Permalink to this definition" href="https://developers.arcgis.com/python/api-reference/arcgis.gis.server.html#arcgis.gis.server.ServiceManager.publish_sd" target="_blank" rel="noopener"&gt;¶&lt;/A&gt;&amp;nbsp;&lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.gis.server.html#servicemanager" target="_blank" rel="noopener"&gt;arcgis.gis.server module | ArcGIS API for Python&lt;/A&gt;, I can publish the SD to a specific Server Folder, but I don´t see an option to define the Portal item id.&lt;BR /&gt;&lt;BR /&gt;How can I define both?&lt;/P&gt;</description>
    <pubDate>Mon, 17 Jul 2023 12:53:08 GMT</pubDate>
    <dc:creator>SimonSchütte_ct</dc:creator>
    <dc:date>2023-07-17T12:53:08Z</dc:date>
    <item>
      <title>Publish SD to specific Server folder and to specific item id</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/publish-sd-to-specific-server-folder-and-to/m-p/1308581#M8876</link>
      <description>&lt;P&gt;I´d like to publish a referenced service using an existing SD to ArcGIS Enterprise.&lt;BR /&gt;&lt;BR /&gt;I found two different methods:&lt;/P&gt;&lt;P&gt;- publishing to Portal, which allows to set the item_id, but not the ArcGIS Server Folder:&lt;BR /&gt;&lt;BR /&gt;publish&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN class=""&gt;publish_parameters&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;None&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN class=""&gt;address_fields&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;None&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN class=""&gt;output_type&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;None&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN class=""&gt;overwrite&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;False&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN class=""&gt;file_type&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;None&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN class=""&gt;build_initial_cache&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;False&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN class=""&gt;item_id&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;None&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN class=""&gt;geocode_service&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;None&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;A title="Permalink to this definition" href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html?highlight=publish#arcgis.gis.Item.publish" target="_blank" rel="noopener"&gt;¶&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html?highlight=publish#arcgis.gis.Item.publish" target="_blank" rel="noopener"&gt;arcgis.gis module | ArcGIS API for Python&lt;/A&gt;&lt;/P&gt;&lt;P&gt;- using the Service Manager publish_sd&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN class=""&gt;sd_file&lt;/SPAN&gt;&lt;/EM&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN class=""&gt;folder&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;None&lt;/SPAN&gt;&lt;/EM&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN class=""&gt;service_config&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;None&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;A title="Permalink to this definition" href="https://developers.arcgis.com/python/api-reference/arcgis.gis.server.html#arcgis.gis.server.ServiceManager.publish_sd" target="_blank" rel="noopener"&gt;¶&lt;/A&gt;&amp;nbsp;&lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.gis.server.html#servicemanager" target="_blank" rel="noopener"&gt;arcgis.gis.server module | ArcGIS API for Python&lt;/A&gt;, I can publish the SD to a specific Server Folder, but I don´t see an option to define the Portal item id.&lt;BR /&gt;&lt;BR /&gt;How can I define both?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 12:53:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/publish-sd-to-specific-server-folder-and-to/m-p/1308581#M8876</guid>
      <dc:creator>SimonSchütte_ct</dc:creator>
      <dc:date>2023-07-17T12:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: Publish SD to specific Server folder and to specific item id</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/publish-sd-to-specific-server-folder-and-to/m-p/1620492#M11428</link>
      <description>&lt;P&gt;I would also like some better documentation on these methods.&lt;/P&gt;&lt;P&gt;Also dropping this link to a related topic &lt;A href="https://community.esri.com/t5/arcgis-api-for-python-questions/publish-parameters-aren-t-used-when-publishing-sd/m-p/824947/highlight/true#M2966" target="_blank"&gt;Publish_parameters aren't used when publishing .sd... - Esri Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 16:32:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/publish-sd-to-specific-server-folder-and-to/m-p/1620492#M11428</guid>
      <dc:creator>CSDING_GIS</dc:creator>
      <dc:date>2025-06-03T16:32:01Z</dc:date>
    </item>
  </channel>
</rss>

