Expose definition query for services referencing geodatabases

661
0
07-28-2022 08:55 AM
Status: Open
Labels (2)
AndrewRudin1
Occasional Contributor II

Please create some way to obtain the definition query applied to existing map/feature services that reference an enterprise geodatabase.  From my experience, once the service is published from Pro, there is no way through the REST API to determine if a layer in the service is applying a definition query against it's source geodatabase feature class.  On the admin side of the REST api, you can access the manifest .json file, but it only tells you the feature class names....not if the definition query is applied.

The only way I've been able to find some info on this is to inspect the manifest .json, find the name of the onserver .msd file that was uploaded by Pro, log into the server and browse to that file, then open it and inspect the definition query on the layer.