<?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 How to get the created from &amp;quot;id&amp;quot; of a feature service view? in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-get-the-created-from-quot-id-quot-of-a/m-p/1125216#M6895</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to write a script that compares to web maps. One web maps consists of feature service, the other of the views of the feature services of map one.&lt;/P&gt;&lt;P&gt;How can I&amp;nbsp; get the related id to the feature service of a view with using the python api?&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;Karsten&lt;/P&gt;</description>
    <pubDate>Sun, 12 Dec 2021 13:20:43 GMT</pubDate>
    <dc:creator>KarstenRank</dc:creator>
    <dc:date>2021-12-12T13:20:43Z</dc:date>
    <item>
      <title>How to get the created from "id" of a feature service view?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-get-the-created-from-quot-id-quot-of-a/m-p/1125216#M6895</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to write a script that compares to web maps. One web maps consists of feature service, the other of the views of the feature services of map one.&lt;/P&gt;&lt;P&gt;How can I&amp;nbsp; get the related id to the feature service of a view with using the python api?&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;Karsten&lt;/P&gt;</description>
      <pubDate>Sun, 12 Dec 2021 13:20:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-get-the-created-from-quot-id-quot-of-a/m-p/1125216#M6895</guid>
      <dc:creator>KarstenRank</dc:creator>
      <dc:date>2021-12-12T13:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the created from "id" of a feature service view?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-get-the-created-from-quot-id-quot-of-a/m-p/1125224#M6896</link>
      <description>&lt;P&gt;Using &lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.mapping.toc.html#arcgis.mapping.WebMap.layers" target="_self"&gt;the &lt;STRONG&gt;layers&lt;/STRONG&gt; property&lt;/A&gt; can get you a list of layers in a given map. Simply iterate over that list to view the layers, or get the specific layer you're looking for by searching each layer's keys/values for the title or URL. Once you have your layer, &lt;STRONG&gt;itemID&lt;/STRONG&gt; is simply another property.&lt;/P&gt;&lt;PRE&gt;{&lt;BR /&gt;  "id":"2018_Contours_Display_8051",&lt;BR /&gt;  "layerType":"ArcGISMapServiceLayer",&lt;BR /&gt;  "url":"some URL",&lt;BR /&gt;  "visibility":false,&lt;BR /&gt;  "opacity":1,&lt;BR /&gt;  "title":"2018 Contours",&lt;BR /&gt;  "itemId":"53de4e2da18d472583c853ba89baa554",&lt;BR /&gt;  "maxScale":0,&lt;BR /&gt;  "minScale":20000,&lt;BR /&gt;  "showLegend":true&lt;BR /&gt;}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Dec 2021 14:42:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-get-the-created-from-quot-id-quot-of-a/m-p/1125224#M6896</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-12-12T14:42:44Z</dc:date>
    </item>
  </channel>
</rss>

