I am wondering if anyone here has guidance on best practices for updating schemas/domains for hosted feature services with views. This is the kind of thing that seems to change constantly as the platform shifts.
Context: I have a feature service that has two 'traditional' views and one joined view. In my case I'd just like to add one additional value to a single field's domain. What's the the 'correct' way to do this these days? I can think of two methods:
- Kill the views and do it manually. As there are several maps/apps that depend on this particular item, I could delete the views, update the schema, and re-create them, then using the python api point the layers in the map to the new views (pretty big PITA considering the scale of the change to be made)
- Make changes through the REST endpoint, either manually through the GUI or the API. Less of a pain, but the risk of corrupting the service (and then creating way more problems than the above) is greater than zero.
Any thoughts would be appreciated.
Edit: the joined view is the issue here. You have options through the GUI with traditional views but not with joined views.