Update schema

Available with the ArcGIS Indoors Maps extension.

You may need to update the schema or add coded value domains to the Indoors data to enable functionality such as the equipment filter or workspace reservations. If you already have a web map that contains the authoritative indoor data in a web feature layer on ArcGIS Online (for example, if you have updated occupant and unit assignments in Space Planner), you can make necessary updates by exporting the web feature layer to a file geodatabase, updating the schema and coded value domains in ArcGIS Pro, and overwriting the web feature layer. This allows you to update the Indoors schema while maintaining updates to the data that have been made in Space Planner.

Complete the following to update the schema for the Units feature class and add a coded value domain to enable an equipment filter:

  1. Sign in to your ArcGIS organization in a web browser.
  2. Browse to the item page for the web feature layer that contains the Units layer.
  3. Click Export Data and click Export To FGDB.
  4. Optionally, update the title and folder location.
  5. Click Export.

    The contents of the web layer are exported as a file geodatabase to the location you chose.

  6. Open the original map you shared for use in Indoor Viewer in ArcGIS Pro.
  7. Update the data source for the layers to the feature classes and stand-alone tables in the file geodatabase you exported.

    The map now reflects the data from the updated web feature layer.

  8. Update the schema, add coded value domains, and add layers or stand-alone tables as necessary.

    For example, you may want to do one of the following:

    • Create and configure the coded value domains and equipment filter fields required to enable the equipment filter in Viewer and Indoors mobile.
    • Add the Area Roles table so that you can configure Reservation Managers for office hotels. The Area Roles table must be in the same hosted feature layer as the Areas table and the Units and Occupants layers.
      Note:

      If you created the Reservations layer at ArcGIS Pro 2.9 or earlier, it must contain the RESERVED_BY_USERNAME and RESERVED_BY_FULL_NAME fields to allow reservation managers to book hotels for other people. You can manually create these fields or update the existing indoor geodatabase to include these fields using ArcGIS Pro 3.0 or later.

  9. On the Share tab, click Share Web Layer > Overwrite Web Layer.

    The Overwrite Web Layer dialog box appears.

    Learn more about overwriting web layers

  10. Choose the web feature layer you exported to a file geodatabase and click OK.
  11. Review the Overwrite Web Layer message and click OK to continue.

    The Overwrite Web Layer pane appears. On the General tab, under Item Details, the name of the web layer is displayed. The name can't be changed.

  12. Update the layer information as necessary.
  13. Click Analyze and address any errors.
  14. Click Publish to share the web layer.

The web feature layer now contains the schema updates you made. Web maps and apps that include the web feature layer now reflect the new information, and dependent functionality—such as the equipment filter or the option to configure reservation managers—is now available.