<?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 user to specify item_id when creating a content item in ArcGIS Online in ArcGIS Online Ideas</title>
    <link>https://community.esri.com/t5/arcgis-online-ideas/enable-user-to-specify-item-id-when-creating-a/idi-p/1234522</link>
    <description>&lt;P&gt;Currently there is support for specifying an item_id when creating a content item in ArcGIS Enterprise (e.g., the &lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis.ContentManager.add" target="_self"&gt;add&lt;/A&gt; method for ContentManager in the ArcGIS API for Python.) Please add the same support for ArcGIS Online.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our primary use case for this is to restore items that were backed-up and removed from ArcGIS Online, so that references to the item are not broken by the item being assigned a new, different item_id when it is restored.&lt;/P&gt;&lt;P&gt;Many organizations have developed our own backup scripts for ArcGIS Online and there are several products that do this as well (see the &lt;A href="https://community.esri.com/t5/arcgis-online-ideas/arcgis-online-back-ups-hosted-feature-layers-and/idi-p/957863" target="_self"&gt;ArcGIS Online Back-ups - hosted feature layers and web maps/apps&lt;/A&gt;&amp;nbsp;thread.) While useful for a number of backup scenarios, none of these solutions are able restore an item that was deleted at the original item_id, so references to the item are broken. That means a restored web map, referenced by a storymap, ends up with a different item_id, therefore, the storymap no longer works, until someone edits the storymap to reference the restored web map at its new item_id.&lt;/P&gt;&lt;P&gt;Enabling one to specify a specific item_id when creating a content item in ArcGIS Online would make it possible for such solutions to restore an item without the need to track down and repair broken links to the item.&lt;/P&gt;&lt;P&gt;As part of the backup process, one might capture the original item_id as a tag on the item as it is backed-up (similar to how the &lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis.ContentManager.clone_items" target="_self"&gt;clone_items&lt;/A&gt; method adds the source item_id as a tag to cloned items.) Then you have the original item_id to use in the restore process.&lt;/P&gt;</description>
    <pubDate>Wed, 23 Nov 2022 15:26:02 GMT</pubDate>
    <dc:creator>PeterKnoop</dc:creator>
    <dc:date>2022-11-23T15:26:02Z</dc:date>
    <item>
      <title>Enable user to specify item_id when creating a content item in ArcGIS Online</title>
      <link>https://community.esri.com/t5/arcgis-online-ideas/enable-user-to-specify-item-id-when-creating-a/idi-p/1234522</link>
      <description>&lt;P&gt;Currently there is support for specifying an item_id when creating a content item in ArcGIS Enterprise (e.g., the &lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis.ContentManager.add" target="_self"&gt;add&lt;/A&gt; method for ContentManager in the ArcGIS API for Python.) Please add the same support for ArcGIS Online.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our primary use case for this is to restore items that were backed-up and removed from ArcGIS Online, so that references to the item are not broken by the item being assigned a new, different item_id when it is restored.&lt;/P&gt;&lt;P&gt;Many organizations have developed our own backup scripts for ArcGIS Online and there are several products that do this as well (see the &lt;A href="https://community.esri.com/t5/arcgis-online-ideas/arcgis-online-back-ups-hosted-feature-layers-and/idi-p/957863" target="_self"&gt;ArcGIS Online Back-ups - hosted feature layers and web maps/apps&lt;/A&gt;&amp;nbsp;thread.) While useful for a number of backup scenarios, none of these solutions are able restore an item that was deleted at the original item_id, so references to the item are broken. That means a restored web map, referenced by a storymap, ends up with a different item_id, therefore, the storymap no longer works, until someone edits the storymap to reference the restored web map at its new item_id.&lt;/P&gt;&lt;P&gt;Enabling one to specify a specific item_id when creating a content item in ArcGIS Online would make it possible for such solutions to restore an item without the need to track down and repair broken links to the item.&lt;/P&gt;&lt;P&gt;As part of the backup process, one might capture the original item_id as a tag on the item as it is backed-up (similar to how the &lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis.ContentManager.clone_items" target="_self"&gt;clone_items&lt;/A&gt; method adds the source item_id as a tag to cloned items.) Then you have the original item_id to use in the restore process.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 15:26:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-ideas/enable-user-to-specify-item-id-when-creating-a/idi-p/1234522</guid>
      <dc:creator>PeterKnoop</dc:creator>
      <dc:date>2022-11-23T15:26:02Z</dc:date>
    </item>
  </channel>
</rss>

