Create Reviewer Session (Data Reviewer)

Niveau de licence :BasicStandardAdvanced

Récapitulatif

Creates a new Reviewer session in the specified workspace.

Utilisation

Syntaxe

CreateReviewerSession_Reviewer (reviewer_workspace, session_name, {session_template})
ParamètreExplicationType de données
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
(Facultatif)

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

String

Exemple de code

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 : QC Pass 1")

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

Environnements

Cet outil n'utilise aucun environnement de géotraitement

Thèmes connexes

Informations de licence

ArcGIS for Desktop Basic: Requis Data Reviewer
ArcGIS for Desktop Standard: Requis Data Reviewer
ArcGIS for Desktop Advanced: Requis Data Reviewer
4/26/2014