<?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: How do I change webmaps used in a web mapping application? in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-do-i-change-webmaps-used-in-a-web-mapping/m-p/822156#M2832</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just like how you get the item data, you can do a update as well. See link below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please mark as correct if this helps you so it may help others as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html?highlight=item#arcgis.gis.Item.update" title="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html?highlight=item#arcgis.gis.Item.update"&gt;arcgis.gis module — arcgis 1.8.1 documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/python/sample-notebooks/using-and-updating-gis-content/" title="https://developers.arcgis.com/python/sample-notebooks/using-and-updating-gis-content/"&gt;Using and updating GIS content | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/497390_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Jun 2020 05:43:18 GMT</pubDate>
    <dc:creator>VictorTey</dc:creator>
    <dc:date>2020-06-22T05:43:18Z</dc:date>
    <item>
      <title>How do I change webmaps used in a web mapping application?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-do-i-change-webmaps-used-in-a-web-mapping/m-p/822155#M2831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;web_mapping_app_item.get_data() will give me a json object, which has a map property:

'map': {'3D': False,   '2D': True,   'position': {'left': 0, 'top': 40, 'right': 0, 'bottom': 0},   'itemId': 'xxxxxxx',   'mapOptions': {}},


I need to update the map's itemId property of the web mapping application, how do I do that? &lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 09:46:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-do-i-change-webmaps-used-in-a-web-mapping/m-p/822155#M2831</guid>
      <dc:creator>SteveLi</dc:creator>
      <dc:date>2021-12-12T09:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change webmaps used in a web mapping application?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-do-i-change-webmaps-used-in-a-web-mapping/m-p/822156#M2832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just like how you get the item data, you can do a update as well. See link below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please mark as correct if this helps you so it may help others as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html?highlight=item#arcgis.gis.Item.update" title="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html?highlight=item#arcgis.gis.Item.update"&gt;arcgis.gis module — arcgis 1.8.1 documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/python/sample-notebooks/using-and-updating-gis-content/" title="https://developers.arcgis.com/python/sample-notebooks/using-and-updating-gis-content/"&gt;Using and updating GIS content | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/497390_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2020 05:43:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-do-i-change-webmaps-used-in-a-web-mapping/m-p/822156#M2832</guid>
      <dc:creator>VictorTey</dc:creator>
      <dc:date>2020-06-22T05:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change webmaps used in a web mapping application?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-do-i-change-webmaps-used-in-a-web-mapping/m-p/822157#M2833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for providing samples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's still not clear to me how to do it.&amp;nbsp; The item I need update is a web mapping application, not webmap.&amp;nbsp; The update on an item can only take following keys.&amp;nbsp; which key should I use?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE style="color: #404040; background-color: #fcfcfc; border: 1px solid #e1e4e5; margin-bottom: 24px;"&gt;&lt;TBODY&gt;&lt;TR class=""&gt;&lt;TD style="background-color: #f3f6f6; border-bottom: 1px solid #e1e4e5; border-left: 0px solid #e1e4e5; font-size: 14.4px; padding: 8px 16px;"&gt;&lt;P style="font-size: 16px;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&lt;STRONG&gt;Key&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background-color: #f3f6f6; border-bottom: 1px solid #e1e4e5; border-left: 1px solid #e1e4e5; font-size: 14.4px; padding: 8px 16px;"&gt;&lt;P style="font-size: 16px;"&gt;&lt;SPAN style="font-weight: bold;"&gt;&lt;STRONG&gt;Value&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class=""&gt;&lt;TD style="background-color: transparent; border-bottom: 1px solid #e1e4e5; border-left: 0px solid #e1e4e5; font-size: 14.4px; padding: 8px 16px;"&gt;&lt;P style="font-size: 16px;"&gt;type&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background-color: transparent; border-bottom: 1px solid #e1e4e5; border-left: 1px solid #e1e4e5; font-size: 14.4px; padding: 8px 16px;"&gt;&lt;P style="font-size: 16px;"&gt;Optional string. Indicates type of item, see URL 1 below for valid values.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class=""&gt;&lt;TD style="background-color: #f3f6f6; border-bottom: 1px solid #e1e4e5; border-left: 0px solid #e1e4e5; font-size: 14.4px; padding: 8px 16px;"&gt;&lt;P style="font-size: 16px;"&gt;typeKeywords&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background-color: #f3f6f6; border-bottom: 1px solid #e1e4e5; border-left: 1px solid #e1e4e5; font-size: 14.4px; padding: 8px 16px;"&gt;&lt;P style="font-size: 16px;"&gt;Optional string. Provide a lists all sub-types, see URL 1 below for valid values.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class=""&gt;&lt;TD style="background-color: transparent; border-bottom: 1px solid #e1e4e5; border-left: 0px solid #e1e4e5; font-size: 14.4px; padding: 8px 16px;"&gt;&lt;P style="font-size: 16px;"&gt;description&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background-color: transparent; border-bottom: 1px solid #e1e4e5; border-left: 1px solid #e1e4e5; font-size: 14.4px; padding: 8px 16px;"&gt;&lt;P style="font-size: 16px;"&gt;Optional string. Description of the item.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class=""&gt;&lt;TD style="background-color: #f3f6f6; border-bottom: 1px solid #e1e4e5; border-left: 0px solid #e1e4e5; font-size: 14.4px; padding: 8px 16px;"&gt;&lt;P style="font-size: 16px;"&gt;title&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background-color: #f3f6f6; border-bottom: 1px solid #e1e4e5; border-left: 1px solid #e1e4e5; font-size: 14.4px; padding: 8px 16px;"&gt;&lt;P style="font-size: 16px;"&gt;Optional string. Name label of the item.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class=""&gt;&lt;TD style="background-color: transparent; border-bottom: 1px solid #e1e4e5; border-left: 0px solid #e1e4e5; font-size: 14.4px; padding: 8px 16px;"&gt;&lt;P style="font-size: 16px;"&gt;url&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background-color: transparent; border-bottom: 1px solid #e1e4e5; border-left: 1px solid #e1e4e5; font-size: 14.4px; padding: 8px 16px;"&gt;&lt;P style="font-size: 16px;"&gt;Optional string. URL to item that are based on URLs.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class=""&gt;&lt;TD style="background-color: #f3f6f6; border-bottom: 1px solid #e1e4e5; border-left: 0px solid #e1e4e5; font-size: 14.4px; padding: 8px 16px;"&gt;&lt;P style="font-size: 16px;"&gt;tags&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background-color: #f3f6f6; border-bottom: 1px solid #e1e4e5; border-left: 1px solid #e1e4e5; font-size: 14.4px; padding: 8px 16px;"&gt;&lt;P style="font-size: 16px;"&gt;Optional string. Tags listed as comma-separated values, or a list of strings. Used for searches on items.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class=""&gt;&lt;TD style="background-color: transparent; border-bottom: 1px solid #e1e4e5; border-left: 0px solid #e1e4e5; font-size: 14.4px; padding: 8px 16px;"&gt;&lt;P style="font-size: 16px;"&gt;text&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background-color: transparent; border-bottom: 1px solid #e1e4e5; border-left: 1px solid #e1e4e5; font-size: 14.4px; padding: 8px 16px;"&gt;&lt;P style="font-size: 16px;"&gt;Optional string. For text based items such as Feature Collections &amp;amp; WebMaps&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class=""&gt;&lt;TD style="background-color: #f3f6f6; border-bottom: 1px solid #e1e4e5; border-left: 0px solid #e1e4e5; font-size: 14.4px; padding: 8px 16px;"&gt;&lt;P style="font-size: 16px;"&gt;snippet&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background-color: #f3f6f6; border-bottom: 1px solid #e1e4e5; border-left: 1px solid #e1e4e5; font-size: 14.4px; padding: 8px 16px;"&gt;&lt;P style="font-size: 16px;"&gt;Optional string. Provide a short summary (limit to max 250 characters) of the what the item is.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class=""&gt;&lt;TD style="background-color: transparent; border-bottom: 1px solid #e1e4e5; border-left: 0px solid #e1e4e5; font-size: 14.4px; padding: 8px 16px;"&gt;&lt;P style="font-size: 16px;"&gt;extent&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background-color: transparent; border-bottom: 1px solid #e1e4e5; border-left: 1px solid #e1e4e5; font-size: 14.4px; padding: 8px 16px;"&gt;&lt;P style="font-size: 16px;"&gt;Optional string. Provide comma-separated values for min x, min y, max x, max y.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class=""&gt;&lt;TD style="background-color: #f3f6f6; border-bottom: 1px solid #e1e4e5; border-left: 0px solid #e1e4e5; font-size: 14.4px; padding: 8px 16px;"&gt;&lt;P style="font-size: 16px;"&gt;spatialReference&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background-color: #f3f6f6; border-bottom: 1px solid #e1e4e5; border-left: 1px solid #e1e4e5; font-size: 14.4px; padding: 8px 16px;"&gt;&lt;P style="font-size: 16px;"&gt;Optional string. Coordinate system that the item is in.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class=""&gt;&lt;TD style="background-color: transparent; border-bottom: 1px solid #e1e4e5; border-left: 0px solid #e1e4e5; font-size: 14.4px; padding: 8px 16px;"&gt;&lt;P style="font-size: 16px;"&gt;accessInformation&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background-color: transparent; border-bottom: 1px solid #e1e4e5; border-left: 1px solid #e1e4e5; font-size: 14.4px; padding: 8px 16px;"&gt;&lt;P style="font-size: 16px;"&gt;Optional string. Information on the source of the content.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class=""&gt;&lt;TD style="background-color: #f3f6f6; border-bottom: 1px solid #e1e4e5; border-left: 0px solid #e1e4e5; font-size: 14.4px; padding: 8px 16px;"&gt;&lt;P style="font-size: 16px;"&gt;licenseInfo&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background-color: #f3f6f6; border-bottom: 1px solid #e1e4e5; border-left: 1px solid #e1e4e5; font-size: 14.4px; padding: 8px 16px;"&gt;&lt;P style="font-size: 16px;"&gt;Optional string. Any license information or restrictions regarding the content.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class=""&gt;&lt;TD style="background-color: transparent; border-bottom: 1px solid #e1e4e5; border-left: 0px solid #e1e4e5; font-size: 14.4px; padding: 8px 16px;"&gt;&lt;P style="font-size: 16px;"&gt;culture&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background-color: transparent; border-bottom: 1px solid #e1e4e5; border-left: 1px solid #e1e4e5; font-size: 14.4px; padding: 8px 16px;"&gt;&lt;P style="font-size: 16px;"&gt;Optional string. Locale, country and language information.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class=""&gt;&lt;TD style="background-color: #f3f6f6; border-bottom: 1px solid #e1e4e5; border-left: 0px solid #e1e4e5; font-size: 14.4px; padding: 8px 16px;"&gt;&lt;P style="font-size: 16px;"&gt;access&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background-color: #f3f6f6; border-bottom: 1px solid #e1e4e5; border-left: 1px solid #e1e4e5; font-size: 14.4px; padding: 8px 16px;"&gt;&lt;P style="font-size: 16px;"&gt;Optional string. Valid values are private, shared, org, or public.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class=""&gt;&lt;TD style="background-color: transparent; border-bottom: 0px solid #e1e4e5; border-left: 0px solid #e1e4e5; font-size: 14.4px; padding: 8px 16px;"&gt;&lt;P style="font-size: 16px;"&gt;commentsEnabled&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background-color: transparent; border-bottom: 0px solid #e1e4e5; border-left: 1px solid #e1e4e5; font-size: 14.4px; padding: 8px 16px;"&gt;&lt;P style="font-size: 16px;"&gt;Optional boolean. Default is true, controls whether comments are allowed (true) or not allowed (false).&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2020 15:28:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-do-i-change-webmaps-used-in-a-web-mapping/m-p/822157#M2833</guid>
      <dc:creator>SteveLi</dc:creator>
      <dc:date>2020-06-23T15:28:05Z</dc:date>
    </item>
  </channel>
</rss>

