Feature Views not showing new field to add in 'Update View'

1281
5
Jump to solution
02-14-2022 07:51 AM
SaraMiller
New Contributor III

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.

1 Solution

Accepted Solutions
KiraEvers1
New Contributor II

Just in case any one else still has the same question, ESRI has documentation on the process to update the view of a hosted feature layer: https://support.esri.com/en-us/knowledge-base/problem-hosted-feature-view-does-not-inherit-new-field...

View solution in original post

5 Replies
jcarlson
MVP Esteemed Contributor

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.

- Josh Carlson
Kendall County GIS
0 Kudos
SaraMiller
New Contributor III

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

0 Kudos
jcarlson
MVP Esteemed Contributor

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.

- Josh Carlson
Kendall County GIS
0 Kudos
JosephRathvon
Occasional Contributor

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.

0 Kudos
KiraEvers1
New Contributor II

Just in case any one else still has the same question, ESRI has documentation on the process to update the view of a hosted feature layer: https://support.esri.com/en-us/knowledge-base/problem-hosted-feature-view-does-not-inherit-new-field...