<?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: Python API (AGOL) - WebMap View layer does not appear in Collector in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-agol-webmap-view-layer-does-not-appear/m-p/800705#M2045</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd suggest you to get JSONs&amp;nbsp; of the generated webmap and the save-as copy of the same webmap using &lt;A href="https://ago-assistant.esri.com/"&gt;agol assistant&lt;/A&gt; and compare the content of the JSON to see the difference, then you can adjust your code accordingly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Jun 2019 01:21:16 GMT</pubDate>
    <dc:creator>simoxu</dc:creator>
    <dc:date>2019-06-13T01:21:16Z</dc:date>
    <item>
      <title>Python API (AGOL) - WebMap View layer does not appear in Collector</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-agol-webmap-view-layer-does-not-appear/m-p/800702#M2042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello !&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a script automating map generation. It basically creates an empty WebMap instance and adds a Hosted View in it. Although I am able to get the WebMap to show in Collector (by editing the WebMap typeKeywords), the layer itself does not show. It appears in the layer tab, but does not show in the map viewer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am lost, since when I save a duplicate of this map via AGOL it works perfectly! Anybody has an idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2019 19:47:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-agol-webmap-view-layer-does-not-appear/m-p/800702#M2042</guid>
      <dc:creator>MaximeCampeau</dc:creator>
      <dc:date>2019-06-11T19:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Python API (AGOL) - WebMap View layer does not appear in Collector</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-agol-webmap-view-layer-does-not-appear/m-p/800703#M2043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you view the generated web map properly in the Map Viewer in AGOL? and check the permission of this map, when you save a web map, you are the owner of the copy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2019 05:05:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-agol-webmap-view-layer-does-not-appear/m-p/800703#M2043</guid>
      <dc:creator>simoxu</dc:creator>
      <dc:date>2019-06-12T05:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Python API (AGOL) - WebMap View layer does not appear in Collector</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-agol-webmap-view-layer-does-not-appear/m-p/800704#M2044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello simo ! Yes I can view the Web Map properly in the viewer! And the map sharing's properties are as desired, which is group only. So is the View Layer featured in the Web Map.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Earlier yesterday, I could not get the Web Map to appear in Collector. By adding this snippet in the Web Map properties, I was able to get it to show. That being said, the points hosted in the view do not appear on the map (although, in the layer menu, I can see the layer in Collector).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the snippet I added :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;empty_webmap = WebMap()
empty_webmap.add_layer(view_item&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;options&lt;/SPAN&gt;={&lt;SPAN style="color: #6a8759;"&gt;'title'&lt;/SPAN&gt;: view_name})
webmap_item_properties = {&lt;SPAN style="color: #6a8759;"&gt;'title'&lt;/SPAN&gt;: &lt;SPAN style="color: #8888c6;"&gt;str&lt;/SPAN&gt;(municipality) + &lt;SPAN style="color: #6a8759;"&gt;'_Implantation'&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;'snippet'&lt;/SPAN&gt;: &lt;SPAN style="color: #8888c6;"&gt;str&lt;/SPAN&gt;(municipality) + &lt;SPAN style="color: #6a8759;"&gt;'_Implantation'&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;'tags'&lt;/SPAN&gt;: &lt;SPAN style="color: #6a8759;"&gt;'2019'&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;"typeKeywords"&lt;/SPAN&gt;: [&lt;SPAN style="color: #6a8759;"&gt;'ArcGIS Online'&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;'Collector'&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;'Data Editing'&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;'Explorer Web Map'&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;'Map'&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;'Offline'&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;'Online Map'&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;'Web Map'&lt;/SPAN&gt;]}
empty_webmap.save(webmap_item_properties)&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 09:16:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-agol-webmap-view-layer-does-not-appear/m-p/800704#M2044</guid>
      <dc:creator>MaximeCampeau</dc:creator>
      <dc:date>2021-12-12T09:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Python API (AGOL) - WebMap View layer does not appear in Collector</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-agol-webmap-view-layer-does-not-appear/m-p/800705#M2045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd suggest you to get JSONs&amp;nbsp; of the generated webmap and the save-as copy of the same webmap using &lt;A href="https://ago-assistant.esri.com/"&gt;agol assistant&lt;/A&gt; and compare the content of the JSON to see the difference, then you can adjust your code accordingly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jun 2019 01:21:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-agol-webmap-view-layer-does-not-appear/m-p/800705#M2045</guid>
      <dc:creator>simoxu</dc:creator>
      <dc:date>2019-06-13T01:21:16Z</dc:date>
    </item>
  </channel>
</rss>

