Is it possible to add coded values to layer's domain in ArcGIS Online? I use layer in the application that is constantly updated with new domains (inspector names). Now I have to update it in geodatabase and republish feature server. Is there any way to do in the application, so the user adds inspector name himself? May be someone used geoprocessing service for that?
Thanks!
Have you ever experienced issues where this tool would update the domain in ArcPro, but then not translate over to AGOL? I'm experiencing something strange, where I've run the solution to modify a domain, it appears properly in ArcPro, and then when I go into AGOL, I can see the option to add (via "Edit" in Web Map) one of these new domain type features, but the new domains will not appear from the pick-list if I edit an existing feature in the attribute table. Also, when viewed via Collector, the option to add these new feature types are not appearing.
I've run the solution to modify a different domain in the same layer, and that worked fine. Could it be because I not only modified, but added new domain values? Am I missing some step? I'd assumed this was seamless - run the solution and see the results immediately online.
Frankly I have noticed latency in the tool between Pro and AGOL/Collector.
Huh...interesting to know. How long of a lag have you generally noticed? I'd say it's been about 30-45 minutes, and things are still not acting as I'd hope. I'm about to give up and use ArcMap to just overwrite the service with my changes since I know that is reliable.
Not that long for sure. Is there a good reason you just wouldn't edit the service definition .json? It would be less painful IMHO.
I've edited via JSON before, but it makes me a bit nervous. I just exported my data to a FGDB, and the newly added domain was there in the download...it just refuses to show up in the Web Map/Collector.
Bummer - I'd open a ticket sorry to hear it.
I'm wondering if you publish the downloaded FGDB as a new service and try that in a new web map, if the problem persists. That might be the easiest fix.
That's essentially what I ended up doing, and it worked fine.
All,
FYI, the ability to create and edit domains plus give you a field-centric view of a layer’s fields that allows the data owner to configure field properties is coming in the forthcoming ArcGIS Online update.
(item 3)
Hope this helps,