Create Reviewer Session (Data Reviewer)

License Level:BasicStandardAdvanced

Summary

Creates a new Reviewer session in the specified workspace.

Usage

Syntax

CreateReviewerSession_Reviewer (reviewer_workspace, session_name, {session_template})
ParameterExplanationData Type
reviewer_workspace

The workspace in which a new Reviewer session is going to be created.

Workspace
session_name

The name of the session that is going to be created in the Reviewer workspace.

String
session_template
(Optional)

An existing Reviewer session whose properties will be copied to the new session.

String

Code Sample

CreateReviewerSession example (stand-alone Python script)

This stand-alone Python script creates a new session in the Reviewer workspace stored in an ArcSDE geodatabase. The session is called QC Pass 1.

# Name: CreateReviewerSession.py
# Description: Creates a reviewer session in a geodatabase
# Author: Esri
# Date: December 2011

# Import arcpy module
import arcpy

# check out a data reviewer extension license
arcpy.CheckOutExtension("datareviewer")

# path to a workspace
reviewer_gdb = "C:/SampleData/Reviewer.sde"

# Execute the Create Reviewer Session tool
arcpy.CreateReviewerSession_Reviewer(reviewer_gdb, "Session 1 : Session 1")

# check in the data reviewer extension
arcpy.CheckInExtension("datareviewer")

Environments

This tool does not use any geoprocessing environments

Related Topics

Licensing Information

ArcGIS for Desktop Basic: Requires Data Reviewer
ArcGIS for Desktop Standard: Requires Data Reviewer
ArcGIS for Desktop Advanced: Requires Data Reviewer
10/29/2012