Select to view content in your preferred language

Get notified when a layer is added or removed to an AGOL group

153
1
4 weeks ago
Labels (2)
AlexGilroy
New Contributor

Hello,

 

I help to manage an AGOL group with >300 layers in it which forms part of a data package. At the moment it is quite hard to keep on top of managing the group in terms of keeping track of what data is being added/ removed etc.

 

I am looking to write a python script that will run at a set interval (bi-weekly or weekly) and check if there have been any layers added or removed. I am wondering if anyone one has attempted this before and if in theory it is possible?

Tags (3)
0 Kudos
1 Reply
David_McRitchie
Esri Contributor

Hey Alex,

 

The following documentation on the Developer's site might give you a few ideas.

https://developers.arcgis.com/python/guide/accessing-and-managing-groups/ - Accessing Groups via the ArcGIS API for Python.

 

https://developers.arcgis.com/python/guide/accessing-and-creating-content/#:~:text=this%20version%20... - Accessing content

Hope those help,

David

 

 

 

Esri UK -Technical Support Analyst