Configure equipment filter

Available with the ArcGIS Indoors Maps 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:

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 geodatabase using ArcGIS Pro 2.9 or earlier, you can manually create coded value domains or run the Upgrade Indoors Database tool to create the coded value domains for the equipment filter, as well as perform any other schema updates that align with the latest ArcGIS Indoors Information Model for your installed version 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, you can update the schema for the existing web feature layer by exporting it to a file geodatabase and overwriting 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 by ArcGIS Pro 2.9 or earlier:

  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 opens.

  3. Click New Domain 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:
    1. For Name, type DOM_EQUIPMENT.
    2. Leave the Description text box 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 through 6 to create a domain for DOM_EQUIPMENT_HOTEL and DOM_EQUIPMENT_MEETING.

    Remember to click the Save button Save Edits to save your 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.