Update schema

Available for an ArcGIS organization licensed with the Indoors extension.

You may need to update the schema or add coded value domains to your Indoors data to enable functionality such as the equipment filter or workspace reservations. If you have a mobile map that contains your 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 your 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:

      To allow reservation managers to book hotels for other people, the Reservations layer must contain the following fields:

      Field nameAliasTypeDescription

      RESERVED_BY_USERNAME

      Reserved By Username

      Text

      The ArcGIS organization username of the person who created a reservation on someone else's behalf.

      RESERVED_BY_FULL_NAME

      Reserved By Full Name

      Text

      The full name of the person who created a reservation on someone else's behalf.

  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. Read 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 your web layer.

The web feature layer now contains the schema updates you made. Mobile 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.