<?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 Item Usage Operation in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/item-usage-operation/m-p/789589#M1553</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a couple of questions about the Usage operation of the &lt;A href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fesri.github.io%2Farcgis-python-api%2Fapidoc%2Fhtml%2Farcgis.gis.toc.html%23item" rel="nofollow" target="_blank"&gt;Item&lt;/A&gt;&amp;nbsp;object. I'm using version 1.5.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;This operation seems to work for all item types except for nonhosted feature layers that have been registered from ArcGIS Server. Hosted feature layers are fine. The documentation implies that this is supported ("For maps, scenes, nonhosted layers, and web apps, the view count is increased by one when you open the item page or open the item in Map Viewer.") &lt;BR /&gt;In the example below, I registered a publicly available ArcGIS Server Feature Layer (&lt;A href="https://carto.nationalmap.gov/arcgis/rest/services/Contours/MapServer/1" title="https://carto.nationalmap.gov/arcgis/rest/services/Contours/MapServer/1"&gt;Layer: Continental US Labels (ID: 1)&lt;/A&gt; ) and get the following error:&lt;IMG __jive_id="431044" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/431328_pastedImage_4.png" /&gt;&lt;/LI&gt;&lt;LI&gt;Why do the "number of views" in the item details not match up with the item usage? In the example below I created a hosted feature layer, added it to a map and made an edit. This seems reflected in the "3 views" in the item details but the usage for the last 30 days is empty.&lt;BR /&gt;&lt;BR /&gt;&lt;IMG __jive_id="431042" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/431329_pastedImage_1.png" /&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also in general, how can I view the API for older versions? Would be nice if the documentation indicated when a feature was added like some other APIs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Jill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Dec 2018 18:05:45 GMT</pubDate>
    <dc:creator>JillianStanford</dc:creator>
    <dc:date>2018-12-11T18:05:45Z</dc:date>
    <item>
      <title>Item Usage Operation</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/item-usage-operation/m-p/789589#M1553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a couple of questions about the Usage operation of the &lt;A href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fesri.github.io%2Farcgis-python-api%2Fapidoc%2Fhtml%2Farcgis.gis.toc.html%23item" rel="nofollow" target="_blank"&gt;Item&lt;/A&gt;&amp;nbsp;object. I'm using version 1.5.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;This operation seems to work for all item types except for nonhosted feature layers that have been registered from ArcGIS Server. Hosted feature layers are fine. The documentation implies that this is supported ("For maps, scenes, nonhosted layers, and web apps, the view count is increased by one when you open the item page or open the item in Map Viewer.") &lt;BR /&gt;In the example below, I registered a publicly available ArcGIS Server Feature Layer (&lt;A href="https://carto.nationalmap.gov/arcgis/rest/services/Contours/MapServer/1" title="https://carto.nationalmap.gov/arcgis/rest/services/Contours/MapServer/1"&gt;Layer: Continental US Labels (ID: 1)&lt;/A&gt; ) and get the following error:&lt;IMG __jive_id="431044" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/431328_pastedImage_4.png" /&gt;&lt;/LI&gt;&lt;LI&gt;Why do the "number of views" in the item details not match up with the item usage? In the example below I created a hosted feature layer, added it to a map and made an edit. This seems reflected in the "3 views" in the item details but the usage for the last 30 days is empty.&lt;BR /&gt;&lt;BR /&gt;&lt;IMG __jive_id="431042" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/431329_pastedImage_1.png" /&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also in general, how can I view the API for older versions? Would be nice if the documentation indicated when a feature was added like some other APIs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Jill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2018 18:05:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/item-usage-operation/m-p/789589#M1553</guid>
      <dc:creator>JillianStanford</dc:creator>
      <dc:date>2018-12-11T18:05:45Z</dc:date>
    </item>
  </channel>
</rss>

