Enable Data Reviewer (Data Reviewer)

Available with Data Reviewer license.

Summary

Adds a feature dataset and tables necessary for an existing geodatabase to be considered a Reviewer workspace and store Data Reviewer results. The Reviewer workspace tables are required by ArcGIS Data Reviewer to manage Reviewer sessions.

Usage

  • This tool adds the required dataset and tables for storing Reviewer results if they do not already exist.

  • If the input Reviewer workspace was upgraded to 64-bit object IDs, running this tool will not reverse the upgrade unless the table containing 64-bit object IDs is deleted.

  • The spatial reference of the Reviewer workspace and the data being validated must match for Reviewer geometries to be stored in the Reviewer workspace.

  • If this tool is run on an older version of a Reviewer workspace, the tables will be updated to the current schema.

  • A warning appears if this tool is run on a current version of the Reviewer workspace.

  • This tool can be used in conjunction with the Create Reviewer Session tool to create a new session in the Reviewer workspace.

  • If a configuration keyword is not provided for the Configuration Keyword parameter, the Output CONFIG Keyword environment setting will be used as a configuration keyword. If the environment setting does not exist, DEFAULTS will be used as the configuration keyword.

  • Versioned Reviewer workspaces created prior to ArcGIS Pro 2.1 require a user with administrative privileges to reconcile and post the Reviewer session tables and compress the enterprise geodatabase before upgrading to the latest Reviewer schema.

  • The Coordinate System parameter is ignored when upgrading a Reviewer workspace to the current version.

  • The Register as Versioned parameter is honored when upgrading a nonversioned Reviewer workspace to the current version. This parameter is ignored when upgrading a versioned Reviewer workspace to the current version and the parameter is unchecked.

  • The Configuration Keyword parameter is honored when upgrading a Reviewer workspace to the current version and tables are missing. The Configuration Keyword parameter is ignored when upgrading a Reviewer workspace to the current version and all tables are present.

Parameters

LabelExplanationData Type
Workspace

The geodatabase where the Data Reviewer tables and feature dataset will be created. This can be a desktop or enterprise geodatabase.

Workspace
Coordinate System
(Optional)

The geographic or projected coordinate system of the feature classes in the Reviewer workspace. The default is GCS_WGS_1984 if no value is provided.

Spatial Reference
Register as Versioned
(Optional)

Specifies whether the feature classes and tables added to the workspace will be registered as versioned. This only applies to enterprise databases.

  • Unchecked—The feature classes and tables will not be registered as versioned after they are added to the geodatabase. This is the default.
  • Checked—The feature classes and tables will be registered as versioned after they are added to the geodatabase.
Boolean
Configuration Keyword
(Optional)

The configuration keyword that determines the storage parameters of the database tables. This applies to file and enterprise geodatabases. The DEFAULTS keyword is used by default.

String

Derived Output

LabelExplanationData Type
Output Reviewer Workspace

The Reviewer workspace generated by the tool.

Workspace

arcpy.Reviewer.EnableDataReviewer(workspace, {spatial_reference}, {register_as_versioned}, {config_keyword})
NameExplanationData Type
workspace

The geodatabase where the Data Reviewer tables and feature dataset will be created. This can be a desktop or enterprise geodatabase.

Workspace
spatial_reference
(Optional)

The geographic or projected coordinate system of the feature classes in the Reviewer workspace. The default is GCS_WGS_1984 if no value is provided.

Spatial Reference
register_as_versioned
(Optional)

Specifies whether the feature classes and tables added to the workspace will be registered as versioned. This only applies to enterprise databases.

  • NONVERSIONEDThe feature classes and tables will not be registered as versioned after they are added to the geodatabase. This is the default.
  • VERSIONEDThe feature classes and tables will be registered as versioned after they are added to the geodatabase.
Boolean
config_keyword
(Optional)

The configuration keyword that determines the storage parameters of the database tables. This applies to file and enterprise geodatabases. The DEFAULTS keyword is used by default.

String

Derived Output

NameExplanationData Type
out_reviewer_workspace

The Reviewer workspace generated by the tool.

Workspace

Code sample

EnableDataReviewer example (stand-alone script)

The following stand-alone script demonstrates the EnableDataReviewer function.

# Name: EnableDataReviewer.py
# Description: Adds the Reviewer workspace feature dataset and tables to
#   a new geodatabase and creates a Reviewer session
# Author: Esri
# Date: June 2014

# Import arcpy module
import arcpy

# Set environment
arcpy.env.workspace="c:/data/"

# Create new geodatabase
workspace = arcpy.CreateFileGDB_management("c:/data/","ReviewerWorkspace")

# Execute EnableDataReviewer
arcpy.EnableDataReviewer_Reviewer(workspace,"#","#","DEFAULTS")

# Create a new Reviewer session
arcpy.CreateReviewerSession_Reviewer(workspace,"Session 1","#")

Licensing information

  • Basic: Requires Data Reviewer
  • Standard: Requires Data Reviewer
  • Advanced: Requires Data Reviewer

Related topics