ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Enable Data Reviewer

Available with Data Reviewer license.

  • Summary
  • Usage
  • Syntax
  • Code sample
  • Environments
  • Licensing information

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.

  • The spatial reference of the Reviewer workspace and the data being validated must match or Reviewer geometries cannot 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 selected 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 Data Reviewer 10.6 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. The parameter is ignored when upgrading a versioned Reviewer workspace to the current version and the parameter is set to false.

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

Syntax

arcpy.Reviewer.EnableDataReviewer(workspace, {spatial_reference}, {register_as_versioned}, {config_keyword})
ParameterExplanationData 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 specified.

Spatial Reference
register_as_versioned
(Optional)

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

  • NONVERSIONED —The feature classes and tables will not be registered as versioned after they are added to the geodatabase. This is the default.
  • VERSIONED —The 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 tool.

# 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

# Check out Data Reviewer license
arcpy.CheckOutExtension("datareviewer")

# 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","#")

# Check in Data Reviewer license
arcpy.CheckInExtension("datareviewer")

Environments

  • Output CONFIG Keyword
  • Current Workspace

Licensing information

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

Related topics

  • An overview of the Data Reviewer toolbox

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2021 Esri. | Privacy | Legal