HOW TO
In ArcGIS Online, it is possible to identify the usage of any item by accessing the items details page and clicking on the Usage tab.
It is also possible to determine the usage of items programmatically using ArcGIS API for Python for Portal for ArcGIS.
The following steps describe how to identify the usage of content items in a portal:
from arcgis.gis import GIS
gis = GIS("https://arcgis.com", "user_name") print("connected")
content = gis.content.search(query="", sort_field="title", sort_order="asc", max_items=2) content
for item in content: print (item.homepage) print (item.usage ('24H')) print (item.usage ('7D')) print (item.usage ('14D')) print (item.usage ('30D')) print (item.usage ('60D')) print (item.usage ('6M')) print (item.usage ('1Y'))
The screenshot below displays the usage of items.
Get help from ArcGIS experts
Download the Esri Support App