<?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 Overwrite Experiences to Maintain IDs in ArcGIS Experience Builder Ideas</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-ideas/overwrite-experiences-to-maintain-ids/idi-p/1685059</link>
    <description>&lt;P&gt;It's be nice to have the ability to easily swap or overwrite an experience with the config of another.&lt;/P&gt;&lt;P&gt;For example, if testing or developing a new experience, when complete, I'd like to have the ability to overwrite an existing experience config with the new one. This way I don't have to notify users of a new URL.&lt;/P&gt;</description>
    <pubDate>Thu, 19 Feb 2026 00:58:47 GMT</pubDate>
    <dc:creator>mpboyle</dc:creator>
    <dc:date>2026-02-19T00:58:47Z</dc:date>
    <item>
      <title>Overwrite Experiences to Maintain IDs</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-ideas/overwrite-experiences-to-maintain-ids/idi-p/1685059</link>
      <description>&lt;P&gt;It's be nice to have the ability to easily swap or overwrite an experience with the config of another.&lt;/P&gt;&lt;P&gt;For example, if testing or developing a new experience, when complete, I'd like to have the ability to overwrite an existing experience config with the new one. This way I don't have to notify users of a new URL.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2026 00:58:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-ideas/overwrite-experiences-to-maintain-ids/idi-p/1685059</guid>
      <dc:creator>mpboyle</dc:creator>
      <dc:date>2026-02-19T00:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite Experiences to Maintain IDs</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-ideas/overwrite-experiences-to-maintain-ids/idc-p/1685164#M5036</link>
      <description>&lt;P&gt;Do you have a url domain tied to a server? What I've done, especially with past WAB maps, I overwrite them by creating a virtual directory in IIS, and that's after downloading them through developer on the server.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2026 14:26:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-ideas/overwrite-experiences-to-maintain-ids/idc-p/1685164#M5036</guid>
      <dc:creator>Zach-Williams</dc:creator>
      <dc:date>2026-02-19T14:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite Experiences to Maintain IDs</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-ideas/overwrite-experiences-to-maintain-ids/idc-p/1685166#M5038</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/557507"&gt;@Zach-Williams&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is more for the hosted AGO version of ExB.&amp;nbsp; With Developer Edition, it's a lot easier to manipulate or copy/paste/replace the downloaded app with an existing one.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2026 14:32:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-ideas/overwrite-experiences-to-maintain-ids/idc-p/1685166#M5038</guid>
      <dc:creator>mpboyle</dc:creator>
      <dc:date>2026-02-19T14:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite Experiences to Maintain IDs</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-ideas/overwrite-experiences-to-maintain-ids/idc-p/1685169#M5039</link>
      <description>&lt;P&gt;We use redirect URLs which helps a bit but the issue is the redirect resolves to the arcgis URL, then the user bookmarks, which causes them to bookmark the arcgis with id URL.&amp;nbsp; So when we change it they are still pointing to the wrong spot.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2026 14:36:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-ideas/overwrite-experiences-to-maintain-ids/idc-p/1685169#M5039</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2026-02-19T14:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite Experiences to Maintain IDs</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-ideas/overwrite-experiences-to-maintain-ids/idc-p/1685171#M5040</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/189832"&gt;@mpboyle&lt;/a&gt;&amp;nbsp;I use AGO to build mine and then import through developer and then download. I'm not a coder so this was how we got our experiences under our municipality url that we use for our maps.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2026 14:37:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-ideas/overwrite-experiences-to-maintain-ids/idc-p/1685171#M5040</guid>
      <dc:creator>Zach-Williams</dc:creator>
      <dc:date>2026-02-19T14:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite Experiences to Maintain IDs</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-ideas/overwrite-experiences-to-maintain-ids/idc-p/1685173#M5041</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421"&gt;@DougBrowning&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yep, I could see that being an issue, one of which the idea hopes to resolve...have a somewhat static URL for an app, but be able to import/load/swap a configuration from another experience.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2026 14:43:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-ideas/overwrite-experiences-to-maintain-ids/idc-p/1685173#M5041</guid>
      <dc:creator>mpboyle</dc:creator>
      <dc:date>2026-02-19T14:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite Experiences to Maintain IDs</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-ideas/overwrite-experiences-to-maintain-ids/idc-p/1687139#M5078</link>
      <description>&lt;P&gt;Below is a a Python script that will overwrite the configuration of the "target" experience using the configuration from the "source" experience.&lt;/P&gt;&lt;P&gt;In my testing, I created a very basic experience as my "target", and overwrote it using the config from one of our developed experiences as the "source".&amp;nbsp;&lt;/P&gt;&lt;P&gt;After running the script, the "target" experience looked, behaved, and had all the components of the "source" experience.&lt;/P&gt;&lt;P&gt;This may be a way of easily updating one experience with another and not having to move URLs around.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note: This does not update the "target" experience title, summary, description or any of its item properties.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;!!! USE CAUTION AND BACKUP ANY ITEMS BEFORE TESTING !!!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the code below, the following lines will need to be updated: 6, 7, 8, 11, 13, 15 (optional)&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import arcgis
import json
from pathlib import Path

# portal variables
PORTAL_URL = r'...url...'
PORTAL_USER = '...user name...'
PORTAL_PASSWORD = '...user password...'

# source experience item id (load from)
ITEM_ID_SOURCE = '...item id...'
# target experience item id (load into)
ITEM_ID_TARGET = '...item id...'
# optional --- writes source experience config to file
WRITE_SOURCE_CONFIG = True


if __name__ == '__main__':

    # connect to portal
    portal = arcgis.GIS(url=PORTAL_URL,
                        username=PORTAL_USER,
                        password=PORTAL_PASSWORD)

    # get source experience item
    item_source = portal.content.get(itemid=ITEM_ID_SOURCE)
    # get target experience item
    item_target = portal.content.get(itemid=ITEM_ID_TARGET)

    # get source config
    config_source = item_source.get_data()
    # write source config?
    if WRITE_SOURCE_CONFIG:
        # construct config file path
        root_dir = Path(Path(__file__).parent).resolve()
        config_path = root_dir / f'config__{ITEM_ID_SOURCE}.json'
        # write source config
        with open(file=config_path, mode='w') as f:
            print(f'Attempting to write item "{ITEM_ID_SOURCE}" config')
            json.dump(obj=config_source, fp=f, indent=4)
            print(f'Successfully created "{config_path}"')
            print('-' * 50)

    # update target item config
    print(f'Attempting to update item "{ITEM_ID_TARGET}" config')
    item_target.update(data=config_source)
    print(f'Successfully updated item "{ITEM_ID_TARGET}" config')
    print('-' * 50)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Feb 2026 21:27:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-ideas/overwrite-experiences-to-maintain-ids/idc-p/1687139#M5078</guid>
      <dc:creator>mpboyle</dc:creator>
      <dc:date>2026-02-26T21:27:09Z</dc:date>
    </item>
  </channel>
</rss>

