Feature Class Dependency Checker using Python

04-14-2021 09:01 AM
New Contributor III


I need to identify list of registered map/feature services (and bonus - hosted feature services) that are published using a source from enterprise geodatabase feature class programmatically. Now, as GDB admin, I understand that we can achieve these by identifying the schema locks but we have disabled all the schema locks for all the feature classes due to the flaws (storing feature classes in feature datasets without any requirements of geometric, topology,etc) in existing enterprise geodatabase model.  

Basically, a python script that takes an input the name of the feature class and outputs the list of registered map services (and bonus - hosted feature services) by checking the service configuration using the input feature class. 

I am just wondering if anything like this exists/shared out by ESRI technical staff on this community. 

Thanks for your help! 

0 Kudos
0 Replies