Hide Table of Contents
esri/dijit/util
esri/layer/pixelFilters
esri/process
esri/workers
Class: SessionOptions

require(["esri/tasks/datareviewer/SessionOptions"], function(SessionOptions) { /* code goes here */ });

Description

(Added at v3.14)
Represents an ArcGIS Data Reviewer session properties in which validation and manual quality control results are written to the reviewer workspace.

Samples

Search for samples that use this class.

Constructors

NameSummary
new SessionOptions(userName, versionName, duplicateFilter, storeGeometry)Creates a new SessionOptions object.

Properties

NameTypeSummary
duplicateFilterStringIndicates how to handle duplicate results when writing the results to the Reviewer workspace.
storeGeometryBooleanIndicates if validation result geometries are stored in the Reviewer workspace.
userNameStringThe user account to associate with a session.
versionNameStringIndicates an enterprise geodatabase version to associate with the session.
Constructor Details

new SessionOptions(userName, versionName, duplicateFilter, storeGeometry)

Creates a new SessionOptions object.
Parameters:
<String> userName Required The username under which records are written to the reviewer workspace.
<String> versionName Required The enterprise geodatabase version under which records are written to the reviewer workspace.
<String> duplicateFilter Required Handle duplicate results when writing the results to the Reviewer workspace. For example: Session, Database, None.
<Boolean> storeGeometry Required Controls if validation result geometries are stored in the Reviewer workspace.
Property Details

<String> duplicateFilter

Indicates how to handle duplicate results when writing the results to the Reviewer workspace. Allowed values are Session, Database and None.

<Boolean> storeGeometry

Indicates if validation result geometries are stored in the Reviewer workspace.
Known values: true | false

<String> userName

The user account to associate with a session.

<String> versionName

Indicates an enterprise geodatabase version to associate with the session.