[GIS] How to push newly added or updated domain values to ArcGIS rest service

arcgis-serverarcmapenterprise-geodatabasefeature-servicerest

I'm currently using ArcGIS Server 10.4 for my REST service and ArcGIS Online. I have created a domain list and assigned it to a field. All of it works fine. I'm currently using Oracle for my geodatabase. When i added the the rest service to a webmap, i can see the domains as a select list.

However, from time to time, additional values must be added to the domain or need to be updated. I tried updating it in ArcMap and it reflects nicely. In editing mode you can see it straightaway in the select list. This is not the same for the REST service. After adding in the value, it is still not available when i try to check it via webmap.

I then proceed to restart the REST service and now it starts to show the new entries. Is this the standard way? in order for it to reflect the new entries, i would constantly need to restart the service?

Is there a way to refresh the connection to the geodatabase maybe without the need of fully restarting a rest service. I can see that if you add/or edit data in ArcMap and save editing, it can straightaway reflect. But this is not the case for domain.

Is there a way around restarting the service?

Best Answer

Once the service is published, there's a schema lock established on the item. The domain is part of this schema. You might be able to kill the lock but the service will not show the changes until you restart.

Related Question