Add required attributes to an indoor dataset

Available with the ArcGIS Indoors Spaces extension.

An Indoors geodatabase, created using the Create Indoors Geodatabase tool, contains all of the feature classes, fields, and tables required for indoor space planning.

If you created an indoor dataset using the Create Indoor Dataset tool, you must add the following items to the dataset before you can use it with the Space Planner app:

  • A coded value domain that describes the types of assignable spaces in the Units feature class
  • Additional attribute fields in the Units feature class
  • The Areas table

Create coded value domains

To create the required coded value domain that describes the types of assignable spaces in the Units feature class, complete the following steps:

Note:

If you are using an Indoors geodatabase that was created using the Create Indoors Database tool, the coded domain described below already exists so you do not need to create it.

  1. Open the ArcGIS Pro project that contains the indoor dataset.
  2. Right-click the Units feature class in the Catalog pane and click Data Design > Domains.

    The Domains view appears.

  3. Click the New Domain button New Domain on the Domains tab.

    A row is created in the Domains view, and the pointer is positioned in the Domain Name column of this row.

  4. Configure the new domain as follows:
    • Name—Type DOM_ASSIGNMENT_TYPE.
    • Description—Leave this blank.
    • Field TypeText
    • Domain TypeCoded Value Domain
    • Split Policy—Use the default value.
    • Merge Policy—Use the default value.
  5. In the grid by the Domains view, type the following codes and descriptions:

    CodeDescription

    hotdesk

    Hot Desk

    hotel

    Hotel

    none

    None

    not assignable

    Not Assignable

    office

    Office

  6. Click the Save button Save to save the new coded domain.
  7. Create another coded domain as follows:
    • NameDOM_AREA_TYPE
    • Description— Leave this blank
    • Field Type— Text
    • Domain Type— Coded Value Domain
    • Split Policy— Default
    • Merge Policy—Default
  8. In the grid by the Domains view, type the following codes and descriptions:

    CodeDescription

    hotdesk

    Hot Desk

    hotel

    Hotel

  9. Create another coded domain as follows:
    • NameDOM_RESTRICTED
    • Description— Leave this blank
    • Field Type— Long
    • Domain Type— Coded Value Domain
    • Split Policy— Default
    • Merge Policy—Default
  10. In the grid by the Domains view, type the following codes and descriptions:

    CodeDescription

    0

    Unrestricted

    1

    Restrict bookings to assigned occupants

Add required attributes to the Units feature class

To use the Units feature class for space assignment in the Space Planner app, add fields for area ID and assignment type, and add global IDs, complete the following steps:

Note:

If you are using an Indoors geodatabase created using the Create Indoors Database tool, the attributes listed below already exist so you do not need to create them.

  1. Open the ArcGIS Pro project that contains the indoor dataset and the coded domain that you created in the previous section.
  2. In the Catalog pane, right-click the Units feature class and click Design > Fields.

    The Fields view appears.

  3. Click the New Field button on the Fields tab or click Click here to add a new field in the last row in the view.

    The pointer is positioned in the Field Name column.

  4. Configure the new attribute as follows:
    • Field Name—Type AREA_ID.
    • Alias—Type Area ID.
    • Data TypeText
    • Allow NULL—Checked
    • DomainNone
    • Default—Leave this blank.
    • Length—Type 255.
  5. Add another field and configure it as follows:
    • Field Name—Type ASSIGNMENT_TYPE.
    • Alias—Type Assignment Type.
    • Data TypeText
    • Allow NULL—Checked
    • Domain—Type DOM_ASSIGNMENT_TYPE.
    • Default—Leave this blank.
    • Length—Type 255.
  6. Click the Save button Save.
  7. In the Catalog pane, right-click the Units feature class and click Manage > Add Global IDs.

    Global IDs are created for features in the Units feature class and a GlobalID field is appended to the attribute table.

  8. The Units feature class contains the necessary attributes for use with the Space Planner app.

Add the Areas table to the indoor dataset

To create workspace areas in the Space Planner app, the indoor dataset must contain the Areas table.

  1. Open the ArcGIS Pro project that contains the indoor dataset.
  2. In the Catalog pane, right-click the geodatabase that contains the indoor dataset and click New > Table.

    The Define view of the Create Table pane appears.

  3. For the Name parameter, type AREAS.
  4. For the Alias parameter, type Areas.
  5. Click Next.

    The Fields view appears.

  6. Create fields for the Areas table with the following field property configurations:

      • Field Name—Type AREA_ID.
      • Alias—Type Area ID.
      • Data TypeText
      • Allow Null—Checked
      • Length—Type 255.
      • Field Name—Type AREA_NAME.
      • Alias—Type Area Name.
      • Data TypeText
      • Allow Null—Checked
      • Length—Type 255.
      • Field Name—Type AREA_TYPE.
      • Alias—Type Area Type.
      • Data TypeText
      • Allow Null—Checked
      • Domain—Type DOM_AREA_TYPE.
      • Length—Type 255.
      • Field NameRESTRICTED
      • AliasRestricted
      • Data Type— Long
      • Allow Null—Checked
      • DomainDOM_RESTRICTED
      • Length255

  7. Optionally, create additional fields in the Areas table with the following field property configurations:

    • If included, the SCHEDULE_EMAIL field is used to facilitate booking spaces in the Indoors web and mobile apps.
      • Field Name—Type SCHEDULE_EMAIL.
      • Alias—Type Schedule Email.
      • Data TypeText
      • Allow Null—Checked
      • Length—Type 255.
    • If included, the CAPACITY field is used to provide details to aid in space planning in the Indoors web and mobile apps.
      • Field Name—Type CAPACITY.
      • Alias—Type Capacity.
      • Data TypeShort
      • Allow Null—Checked

  8. Click Finish to create the Areas table.
  9. In the Catalog pane, right-click the Areas table and click Manage > Add Global IDs.

    A GlobalID field is appended to the Areas table.

You can now prepare a Space Planner map for ArcGIS Online.