<?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 Creating a web map (encoding) in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/creating-a-web-map-encoding/m-p/1115232#M6801</link>
    <description>&lt;P&gt;Hi.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've created script for adding a webmap to my ArcGIS Enterprise (Portal). I've exported a webmap as a json-file (operationalLayers and tables), and I'm using this file for creating the webmap in Python. First I define the properties of the webmap (title, type, tags), then read the json-file and then change the urls and itemids found in the file.&amp;nbsp;The creation of the web map is done by this python method:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;webmapItem = gis&lt;/SPAN&gt;&lt;SPAN&gt;.content.&lt;/SPAN&gt;&lt;SPAN&gt;add(&lt;/SPAN&gt;&lt;SPAN&gt;item_properties&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;webmap_item_properties&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This method works fine, but some of the layers contains scandinavian characters (æ, ø å) and these layers gets these names:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TorbjrnDallkken2_0-1636462416354.png" style="width: 277px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/27064i40525F20A5FE7140/image-dimensions/277x63?v=v2" width="277" height="63" role="button" title="TorbjrnDallkken2_0-1636462416354.png" alt="TorbjrnDallkken2_0-1636462416354.png" /&gt;&lt;/span&gt;&lt;P&gt;The same happens for attribute aliases. I can't find any information about changing encoding in the gis.content.add - method. Does anyone have a solution for this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Torbjørn&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 09 Nov 2021 12:56:46 GMT</pubDate>
    <dc:creator>TorbjørnDalløkken2</dc:creator>
    <dc:date>2021-11-09T12:56:46Z</dc:date>
    <item>
      <title>Creating a web map (encoding)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/creating-a-web-map-encoding/m-p/1115232#M6801</link>
      <description>&lt;P&gt;Hi.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've created script for adding a webmap to my ArcGIS Enterprise (Portal). I've exported a webmap as a json-file (operationalLayers and tables), and I'm using this file for creating the webmap in Python. First I define the properties of the webmap (title, type, tags), then read the json-file and then change the urls and itemids found in the file.&amp;nbsp;The creation of the web map is done by this python method:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;webmapItem = gis&lt;/SPAN&gt;&lt;SPAN&gt;.content.&lt;/SPAN&gt;&lt;SPAN&gt;add(&lt;/SPAN&gt;&lt;SPAN&gt;item_properties&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;webmap_item_properties&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This method works fine, but some of the layers contains scandinavian characters (æ, ø å) and these layers gets these names:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TorbjrnDallkken2_0-1636462416354.png" style="width: 277px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/27064i40525F20A5FE7140/image-dimensions/277x63?v=v2" width="277" height="63" role="button" title="TorbjrnDallkken2_0-1636462416354.png" alt="TorbjrnDallkken2_0-1636462416354.png" /&gt;&lt;/span&gt;&lt;P&gt;The same happens for attribute aliases. I can't find any information about changing encoding in the gis.content.add - method. Does anyone have a solution for this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Torbjørn&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 09 Nov 2021 12:56:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/creating-a-web-map-encoding/m-p/1115232#M6801</guid>
      <dc:creator>TorbjørnDalløkken2</dc:creator>
      <dc:date>2021-11-09T12:56:46Z</dc:date>
    </item>
  </channel>
</rss>

