<?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 itemIdToCreate not working in addItem in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/itemidtocreate-not-working-in-additem/m-p/1570029#M41269</link>
    <description>&lt;P&gt;I'm using the addItem function (/portal/sharing/rest/content/users/portaladmin/addItem) to attempt to migrate layers from one environment to another, like if I were to promote content from Dev to Staging or to Prod. I'm using addItems because the other processes do not work for referenced feature layers, only hosted.&amp;nbsp;&lt;A href="https://developers.arcgis.com/rest/users-groups-and-items/add-item/#example-usage" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/rest/users-groups-and-items/add-item/#example-usage&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am trying to specify a feature service and itemIdToCreate, so the itemId I'm passing is from the Dev Portal, therefore I know the 32 character string is valid. Why is this not working? Or what am I doing wrong? My Enterprise version is 11.3 and the feature was supposedly introduced in 10.8.1.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Dec 2024 23:21:03 GMT</pubDate>
    <dc:creator>DanCopKac</dc:creator>
    <dc:date>2024-12-18T23:21:03Z</dc:date>
    <item>
      <title>itemIdToCreate not working in addItem</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/itemidtocreate-not-working-in-additem/m-p/1570029#M41269</link>
      <description>&lt;P&gt;I'm using the addItem function (/portal/sharing/rest/content/users/portaladmin/addItem) to attempt to migrate layers from one environment to another, like if I were to promote content from Dev to Staging or to Prod. I'm using addItems because the other processes do not work for referenced feature layers, only hosted.&amp;nbsp;&lt;A href="https://developers.arcgis.com/rest/users-groups-and-items/add-item/#example-usage" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/rest/users-groups-and-items/add-item/#example-usage&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am trying to specify a feature service and itemIdToCreate, so the itemId I'm passing is from the Dev Portal, therefore I know the 32 character string is valid. Why is this not working? Or what am I doing wrong? My Enterprise version is 11.3 and the feature was supposedly introduced in 10.8.1.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 23:21:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/itemidtocreate-not-working-in-additem/m-p/1570029#M41269</guid>
      <dc:creator>DanCopKac</dc:creator>
      <dc:date>2024-12-18T23:21:03Z</dc:date>
    </item>
  </channel>
</rss>

