Configure equipment filter

Available with the ArcGIS Indoors Maps extension.

ArcGIS Indoors supports filtering available workspaces based on the type of equipment available when booking a workspace. For example, you may want to allow users to filter available meeting rooms that have equipment for video conferencing or office hotels that have dual monitors.

You can configure the equipment options that appear in an equipment filter by creating a field in the Units feature class for each type of equipment, associating type with a coded domain that indicates whether the equipment is applicable to meeting rooms, office hotels, or both, and populating the field to indicate whether that equipment is available in a unit.

Configure the type of equipment available in ArcGIS Pro by adding a field to the Units feature class. You must create a new field for each type of equipment and associate it with one of the following coded value domains:

  • DOM_EQUIPMENT—Equipment applicable to an office hotel or meeting room
  • DOM_EQUIPMENT_HOTEL—Equipment applicable only to an office hotel
  • DOM_EQUIPMENT_MEETING—Equipment applicable only to a meeting room

The equipment filter is applied to the workspace type (such as meeting room or hotel) based on the domain that you associate with a field. Each equipment field that you add appears as an option in the Equipment drop-down menu in Indoor Viewer and Indoors Mobile.

For example, if you create a Monitor field and associate the DOM_EQUIPMENT domain to it, an option to filter available workspaces based on whether they contain a monitor is available when filtering both hotels and meeting rooms in Viewer and the Indoors mobile apps. If you create a Monitor field and associate the DOM_EQUIPMENT_MEETING domain to it, the option to filter available workspaces based on whether they contain a monitor is only available in the meeting room equipment filter.

Note:

These domains are created in the Indoors database by the Create Indoors Database tool in ArcGIS Pro 3.0 and later. If you created an Indoors database in ArcGIS Pro 2.9 or earlier, you must manually create coded value domains and configure the equipment filter.

If you already have a web map that contains authoritative indoor data (for example, if you have updated occupant and unit assignments in Space Planner and are not using an enterprise geodatabase), you can update the schema for your existing web feature layer by exporting it to a file geodatabase, then overwrite the hosted feature layer.

Create coded value domains

Complete the following steps to manually create the necessary domains used to configure the equipment filter if your Indoors database was created in ArcGIS Pro 2.9 or earlier:

  1. Open the ArcGIS Pro project that contains your Indoors workspace.
  2. Right-click the Units feature class in the Contents pane and choose Data Design > Domains.

    The Domains view for Units appears.

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

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

  4. Configure the new domain as follows:
    • For Name, type DOM_EQUIPMENT.
    • Leave the Description field blank.
    • For Field Type, choose Long.
    • For Domain Type, choose Coded Value Domain.
    • For Split Policy, leave the default setting.
    • For Merge Policy, leave the default setting.
  5. In the grid next to the list of domains, provide the following values:

    CodeDescription

    0

    No

    1

    Yes

  6. Click the Save button Save Edits to save your new coded domain.
  7. Repeat the steps to create a domain for DOM_EQUIPMENT_HOTEL and DOM_EQUIPMENT_MEETING.

    Remember to click the Save button Save Edits after you configure each domain.

Add equipment fields

To specify the filter options that appear in the equipment filter, you must add fields to the Units feature class for each equipment type. If you don't add equipment fields, the equipment filter will not appear in the Indoors apps. Each equipment field must be configured with the appropriate coded value domain as follows:

  • DOM_EQUIPMENT—Equipment applicable to an office hotel or meeting room
  • DOM_EQUIPMENT_HOTEL—Equipment applicable only to an office hotel
  • DOM_EQUIPMENT_MEETING—Equipment applicable only to a meeting room

Complete the following steps to add fields to your Units feature class:

  1. Open the ArcGIS Pro project that contains your Indoors workspace.
  2. Right-click the Units feature class in the Catalog pane and choose Data Design > Fields.

    The Fields view for Units appears.

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

    A row is created, and your pointer is positioned in the Field Name column.

  4. Configure the new field as follows:
    • For Field Name, specify a field name.
    • For Alias, specify the label used for the equipment in the app.
    • For Data Type, choose Long.
    • Check the Allow NULL check box.
    • For Domain, specify the appropriate coded value domain.
  5. Click the Save button Save Edits to save your new field.
  6. Open the attribute table for the Units feature class and set the value for the new equipment field as necessary with one of the following values:
    • <Null>—Units with this value are treated the same as units with an equipment field value of No, and the unit will not appear in filtered results that are based on the new field's equipment.
    • 0—The unit does not contain the equipment for which the field was created, and as a result, it will not be listed in filtered results that are based on the new field's equipment.
    • 1—The unit contains the equipment for which the field was created, and as a result, it appears in filtered results that are based on the new field's equipment.
    Note:

    You can use the Calculate Field tool to update multiple records at once based on your data. Check the Enforce Domains check box before running the tool.

  7. Repeat these steps to create fields for additional equipment as necessary.

The Units feature class now contains the necessary attributes for equipment you have configured, and you can share your web map to your ArcGIS organization. Users can now filter workspaces by equipment from the Hotels and Meetings panels in apps that use this web map.

Tip:

In Space Planner, you can update whether a workspace contains the equipment you configured by editing a workspace's attributes from its info card.