<?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 Re: Possible to update Portal Item 'itemid' or 'id' with Python API? in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/possible-to-update-portal-item-itemid-or-id-with/m-p/865460#M4398</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am also wondering if this is possible!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Sep 2020 19:00:56 GMT</pubDate>
    <dc:creator>LoganSuhr_PSE</dc:creator>
    <dc:date>2020-09-17T19:00:56Z</dc:date>
    <item>
      <title>Possible to update Portal Item 'itemid' or 'id' with Python API?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/possible-to-update-portal-item-itemid-or-id-with/m-p/865458#M4396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know that it is possible to update the item_properties for an item as outlined here&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/python/guide/managing-your-content/#properties-of-an-item" title="https://developers.arcgis.com/python/guide/managing-your-content/#properties-of-an-item"&gt;Managing your content | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am writing a script to automate the migration of some Portal applications from dev &amp;gt; test &amp;gt; prod.&amp;nbsp; Our team has maintained the same item 'id' for the application in the past by using ArcGIS Online Assistant (you can edit the json and change the id).&amp;nbsp; That way our users can maintain a bookmark to the application in their browser (the id is part of the url).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to edit the 'itemid' or 'id' using the Python API?&amp;nbsp; If not, is there another way to programmatically update it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2018 00:01:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/possible-to-update-portal-item-itemid-or-id-with/m-p/865458#M4396</guid>
      <dc:creator>BenjaminHillam</dc:creator>
      <dc:date>2018-11-07T00:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Possible to update Portal Item 'itemid' or 'id' with Python API?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/possible-to-update-portal-item-itemid-or-id-with/m-p/865459#M4397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@&lt;A _jive_internal="true" class="" data-userid="22764" data-username="bhillam" href="https://community.esri.com/people/bhillam" style="color: #8ca9cd; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: none; font-size: 13.7136px;"&gt;Benjamin Hillam&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Did you figure it out, how to maintain ID of portal item?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Jan 2020 22:15:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/possible-to-update-portal-item-itemid-or-id-with/m-p/865459#M4397</guid>
      <dc:creator>LalitArora</dc:creator>
      <dc:date>2020-01-18T22:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Possible to update Portal Item 'itemid' or 'id' with Python API?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/possible-to-update-portal-item-itemid-or-id-with/m-p/865460#M4398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am also wondering if this is possible!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2020 19:00:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/possible-to-update-portal-item-itemid-or-id-with/m-p/865460#M4398</guid>
      <dc:creator>LoganSuhr_PSE</dc:creator>
      <dc:date>2020-09-17T19:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: Possible to update Portal Item 'itemid' or 'id' with Python API?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/possible-to-update-portal-item-itemid-or-id-with/m-p/1193440#M7575</link>
      <description>&lt;P&gt;Yes, programmatically at 10.8.1+, at least for ArcGIS Server Map/Feature services:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Add the new item with the item_id you desire using the ContentManager and the (Available at 10.8.1+) item_id property.&lt;/LI&gt;&lt;LI&gt;In the ArcGIS Server admin console, edit the portal properties of the referenced service to match the new item_id&lt;/LI&gt;&lt;LI&gt;Republish (overwrite) the new Portal layer with service content (from ArcGIS Pro) - this might be optional but would allow you to confirm your settings&lt;/LI&gt;&lt;LI&gt;Delete the 'old' item(s) from Portal&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Tue, 19 Jul 2022 15:03:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/possible-to-update-portal-item-itemid-or-id-with/m-p/1193440#M7575</guid>
      <dc:creator>PaulSchneider</dc:creator>
      <dc:date>2022-07-19T15:03:25Z</dc:date>
    </item>
  </channel>
</rss>

