Anybody got any tips or hints on how this can be done?
I've been able export lists of items by user and user folder using the following:
But it would be more useful to see which web maps and web apps throughout my organization are using which feature layers.
I'm still learning this one myself, quite painfully in fact...
here's what I could glean from the documentation (such as it is..)
from arcgis.gis import GIS
from arcgis.mapping import WebMap
gis = GIS(url='https://pythonapi.playground.esri.com/portal',
search_my_contents = gis.content.search(query="owner:[owner name]",
item_type="Web Map", max_items = 1000)
#create web map objects from search results and print the web map title and layer name
for webmap_item in search_my_contents:
webmap_obj = WebMap(webmap_item)
for layer in webmap_obj: