Configure equipment filter

Available for an ArcGIS organization licensed with the Indoors extension.

You can use ArcGIS Indoors to filter available workspaces based on the type of equipment available. For example, you can allow users to filter available meeting rooms that have equipment for video conferencing or office hotels that have dual monitors.

You configure the type of equipment available in ArcGIS Pro by adding a field to the Units feature class. You must create a 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

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

Note:

You must create these domains and associate them with equipment fields. You'll create these domains using the Create Indoors Database tool at the next release of ArcGIS Pro.

If you have an existing 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 the existing web feature layer by exporting the web layer to a file geodatabase, updating the schema and coded value domains in ArcGIS Pro, and overwriting the web layer.

Create coded value domains

To create the necessary domains to configure the equipment filter, complete the following steps:

  1. Open the ArcGIS Pro project that contains the 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 the pointer is positioned in the Domain Name column of this row.

  4. Configure the new domain as follows:
    1. For Name, type DOM_EQUIPMENT.
    2. Leave the Description field blank.
    3. For Data Type,choose Long.
    4. For Domain Type, choose Coded Value Domain.
    5. For Split Policy, leave the default setting.
    6. 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 the new coded domain.
  7. Repeat steps 3–6 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 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

To add fields to the Units feature class, complete the following steps:

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

    The Fields view for Units 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.

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

  4. Configure the new field as follows:
    1. For Field Name, specify a field name.
    2. For Alias, specify the label used for the equipment in the app.
    3. For Data Type, choose Long.
    4. Check the Allow NULL check box.
    5. For Domain, specify the appropriate coded value domain.
  5. Click the Save button Save Edits to save the 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 in the same way as units with an equipment field value of No, and the unit does not appear in filtered results that are based on the new field's equipment.
    • No—The unit does not contain the equipment for which the field was created; as a result, the unit is not listed in filtered results that are based on the new field's equipment.
    • Yes—The unit contains the equipment for which the field was created; as a result, the unit 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 the data. When populating the field values using this tool, you must use the coded value (in other words, use 0 for units that do not contain the specified equipment, and use 1 for units that do contain the specified equipment). Check the Enforce Domains check box before running the tool to avoid coded domain errors.

  7. Repeat steps 3–6 to create fields for additional equipment as necessary.

The Units feature class now contains the necessary attributes for the configured equipment, and you can share the 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 by editing a workspace's attributes on its info card.