I have a hosted feature to which I've added a new field. I also have two views of this feature and when I go to Settings > Update View for each of these, the new field does not show in the list of fields available to add to either View. It should show 17/18 with the new field 'SurveyPartialOrComplete' available to select. If it's relevant, this hosted feature is used in a Survey123 form.
Did you add the new field to the hosted service's Data page, or by republishing the layer?
When you change a layer's schema from AGOL / Portal, the view layers can "see" the added field, though they will default to not being included in the view.
If you change the layer's schema in ArcGIS Pro or S123 Connect and republish the layer from there, you have to manually edit the view layer's JSON to recognize the new field.
Hi @jcarlson
I added the new field to the hosted service's Data page. The layer will not republish without the field being added to all of the views first. The problem seems to be that the view layers aren't "seeing" the added field in the hosted feature layer so I can't even turn them on in Update View.
The confusing thing is that I followed the same process for two new fields last week and did not have this problem.
How else can I update the view layer's JSON other than to Update View in the Settings?
Thank you,
Sara
https://ago-assistant.esri.com/
You can try using AGO Assistant to update the JSON, just be careful!
I would suggest checking the main layer's JSON and copying the section for the new field, then attempt to paste it into the view layer's JSON.
Did you ever figure this out? I am having the same issue. Added a field in the data page of the hosted service and they are not available in the update view page to add them to the view. This same process worked last month. I tried agol-assistant but the I couldn't see in the JSON where to add the new field.