English

Problem: Hosted feature view does not inherit new field added to hosted feature service

Description

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.

Cause

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:

  1. Log in to ArcGIS Online and navigate to the My Content tab.
  2. Open the Item Details for the hosted feature layer view and open the view in a web map. Alternatively, go to the Visualization tab.
  3. Click the More Options button of the hosted feature layer view > Set View Definition > Define Fields.

    Image of the ellipsis menu
     
  4. 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.

Related Information