<?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 Multiple item_ids with arcgis.gis.server.Server.publish_sd in ArcGIS API for Python Ideas</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-ideas/multiple-item-ids-with-arcgis-gis-server-server/idi-p/1615429</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please adjust the item_id parameter of the&amp;nbsp;&lt;A title="arcgis.gis.server.Server.publish_sd" href="https://developers.arcgis.com/python/latest/api-reference/arcgis.gis.server.html#arcgis.gis.server.Server.publish_sd" target="_blank" rel="noopener"&gt;arcgis.gis.server.Server.publish_sd&lt;/A&gt;&amp;nbsp;function to support a dictionary of service_type:item_id the same way the new "Output Item IDs" is working in ArcGIS Pro's 3.5 &lt;A title="Upload Service Definition" href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/server/upload-service-definition.htm#GUID-3204DDF9-E3EC-479B-A5C1-E6FD40E01F1D:~:text=String-,Output%20Item%20IDs,-(Optional)" target="_self"&gt;Upload Service Definition&lt;/A&gt;&amp;nbsp;tool.&lt;/P&gt;&lt;P&gt;We not only need to set the item ID of the item to be published, but also for all the other item types published at the same time:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN class=""&gt;Web feature layer&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;Web tile layer&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;Map image layer&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;OGC feature layer&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;WMS&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;WFS&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN class=""&gt;See&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/use-the-same-portal-item-id-when-publishing-a-web/idc-p/1614739#M34750" target="_self"&gt;this idea&lt;/A&gt;&amp;nbsp;for more information.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 16 May 2025 13:49:17 GMT</pubDate>
    <dc:creator>PatriceLabbé</dc:creator>
    <dc:date>2025-05-16T13:49:17Z</dc:date>
    <item>
      <title>Multiple item_ids with arcgis.gis.server.Server.publish_sd</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-ideas/multiple-item-ids-with-arcgis-gis-server-server/idi-p/1615429</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please adjust the item_id parameter of the&amp;nbsp;&lt;A title="arcgis.gis.server.Server.publish_sd" href="https://developers.arcgis.com/python/latest/api-reference/arcgis.gis.server.html#arcgis.gis.server.Server.publish_sd" target="_blank" rel="noopener"&gt;arcgis.gis.server.Server.publish_sd&lt;/A&gt;&amp;nbsp;function to support a dictionary of service_type:item_id the same way the new "Output Item IDs" is working in ArcGIS Pro's 3.5 &lt;A title="Upload Service Definition" href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/server/upload-service-definition.htm#GUID-3204DDF9-E3EC-479B-A5C1-E6FD40E01F1D:~:text=String-,Output%20Item%20IDs,-(Optional)" target="_self"&gt;Upload Service Definition&lt;/A&gt;&amp;nbsp;tool.&lt;/P&gt;&lt;P&gt;We not only need to set the item ID of the item to be published, but also for all the other item types published at the same time:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN class=""&gt;Web feature layer&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;Web tile layer&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;Map image layer&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;OGC feature layer&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;WMS&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;WFS&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN class=""&gt;See&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/use-the-same-portal-item-id-when-publishing-a-web/idc-p/1614739#M34750" target="_self"&gt;this idea&lt;/A&gt;&amp;nbsp;for more information.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2025 13:49:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-ideas/multiple-item-ids-with-arcgis-gis-server-server/idi-p/1615429</guid>
      <dc:creator>PatriceLabbé</dc:creator>
      <dc:date>2025-05-16T13:49:17Z</dc:date>
    </item>
  </channel>
</rss>

