Problem: Hosted feature view does not inherit new field added to hosted feature service
After adding a new field to a hosted feature service, a view created from the service does not display the new field. The changes made to the schema do not appear to be inherited to the view from the primary hosted feature service. By default, schema changes such as adding or removing fields can only be made to the primary hosted feature layer. Any existing dependent hosted feature layer views should inherit the schema changes from the primary hosted feature layer, even though the view has been created previously.
The visibility of the field has been disabled. This is a known limitation, as the newly added field is not visible in the hosted feature layer view by default. The definition of each view must be updated for the newly added field to be visible in the hosted feature layer views. For more information, refer to Define fields, features, or an area of interest for hosted feature layer views.
Solution or Workaround
The following solution resolves the issue by updating the definition of the hosted feature layer view:
- Log in to ArcGIS Online and navigate to the My Content tab.
- Open the Item Details for the hosted feature layer view and open the view in a web map. Alternatively, go to the Visualization tab.
- Click the More Options button of the hosted feature layer view > Set View Definition > Define Fields.
- Check the boxes for the newly added fields to enable the visibility, and click Apply. The newly added field is now visible in the hosted feature layer view.
Last Published: 7/29/2019
Article ID: 000017596