ArcGIS Pro 2.6.8; Oracle 18c 10.7.1 EGDB:
It would help to have a mechanism that would email me if the values of a domain get modified (new value, existing code/description is modified, or a value is deleted). So that I can update SQL queries and integrations that are based on the domain.
Could that functionality be added to ArcGIS Enterprise?
Hey Bud,
I imagine you could create a python script to run on a schedule to read the domain values and compare them to the known values and then take the necessary action to send a notification and update the list of known domain values.
Good luck,
Bernie.
@berniejconnors True, although I’m hoping for an OOTB trigger-like mechanism. Thanks.
Yes, but there is no better feeling then rolling your own custom solution in python and it works just the way you intended. I am working on a python script right now.
If this is a hosted feature layer, I think you could use a webhook. When the domain values are changed that would be an update to the definition and then you could send out an email from there.
Yes, but there is no better feeling then rolling your own custom solution in python and it works just the way you intended. I am working on a python script right now.
I'm jealous. I'm not proficient with Python.
My problem is I only really need it about once per year. So, I pick it up briefly. But then I forget all the syntax and API quirks by the time I need it again. I get frustrated when I try to write my next script.
I'd be interested in seeing what you come up with!
I was in the same boat as you and only created one or two scripts per year. But ChatGPT makes it really easy to quickly find all the answers to your Python questions. No need to Google or search through documentation.
The script I am working on is for monitoring our ArcGIS Server log files. (ArcGIS Monitor is too expensive). I found a sample script from Esri that can read messages from the logs. Then I started asking questions in ChatGPT to help me make the modifications. Give it a try.
If you have ArcGIS Notebooks in your ArcGIS Enterprise deployment you can write your Python code there and there is a built in scheduler to run your Notebook to check for changes in the domain values.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.