<?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 Web Maps published with ArcGIS API for Python don't appear in Collector in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/web-maps-published-with-arcgis-api-for-python-don/m-p/857744#M4093</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to write a script that takes an existing Feature Service, adds it to a map, share the map with a group, and then the group is able to edit data in Collector app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as creating the web map my code is:&lt;/P&gt;&lt;P&gt;wm = WebMap()&lt;BR /&gt;wm.add_layer(myFeatureService)&lt;BR /&gt;web_map_properties = {'title':'some title',&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'snippet':'Some Snippet',&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'tags':'My Tags'}&lt;BR /&gt;web_map_item = wm.save(item_properties=web_map_properties)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After sharing the maps and data to the group, if I log in through AGOL I can see the map, layer and make edits.&amp;nbsp; However, when I log into collector, I cannot see the map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I go into the web map on AGOL as the web map owner, save the map (changing nothing else), I can then see the web map in collector.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know why "saving" an additional time do anything to the collector visibility.&amp;nbsp; The web map details look identical before and after saving, so I don't see any property changes.&amp;nbsp; Could there be something to do with extent being set or something?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lastly, how does one set extent from a WebMap() item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been referencing this guide:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/python/sample-notebooks/publishing-web-maps-and-web-scenes/" title="https://developers.arcgis.com/python/sample-notebooks/publishing-web-maps-and-web-scenes/"&gt;Publishing web maps and web scenes | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Feb 2018 19:13:20 GMT</pubDate>
    <dc:creator>ChloeHoke</dc:creator>
    <dc:date>2018-02-28T19:13:20Z</dc:date>
    <item>
      <title>Web Maps published with ArcGIS API for Python don't appear in Collector</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/web-maps-published-with-arcgis-api-for-python-don/m-p/857744#M4093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to write a script that takes an existing Feature Service, adds it to a map, share the map with a group, and then the group is able to edit data in Collector app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as creating the web map my code is:&lt;/P&gt;&lt;P&gt;wm = WebMap()&lt;BR /&gt;wm.add_layer(myFeatureService)&lt;BR /&gt;web_map_properties = {'title':'some title',&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'snippet':'Some Snippet',&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'tags':'My Tags'}&lt;BR /&gt;web_map_item = wm.save(item_properties=web_map_properties)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After sharing the maps and data to the group, if I log in through AGOL I can see the map, layer and make edits.&amp;nbsp; However, when I log into collector, I cannot see the map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I go into the web map on AGOL as the web map owner, save the map (changing nothing else), I can then see the web map in collector.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know why "saving" an additional time do anything to the collector visibility.&amp;nbsp; The web map details look identical before and after saving, so I don't see any property changes.&amp;nbsp; Could there be something to do with extent being set or something?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lastly, how does one set extent from a WebMap() item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been referencing this guide:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/python/sample-notebooks/publishing-web-maps-and-web-scenes/" title="https://developers.arcgis.com/python/sample-notebooks/publishing-web-maps-and-web-scenes/"&gt;Publishing web maps and web scenes | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 19:13:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/web-maps-published-with-arcgis-api-for-python-don/m-p/857744#M4093</guid>
      <dc:creator>ChloeHoke</dc:creator>
      <dc:date>2018-02-28T19:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: Web Maps published with ArcGIS API for Python don't appear in Collector</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/web-maps-published-with-arcgis-api-for-python-don/m-p/857745#M4094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You would be better off simply publishing a service and then going to your content and creating a Web Map with your services in it and then share it. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 19:52:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/web-maps-published-with-arcgis-api-for-python-don/m-p/857745#M4094</guid>
      <dc:creator>RobertBorchert</dc:creator>
      <dc:date>2018-02-28T19:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Web Maps published with ArcGIS API for Python don't appear in Collector</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/web-maps-published-with-arcgis-api-for-python-don/m-p/857746#M4095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe Collector requires the "Collector" typeKeyword to be set on the Webmap Item. To use the map offline, the "Offline" typeKeyword might also be required. Presumably, the webmap viewer has some logic that determines which typeKeywords are set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I see using your script:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;SPAN class="" style="color: #881391;"&gt;typeKeywords&lt;/SPAN&gt;&lt;SPAN class="" style="color: #212121; padding-right: 5px;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="" style="color: #212121;"&gt;["ArcGIS Online", "Explorer Web Map", "Map", "Online Map", "Web Map"]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This is what is present after saving the webmap with a layer than is editable and sync enabled.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;SPAN class="" style="color: #881391;"&gt;typeKeywords&lt;/SPAN&gt;&lt;SPAN class="" style="padding-right: 5px;"&gt;:&lt;/SPAN&gt;&lt;SPAN class=""&gt;["ArcGIS Online", "Collector", "Data Editing", "Explorer Web Map", "Map", "Offline", "Online Map",…]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 19:53:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/web-maps-published-with-arcgis-api-for-python-don/m-p/857746#M4095</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-02-28T19:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Web Maps published with ArcGIS API for Python don't appear in Collector</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/web-maps-published-with-arcgis-api-for-python-don/m-p/857747#M4096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome!&amp;nbsp; I wasn't going to ever find that on my own.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Like you suggested, I simply added the typKeywords property to the saved web map&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;wm = WebMap()&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;wm.add_layer(myFeatureService)&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;web_map_properties = {'title':'some title',&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'snippet':'Some Snippet',&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'tags':'My Tags',&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'typeKeywords': ['Collector', 'Offline']}&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;web_map_item = wm.save(item_properties=web_map_properties)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 20:09:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/web-maps-published-with-arcgis-api-for-python-don/m-p/857747#M4096</guid>
      <dc:creator>ChloeHoke</dc:creator>
      <dc:date>2018-02-28T20:09:42Z</dc:date>
    </item>
  </channel>
</rss>

