Available for an ArcGIS organization licensed with the Indoors extension.
After creating validation attribute rules in an Indoors workspace, you can use the Error Inspector pane to run validation checks on the data. When the rules are evaluated, error features are created in the error datasets and you can visualize them on the map using the floor filter. You can manage data errors in the Error Inspector pane, including viewing information about the error, selecting the features marked errors, and marking error features as exceptions. Once you finish addressing errors in the data, you can rerun the validation rules.
Learn more about managing attribute rule errors
Attribute rules can be run on data in a file geodatabase or in a branch versioned feature service. Each method has a slightly different workflow.
Run validation rules in a file geodatabase
Complete the following steps to run validation rules in a file geodatabase:
- Add floor plan layers to a map in ArcGIS Pro.
- In the Contents pane, right-click a floor plan layer and click Add Error Layers .
The associated error layers are added as a single group layer, which is used to review errors in the Error Inspector pane.
- Configure the map as floor aware.
- Configure the Units and Details layers as floor aware.
- On the Edit tab, in the Manage Edits group, click Error Inspector .
The Error Inspector pane appears.
- Click the drop-down arrow on the Evaluate Rules button to expand the options for evaluating rules.
- For Rule Type, ensure that the Validation Rules check box is checked.
- For Extent, choose one of the options:
- Visible extent—Evaluate the visible extent of the map.
- Full extent—If the source is a feature service, evaluate the full extent of the feature service. If the source is a geodatabase, evaluate the full extent of the data with attribute rules in the workspace.
- Click the Evaluate Rules button .
Error features are created and displayed in the Error Inspector pane. You can manage attribute rule errors, including visualizing them using the floor filter and using them to select and fix floor plan data.
Run validation rules on a branch versioned feature service
If the Indoors workspace is an enterprise geodatabase, you must share the floor plan data and error layers as a branch versioned feature service with the Validation capability enabled to use validation attribute rules.
Learn more about sharing a dataset with attribute rules
Share a web layer with validation enabled
Complete the following to share a branch versioned feature service with validation enabled:
- Register the indoor dataset as branch versioned.
When you enable branch versioning on the indoor dataset, all the feature classes in the dataset are registered as branch versioned, as well as the associated error datasets.
- Add the floor plan layers and four error layers to a map in ArcGIS Pro.
You must add the four error layers manually. The Add Error Layers option is only available for branch versioned feature layers and layers from a file geodatabase.
- Configure the Levels, Units, and Details layers as floor aware.
- Right-click the layer in the map and click Properties.
The Layer Properties dialog box appears.
- Click Floors and choose the Level ID field from the Floor Field drop-down menu.
The layers are configured as floor aware. When you share the branch versioned feature service, these layers contain a floor-aware property. This property allows the Error Inspector tool to populate the LEVEL_ID field in the error layers when you run the validation rules. Setting these layers as floor aware before sharing the feature service is required.
- Right-click the layer in the map and click Properties.
- On the Share tab, in the Share As group, click the Web Layer drop-down arrow and click Publish Web Layer .
- In the Name text box on the General tab, provide a name for the web layer.
- Complete the Item Details fields for Summary and Tags.
- Under Data and Layer Type, confirm that Map Image is selected under Reference registered data.
- Click Feature to share the web feature layer as a dependent layer to the map image layer.
For web feature layers to take advantage of attribute rules, they must reference registered data sources. This ensures that the data is not copied during the publishing process and is directly referenced by the service.
- Click the Configuration tab, and check the Validation check box under Capabilities.
Enabling the Validation capability on the feature service is required if you want the feature layer to participate in validation workflows.
- Check the Version Management check box.
This is required for the feature layer to participate in versioning and validation workflows.
Note:
If this option is not available in the Capabilities list, the source data for the layers may not be registered as versioned or may not have branch versioning enabled on the data store connection. You must address this before proceeding.
- Click the Configure Pooling button near the top of the pane and choose the Dedicated Pooling option.
- Click Analyze to check for any errors or issues.
You must resolve all errors. If any issues are discovered, they appear on the Messages tab. Right-click each message to get more information, read the help for the error or warning, and access suggested fixes.
- Once validated, click Publish to share the web layer.
Run validation rules
Once you have shared a branch versioned feature layer with validation enabled, you can add the floor plan layers to the map and run quality control checks on the data. For best performance, run validation rules with the Execute asynchronously option checked.
Complete the following to run validation rules using the Error Inspector pane:
- Add the floor plan layers from the branch versioned feature layer to a map in ArcGIS Pro.
- Configure the map as floor aware.
- Configure the Units and Details layers as floor aware.
- Optionally, create a new version of the feature service and change versions to run the validation rules on a branch version of the data.
- In the Contents pane, right-click a floor plan layer and click Add Error Layers .
The associated error layers are added as a single group layer, which is used to review errors in the Error Inspector.
- On the Edit tab, in the Manage Edits group, click Error Inspector .
- Click the drop-down arrow on the Evaluate Rules button to expand the options for evaluating rules.
- For Rule Type, ensure that the Validation Rules check box is checked.
- For Extent, choose one of the options:
- Visible extent—Evaluate the visible extent of the map.
- Full extent—If the source is a feature service, evaluate the full extent of the feature service. If the source is a geodatabase, evaluate the full extent of the data with attribute rules in the workspace.
- For Options, choose Execute asynchronously.
When this option is turned on, the validation rules are run on the service asynchronously. This uses the system ValidationTools geoprocessing service, which allows for long-running processes. This option is only available when the source is a feature service with the Validation capability.
- Optionally, choose Modified in this version.
When this option is turned on, the validation rules evaluate edits made in the current branch version. This option is only available when the source is a feature service with the Version Management capability and connected to a branch version. This option is not available when evaluating rules using the default version.
- Click the Evaluate Rules button .
Error features are created and displayed in the Error Inspector pane and you can visualize them on the map using the floor filter if you configured the map as floor aware. You can manage attribute rule errors, including visualizing them using the floor filter and using them to select and fix floor plan data.