I am planning to delete some hosted feature layers, but I'm wondering what resources are using them, such as webmaps, dashboards, StoryMaps, ExB, and Web App Builder apps. My resources are all shared to my AGOL Org (not public), so anyone in my org can discover and consume them without me knowing it. I marked my hosted feature layers as deprecated, but that doesn't show up for end users when the data layers are in a webmap, dashboards, etc., so it's a bit of a tree falling in the forest.
The basic question is - how do we do an orderly clean-up of resources on AGOL so we have some confidence that we account for inter-dependencies between items? I'm thinking of some admin scripts, but maybe there's something in Pro or the web interface to find these?
Lastly, I should note that I am not an admin in my org, so I cannot see items that aren't shared to the org or a group I'm in. I can, however, ask that an admin compile this info for me.
Solved! Go to Solution.
I have had success using the python/Notebook from here.
Though, for some reason, the version I ended up with had more 'apptypes'.
apptypes = ['Application', 'Dashboard', 'Story Map', 'Web Experience', 'Feature Layer', 'View']
R_
I have had success using the python/Notebook from here.
Though, for some reason, the version I ended up with had more 'apptypes'.
apptypes = ['Application', 'Dashboard', 'Story Map', 'Web Experience', 'Feature Layer', 'View']
R_
This answer works, or at least gives me a good starting point to customize. I should note that 'Application' covers a bunch of different (sub)types. When I did a query for 'Application', I got these unique values:
['Desktop Application Template', 'Hub Site Application',
'Desktop Application', 'Web Mapping Application', 'Mobile Application',
'Application', 'Native Application']
More info: